Generated by TestNG with ReportNG at 22:29 PDT on Saturday 18 March 2023
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.391s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2023-03-18 22:43:50 |

2023-03-18 22:43:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:50 | ------------------------------------

2023-03-18 22:43:50 | [Mutex] waiting for: [configured:node:node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c:node-6d8e918b-8b61-4ba5-91cd-4879a588440d]

2023-03-18 22:43:50 | [Mutex] received everything.

2023-03-18 22:43:50 | [Mutex] isItemNotified: configured:node:node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c:node-6d8e918b-8b61-4ba5-91cd-4879a588440d :: true

2023-03-18 22:43:51 | [Mutex] waiting for: [received:nodes:c6f0c26c-4d65-44be-821b-9afbe94c11b7:localhost]

2023-03-18 22:43:51 | [Mutex] received everything.

2023-03-18 22:43:51 | [Mutex] isItemNotified: received:node:c6f0c26c-4d65-44be-821b-9afbe94c11b7:localhost:node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c:Node fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c :: true

2023-03-18 22:43:51 | [Mutex] waiting for: [received:nodes:98b34a78-2b12-4866-aa99-e657a0ec62f9:localhost]

2023-03-18 22:43:51 | [Mutex] waiting for: [received:nodes:98b34a78-2b12-4866-aa99-e657a0ec62f9:localhost]

2023-03-18 22:43:51 | [Mutex] waiting for: [received:nodes:98b34a78-2b12-4866-aa99-e657a0ec62f9:localhost]

2023-03-18 22:43:51 | [Mutex] waiting for: [received:nodes:98b34a78-2b12-4866-aa99-e657a0ec62f9:localhost]

2023-03-18 22:43:51 | [Mutex] received everything.

2023-03-18 22:43:51 | [Mutex] isItemNotified: received:node:98b34a78-2b12-4866-aa99-e657a0ec62f9:localhost:node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c:Node fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c :: false

createNodes 1.375s
2023-03-18 22:43:48 |

2023-03-18 22:43:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:48 | ------------------------------------

2023-03-18 22:43:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c</title></pubsub></data>

2023-03-18 22:43:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:43:49 | [Mutex] waiting for: [received:nodes:56616ac5-14fc-49e3-8941-13993d59a30a:localhost]

2023-03-18 22:43:49 | [Mutex] waiting for: [received:nodes:56616ac5-14fc-49e3-8941-13993d59a30a:localhost]

2023-03-18 22:43:49 | [Mutex] waiting for: [received:nodes:56616ac5-14fc-49e3-8941-13993d59a30a:localhost]

2023-03-18 22:43:49 | [Mutex] received everything.

2023-03-18 22:43:49 | [Mutex] isItemNotified: received:node:56616ac5-14fc-49e3-8941-13993d59a30a:localhost:node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c:Node fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c :: true

createSubnodes 1.037s
2023-03-18 22:43:49 |

2023-03-18 22:43:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:49 | ------------------------------------

2023-03-18 22:43:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6d8e918b-8b61-4ba5-91cd-4879a588440d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6d8e918b-8b61-4ba5-91cd-4879a588440d</title></pubsub></data>

2023-03-18 22:43:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:43:50 | [Mutex] waiting for: [received:nodes:d9997f81-7423-4089-b96c-20dcad6b7cfa:localhost]

2023-03-18 22:43:50 | [Mutex] waiting for: [received:nodes:d9997f81-7423-4089-b96c-20dcad6b7cfa:localhost]

2023-03-18 22:43:50 | [Mutex] waiting for: [received:nodes:d9997f81-7423-4089-b96c-20dcad6b7cfa:localhost]

2023-03-18 22:43:50 | [Mutex] waiting for: [received:nodes:d9997f81-7423-4089-b96c-20dcad6b7cfa:localhost]

2023-03-18 22:43:50 | [Mutex] waiting for: [received:nodes:d9997f81-7423-4089-b96c-20dcad6b7cfa:localhost]

2023-03-18 22:43:50 | [Mutex] received everything.

2023-03-18 22:43:50 | [Mutex] isItemNotified: received:node:d9997f81-7423-4089-b96c-20dcad6b7cfa:localhost:node-6d8e918b-8b61-4ba5-91cd-4879a588440d:Node 6d8e918b-8b61-4ba5-91cd-4879a588440d :: true

deleteNodes 1.020s
2023-03-18 22:43:56 |

2023-03-18 22:43:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:56 | ------------------------------------

2023-03-18 22:43:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6d8e918b-8b61-4ba5-91cd-4879a588440d</node></data>

2023-03-18 22:43:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:43:57 | [Mutex] waiting for: [received:nodes:675187fb-9da6-4b0a-b7c1-935982d0e971:localhost]

