Generated by TestNG with ReportNG at 22:19 PDT on Thursday 23 June 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.699s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2022-06-23 22:33:57 |

2022-06-23 22:33:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:33:57 | ------------------------------------

2022-06-23 22:33:57 | [Mutex] waiting for: [configured:node:node-30a52e3e-aae1-45e5-b11c-e20666aee6a1:node-4678ac0d-7f33-4a71-94cc-6c990c8569e8]

2022-06-23 22:33:57 | [Mutex] received everything.

2022-06-23 22:33:57 | [Mutex] isItemNotified: configured:node:node-30a52e3e-aae1-45e5-b11c-e20666aee6a1:node-4678ac0d-7f33-4a71-94cc-6c990c8569e8 :: true

2022-06-23 22:33:58 | [Mutex] waiting for: [received:nodes:fcc2729e-6072-4658-aaec-4d236ebfccae:localhost]

2022-06-23 22:33:58 | [Mutex] received everything.

2022-06-23 22:33:58 | [Mutex] isItemNotified: received:node:fcc2729e-6072-4658-aaec-4d236ebfccae:localhost:node-30a52e3e-aae1-45e5-b11c-e20666aee6a1:Node 30a52e3e-aae1-45e5-b11c-e20666aee6a1 :: true

2022-06-23 22:33:58 | [Mutex] waiting for: [received:nodes:60044d8d-9a46-4c0c-b8d2-6aea29d3013c:localhost]

2022-06-23 22:33:58 | [Mutex] waiting for: [received:nodes:60044d8d-9a46-4c0c-b8d2-6aea29d3013c:localhost]

2022-06-23 22:33:58 | [Mutex] received everything.

2022-06-23 22:33:58 | [Mutex] isItemNotified: received:node:60044d8d-9a46-4c0c-b8d2-6aea29d3013c:localhost:node-30a52e3e-aae1-45e5-b11c-e20666aee6a1:Node 30a52e3e-aae1-45e5-b11c-e20666aee6a1 :: false

createNodes 1.540s
2022-06-23 22:33:54 |

2022-06-23 22:33:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:33:54 | ------------------------------------

2022-06-23 22:33:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-30a52e3e-aae1-45e5-b11c-e20666aee6a1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 30a52e3e-aae1-45e5-b11c-e20666aee6a1</title></pubsub></data>

2022-06-23 22:33:55 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-23 22:33:56 | [Mutex] waiting for: [received:nodes:ac62da66-1a83-4253-a6cf-f203fa485a0a:localhost]

2022-06-23 22:33:56 | [Mutex] received everything.

2022-06-23 22:33:56 | [Mutex] isItemNotified: received:node:ac62da66-1a83-4253-a6cf-f203fa485a0a:localhost:node-30a52e3e-aae1-45e5-b11c-e20666aee6a1:Node 30a52e3e-aae1-45e5-b11c-e20666aee6a1 :: true

createSubnodes 1.034s
2022-06-23 22:33:56 |

2022-06-23 22:33:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:33:56 | ------------------------------------

2022-06-23 22:33:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4678ac0d-7f33-4a71-94cc-6c990c8569e8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4678ac0d-7f33-4a71-94cc-6c990c8569e8</title></pubsub></data>

2022-06-23 22:33:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-23 22:33:57 | [Mutex] waiting for: [received:nodes:13fb84ca-f94b-4d0c-a0ab-24cbfa52f81e:localhost]

2022-06-23 22:33:57 | [Mutex] waiting for: [received:nodes:13fb84ca-f94b-4d0c-a0ab-24cbfa52f81e:localhost]

2022-06-23 22:33:57 | [Mutex] waiting for: [received:nodes:13fb84ca-f94b-4d0c-a0ab-24cbfa52f81e:localhost]

2022-06-23 22:33:57 | [Mutex] received everything.

2022-06-23 22:33:57 | [Mutex] isItemNotified: received:node:13fb84ca-f94b-4d0c-a0ab-24cbfa52f81e:localhost:node-4678ac0d-7f33-4a71-94cc-6c990c8569e8:Node 4678ac0d-7f33-4a71-94cc-6c990c8569e8 :: true

deleteNodes 1.032s
2022-06-23 22:34:02 |

2022-06-23 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:34:02 | ------------------------------------

2022-06-23 22:34:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4678ac0d-7f33-4a71-94cc-6c990c8569e8</node></data>

2022-06-23 22:34:02 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-23 22:34:03 | [Mutex] waiting for: [received:nodes:431434a2-fa06-4758-aa2c-a5de3c46ea80:localhost]

2022-06-23 22:34:03 | [Mutex] received everything.

