Generated by TestNG with ReportNG at 22:30 PDT on Thursday 22 June 2023
root@8f5c98824654 / Java 17.0.6 (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.421s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2023-06-22 22:44:55 |

2023-06-22 22:44:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:55 | ------------------------------------

2023-06-22 22:44:55 | [Mutex] waiting for: [configured:node:node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c:node-eb59907c-d788-4275-b470-c0f8a582145e]

2023-06-22 22:44:55 | [Mutex] received everything.

2023-06-22 22:44:55 | [Mutex] isItemNotified: configured:node:node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c:node-eb59907c-d788-4275-b470-c0f8a582145e :: true

2023-06-22 22:44:56 | [Mutex] waiting for: [received:nodes:9e9e0e7f-0ae2-474a-87a9-7669eaa69eea:localhost]

2023-06-22 22:44:56 | [Mutex] received everything.

2023-06-22 22:44:56 | [Mutex] isItemNotified: received:node:9e9e0e7f-0ae2-474a-87a9-7669eaa69eea:localhost:node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c:Node f8f3551f-ef5b-4ac2-acef-a722f7bbb76c :: true

2023-06-22 22:44:56 | [Mutex] waiting for: [received:nodes:2cface3e-f268-46ad-aec7-20103a81041a:localhost]

2023-06-22 22:44:56 | [Mutex] waiting for: [received:nodes:2cface3e-f268-46ad-aec7-20103a81041a:localhost]

2023-06-22 22:44:56 | [Mutex] waiting for: [received:nodes:2cface3e-f268-46ad-aec7-20103a81041a:localhost]

2023-06-22 22:44:56 | [Mutex] waiting for: [received:nodes:2cface3e-f268-46ad-aec7-20103a81041a:localhost]

2023-06-22 22:44:56 | [Mutex] received everything.

2023-06-22 22:44:56 | [Mutex] isItemNotified: received:node:2cface3e-f268-46ad-aec7-20103a81041a:localhost:node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c:Node f8f3551f-ef5b-4ac2-acef-a722f7bbb76c :: false

createNodes 1.396s
2023-06-22 22:44:52 |

2023-06-22 22:44:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:52 | ------------------------------------

2023-06-22 22:44:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f8f3551f-ef5b-4ac2-acef-a722f7bbb76c</title></pubsub></data>

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

2023-06-22 22:44:54 | [Mutex] waiting for: [received:nodes:320af10a-ad09-435c-ad40-88591d0db327:localhost]

2023-06-22 22:44:54 | [Mutex] waiting for: [received:nodes:320af10a-ad09-435c-ad40-88591d0db327:localhost]

2023-06-22 22:44:54 | [Mutex] waiting for: [received:nodes:320af10a-ad09-435c-ad40-88591d0db327:localhost]

2023-06-22 22:44:54 | [Mutex] received everything.

2023-06-22 22:44:54 | [Mutex] isItemNotified: received:node:320af10a-ad09-435c-ad40-88591d0db327:localhost:node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c:Node f8f3551f-ef5b-4ac2-acef-a722f7bbb76c :: true

createSubnodes 1.028s
2023-06-22 22:44:54 |

2023-06-22 22:44:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:54 | ------------------------------------

2023-06-22 22:44:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-eb59907c-d788-4275-b470-c0f8a582145e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node eb59907c-d788-4275-b470-c0f8a582145e</title></pubsub></data>

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

2023-06-22 22:44:55 | [Mutex] waiting for: [received:nodes:a78cbfd0-22be-4676-a735-1196aa7aca50:localhost]

2023-06-22 22:44:55 | [Mutex] waiting for: [received:nodes:a78cbfd0-22be-4676-a735-1196aa7aca50:localhost]

2023-06-22 22:44:55 | [Mutex] waiting for: [received:nodes:a78cbfd0-22be-4676-a735-1196aa7aca50:localhost]

2023-06-22 22:44:55 | [Mutex] received everything.

2023-06-22 22:44:55 | [Mutex] isItemNotified: received:node:a78cbfd0-22be-4676-a735-1196aa7aca50:localhost:node-eb59907c-d788-4275-b470-c0f8a582145e:Node eb59907c-d788-4275-b470-c0f8a582145e :: true

deleteNodes 1.023s
2023-06-22 22:45:00 |

2023-06-22 22:45:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:45:00 | ------------------------------------

2023-06-22 22:45:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-eb59907c-d788-4275-b470-c0f8a582145e</node></data>

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

2023-06-22 22:45:01 | [Mutex] waiting for: [received:nodes:0e9be9fb-b28a-476a-b1a5-c6950304486c:localhost]

2023-06-22 22:45:01 | [Mutex] waiting for: [received:nodes:0e9be9fb-b28a-476a-b1a5-c6950304486c:localhost]

2023-06-22 22:45:01 | [Mutex] received everything.

2023-06-22 22:45:01 | [Mutex] isItemNotified: received:node:0e9be9fb-b28a-476a-b1a5-c6950304486c:localhost:node-eb59907c-d788-4275-b470-c0f8a582145e:Node eb59907c-d788-4275-b470-c0f8a582145e :: false

deleteSubnodes 1.116s
2023-06-22 22:44:59 |

2023-06-22 22:44:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:59 | ------------------------------------

2023-06-22 22:44:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c</node></data>

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

2023-06-22 22:45:00 | [Mutex] waiting for: [received:nodes:d4532d01-0120-4858-9840-460a59fa5472:localhost]

2023-06-22 22:45:00 | [Mutex] received everything.

2023-06-22 22:45:00 | [Mutex] isItemNotified: received:node:d4532d01-0120-4858-9840-460a59fa5472:localhost:node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c:Node f8f3551f-ef5b-4ac2-acef-a722f7bbb76c :: false

2023-06-22 22:45:00 | [Mutex] waiting for: [received:nodes:cd462448-8761-41a1-a6f7-c4b9780373cb:localhost]

2023-06-22 22:45:00 | [Mutex] received everything.

2023-06-22 22:45:00 | [Mutex] isItemNotified: received:node:cd462448-8761-41a1-a6f7-c4b9780373cb:localhost:node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c:Node f8f3551f-ef5b-4ac2-acef-a722f7bbb76c :: false

publishItemsToNodes 0.204s
2023-06-22 22:44:57 |

2023-06-22 22:44:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:57 | ------------------------------------

2023-06-22 22:44:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c</node><item-id>item-af226bb5-83d3-45aa-a3da-dd396859b3be</item-id><entry><test>item-af226bb5-83d3-45aa-a3da-dd396859b3be</test></entry></data>

2023-06-22 22:44:57 | 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-af226bb5-83d3-45aa-a3da-dd396859b3be</value></item-id></result>

2023-06-22 22:44:57 | [Mutex] waiting for: [published:item:notifieditem-af226bb5-83d3-45aa-a3da-dd396859b3be:admin@test-domain.com]

2023-06-22 22:44:57 | [Mutex] received everything.

2023-06-22 22:44:57 | [Mutex] isItemNotified: published:item:notifieditem-af226bb5-83d3-45aa-a3da-dd396859b3be:admin@test-domain.com :: true

retractItemsFromNodes 0.332s
2023-06-22 22:44:58 |

2023-06-22 22:44:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:58 | ------------------------------------

2023-06-22 22:44:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c</node><item-id>item-af226bb5-83d3-45aa-a3da-dd396859b3be</item-id></data>

2023-06-22 22:44:58 | 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-af226bb5-83d3-45aa-a3da-dd396859b3be</value></item-id></result>

2023-06-22 22:44:58 | [Mutex] waiting for: [retracted:item:notifieditem-af226bb5-83d3-45aa-a3da-dd396859b3be:admin@test-domain.com]

2023-06-22 22:44:58 | [Mutex] received everything.

2023-06-22 22:44:58 | [Mutex] isItemNotified: retracted:item:notifieditem-af226bb5-83d3-45aa-a3da-dd396859b3be:admin@test-domain.com :: true

retrieveItemsFromNodes 0.258s
2023-06-22 22:44:57 |

2023-06-22 22:44:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:57 | ------------------------------------

2023-06-22 22:44:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c</node><item-id>item-af226bb5-83d3-45aa-a3da-dd396859b3be</item-id></data>

2023-06-22 22:44:58 | 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-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c</value></node><item-id label="Item ID" type="text-single"><value>item-af226bb5-83d3-45aa-a3da-dd396859b3be</value></item-id><item label="Item" type="text-multi"><value><item id="item-af226bb5-83d3-45aa-a3da-dd396859b3be"><test>item-af226bb5-83d3-45aa-a3da-dd396859b3be</test></item></value></item></result>

2023-06-22 22:44:58 | [Mutex] notify: [retrieved:item:item-af226bb5-83d3-45aa-a3da-dd396859b3be:payload-matches:true:localhost]

2023-06-22 22:44:58 | [Mutex] received everything.

2023-06-22 22:44:58 | [Mutex] isItemNotified: retrieved:item:item-af226bb5-83d3-45aa-a3da-dd396859b3be:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-06-22 22:44:58 |

2023-06-22 22:44:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:58 | ------------------------------------

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

2023-06-22 22:44:58 | 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-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c</value><value>node-eb59907c-d788-4275-b470-c0f8a582145e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-06-22 22:44:58 |

2023-06-22 22:44:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:58 | ------------------------------------

2023-06-22 22:44:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c)</node-pattern></data>

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

subscribeNodes 1.115s
2023-06-22 22:44:56 |

2023-06-22 22:44:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:56 | ------------------------------------

2023-06-22 22:44:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.185s
2023-06-22 22:44:58 |

2023-06-22 22:44:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-06-22 22:44:58 | ------------------------------------

2023-06-22 22:44:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f8f3551f-ef5b-4ac2-acef-a722f7bbb76c</node><jids><value>admin@test-domain.com</value></jids></data>

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