2023-03-18 22:43:57 | [Mutex] waiting for: [received:nodes:675187fb-9da6-4b0a-b7c1-935982d0e971:localhost]

2023-03-18 22:43:57 | [Mutex] received everything.

2023-03-18 22:43:57 | [Mutex] isItemNotified: received:node:675187fb-9da6-4b0a-b7c1-935982d0e971:localhost:node-6d8e918b-8b61-4ba5-91cd-4879a588440d:Node 6d8e918b-8b61-4ba5-91cd-4879a588440d :: false

deleteSubnodes 1.121s
2023-03-18 22:43:55 |

2023-03-18 22:43:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:55 | ------------------------------------

2023-03-18 22:43:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c</node></data>

2023-03-18 22:43:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-18 22:43:56 | [Mutex] waiting for: [received:nodes:e2949287-97d8-46c7-bdf3-8b4ddb407421:localhost]

2023-03-18 22:43:56 | [Mutex] received everything.

2023-03-18 22:43:56 | [Mutex] isItemNotified: received:node:e2949287-97d8-46c7-bdf3-8b4ddb407421:localhost:node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c:Node fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c :: false

2023-03-18 22:43:56 | [Mutex] waiting for: [received:nodes:38f758a7-5f07-433c-a492-2e13d8c5ff14:localhost]

2023-03-18 22:43:56 | [Mutex] received everything.

2023-03-18 22:43:56 | [Mutex] isItemNotified: received:node:38f758a7-5f07-433c-a492-2e13d8c5ff14:localhost:node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c:Node fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c :: false

publishItemsToNodes 0.209s
2023-03-18 22:43:52 |

2023-03-18 22:43:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:52 | ------------------------------------

2023-03-18 22:43:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c</node><item-id>item-aad258f0-cbb2-4c2d-9e29-75d3f951149b</item-id><entry><test>item-aad258f0-cbb2-4c2d-9e29-75d3f951149b</test></entry></data>

2023-03-18 22:43:53 | 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-aad258f0-cbb2-4c2d-9e29-75d3f951149b</value></item-id></result>

2023-03-18 22:43:53 | [Mutex] received everything.

2023-03-18 22:43:53 | [Mutex] isItemNotified: published:item:notifieditem-aad258f0-cbb2-4c2d-9e29-75d3f951149b:admin@test-domain.com :: true

retractItemsFromNodes 0.255s
2023-03-18 22:43:53 |

2023-03-18 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:53 | ------------------------------------

2023-03-18 22:43:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c</node><item-id>item-aad258f0-cbb2-4c2d-9e29-75d3f951149b</item-id></data>

2023-03-18 22:43:53 | 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-aad258f0-cbb2-4c2d-9e29-75d3f951149b</value></item-id></result>

2023-03-18 22:43:53 | [Mutex] received everything.

2023-03-18 22:43:53 | [Mutex] isItemNotified: retracted:item:notifieditem-aad258f0-cbb2-4c2d-9e29-75d3f951149b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.315s
2023-03-18 22:43:53 |

2023-03-18 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:53 | ------------------------------------

2023-03-18 22:43:53 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c</node><item-id>item-aad258f0-cbb2-4c2d-9e29-75d3f951149b</item-id></data>

2023-03-18 22:43:53 | 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-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c</value></node><item-id label="Item ID" type="text-single"><value>item-aad258f0-cbb2-4c2d-9e29-75d3f951149b</value></item-id><item label="Item" type="text-multi"><value><item id="item-aad258f0-cbb2-4c2d-9e29-75d3f951149b"><test>item-aad258f0-cbb2-4c2d-9e29-75d3f951149b</test></item></value></item></result>

2023-03-18 22:43:53 | [Mutex] notify: [retrieved:item:item-aad258f0-cbb2-4c2d-9e29-75d3f951149b:payload-matches:true:localhost]

2023-03-18 22:43:53 | [Mutex] received everything.

2023-03-18 22:43:53 | [Mutex] isItemNotified: retrieved:item:item-aad258f0-cbb2-4c2d-9e29-75d3f951149b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2023-03-18 22:43:53 |

2023-03-18 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:53 | ------------------------------------

2023-03-18 22:43:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-18 22:43:53 | 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-6d8e918b-8b61-4ba5-91cd-4879a588440d</value><value>node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-18 22:43:53 |

2023-03-18 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:53 | ------------------------------------

2023-03-18 22:43:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c)</node-pattern></data>

2023-03-18 22:43:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.110s
2023-03-18 22:43:51 |

2023-03-18 22:43:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:51 | ------------------------------------

2023-03-18 22:43:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-18 22:43:51 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.203s
2023-03-18 22:43:53 |

2023-03-18 22:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-18 22:43:53 | ------------------------------------

2023-03-18 22:43:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fcaa3e5d-29ba-4621-beea-6f57b2d8cb1c</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-18 22:43:54 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>