2022-06-23 22:34:03 | [Mutex] isItemNotified: received:node:431434a2-fa06-4758-aa2c-a5de3c46ea80:localhost:node-4678ac0d-7f33-4a71-94cc-6c990c8569e8:Node 4678ac0d-7f33-4a71-94cc-6c990c8569e8 :: false

deleteSubnodes 1.141s
2022-06-23 22:34:01 |

2022-06-23 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:34:01 | ------------------------------------

2022-06-23 22:34:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-30a52e3e-aae1-45e5-b11c-e20666aee6a1</node></data>

2022-06-23 22:34:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-23 22:34:02 | [Mutex] waiting for: [received:nodes:8baf417c-f4b4-43fd-b924-026e71f2cdf3:localhost]

2022-06-23 22:34:02 | [Mutex] received everything.

2022-06-23 22:34:02 | [Mutex] isItemNotified: received:node:8baf417c-f4b4-43fd-b924-026e71f2cdf3:localhost:node-30a52e3e-aae1-45e5-b11c-e20666aee6a1:Node 30a52e3e-aae1-45e5-b11c-e20666aee6a1 :: false

2022-06-23 22:34:02 | [Mutex] waiting for: [received:nodes:0666f2c3-3ff2-4975-a25f-185f6a7551b8:localhost]

2022-06-23 22:34:02 | [Mutex] received everything.

2022-06-23 22:34:02 | [Mutex] isItemNotified: received:node:0666f2c3-3ff2-4975-a25f-185f6a7551b8:localhost:node-30a52e3e-aae1-45e5-b11c-e20666aee6a1:Node 30a52e3e-aae1-45e5-b11c-e20666aee6a1 :: false

publishItemsToNodes 0.236s
2022-06-23 22:33:59 |

2022-06-23 22:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:33:59 | ------------------------------------

2022-06-23 22:33:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-30a52e3e-aae1-45e5-b11c-e20666aee6a1</node><item-id>item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c</item-id><entry><test>item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c</test></entry></data>

2022-06-23 22:33:59 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c</value></item-id></result>

2022-06-23 22:33:59 | [Mutex] received everything.

2022-06-23 22:33:59 | [Mutex] isItemNotified: published:item:notifieditem-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c:admin@test-domain.com :: true

retractItemsFromNodes 0.151s
2022-06-23 22:33:59 |

2022-06-23 22:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:33:59 | ------------------------------------

2022-06-23 22:33:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-30a52e3e-aae1-45e5-b11c-e20666aee6a1</node><item-id>item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c</item-id></data>

2022-06-23 22:34:00 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c</value></item-id></result>

2022-06-23 22:34:00 | [Mutex] received everything.

2022-06-23 22:34:00 | [Mutex] isItemNotified: retracted:item:notifieditem-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.248s
2022-06-23 22:33:59 |

2022-06-23 22:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:33:59 | ------------------------------------

2022-06-23 22:33:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-30a52e3e-aae1-45e5-b11c-e20666aee6a1</node><item-id>item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c</item-id></data>

2022-06-23 22:33:59 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-30a52e3e-aae1-45e5-b11c-e20666aee6a1</value></node><item-id label="Item ID" type="text-single"><value>item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c</value></item-id><item label="Item" type="text-multi"><value><item id="item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c"><test>item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c</test></item></value></item></result>

2022-06-23 22:33:59 | [Mutex] notify: [retrieved:item:item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c:payload-matches:true:localhost]

2022-06-23 22:33:59 | [Mutex] received everything.

2022-06-23 22:33:59 | [Mutex] isItemNotified: retrieved:item:item-b7f20c0e-3bfe-4a9e-9cae-dec30c2b608c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-23 22:33:59 |

2022-06-23 22:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:33:59 | ------------------------------------

2022-06-23 22:33:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-23 22:33:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-30a52e3e-aae1-45e5-b11c-e20666aee6a1</value><value>node-4678ac0d-7f33-4a71-94cc-6c990c8569e8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-06-23 22:33:59 |

2022-06-23 22:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:33:59 | ------------------------------------

2022-06-23 22:33:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-30a52e3e-aae1-45e5-b11c-e20666aee6a1)</node-pattern></data>

2022-06-23 22:33:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.141s
2022-06-23 22:33:58 |

2022-06-23 22:33:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:33:58 | ------------------------------------

2022-06-23 22:33:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-30a52e3e-aae1-45e5-b11c-e20666aee6a1</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-23 22:33:58 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.267s
2022-06-23 22:34:00 |

2022-06-23 22:34:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:34:00 | ------------------------------------

2022-06-23 22:34:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-30a52e3e-aae1-45e5-b11c-e20666aee6a1</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-23 22:34:00 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>