Generated by TestNG with ReportNG at 22:25 PDT on Sunday 29 May 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.615s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-05-29 22:39:53 |

2022-05-29 22:39:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:53 | ------------------------------------

2022-05-29 22:39:53 | [Mutex] waiting for: [configured:node:node-8cc06529-9542-4c00-af56-944627b94f80:node-27c87109-59c0-4e01-ae83-03a0322d040b]

2022-05-29 22:39:53 | [Mutex] received everything.

2022-05-29 22:39:53 | [Mutex] isItemNotified: configured:node:node-8cc06529-9542-4c00-af56-944627b94f80:node-27c87109-59c0-4e01-ae83-03a0322d040b :: true

2022-05-29 22:39:54 | [Mutex] waiting for: [received:nodes:b5955bf8-147a-4424-b34b-e5ebbe8ca5b0:localhost]

2022-05-29 22:39:54 | [Mutex] received everything.

2022-05-29 22:39:54 | [Mutex] isItemNotified: received:node:b5955bf8-147a-4424-b34b-e5ebbe8ca5b0:localhost:node-8cc06529-9542-4c00-af56-944627b94f80:Node 8cc06529-9542-4c00-af56-944627b94f80 :: true

2022-05-29 22:39:54 | [Mutex] waiting for: [received:nodes:2b9af714-b28c-484b-820e-c7829fa9e9ed:localhost]

2022-05-29 22:39:54 | [Mutex] received everything.

2022-05-29 22:39:54 | [Mutex] isItemNotified: received:node:2b9af714-b28c-484b-820e-c7829fa9e9ed:localhost:node-8cc06529-9542-4c00-af56-944627b94f80:Node 8cc06529-9542-4c00-af56-944627b94f80 :: false

createNodes 1.519s
2022-05-29 22:39:50 |

2022-05-29 22:39:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:50 | ------------------------------------

2022-05-29 22:39:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8cc06529-9542-4c00-af56-944627b94f80</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8cc06529-9542-4c00-af56-944627b94f80</title></pubsub></data>

2022-05-29 22:39:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-29 22:39:52 | [Mutex] waiting for: [received:nodes:96d99036-ea1f-48f8-92a8-29c0ab44867e:localhost]

2022-05-29 22:39:52 | [Mutex] waiting for: [received:nodes:96d99036-ea1f-48f8-92a8-29c0ab44867e:localhost]

2022-05-29 22:39:52 | [Mutex] received everything.

2022-05-29 22:39:52 | [Mutex] isItemNotified: received:node:96d99036-ea1f-48f8-92a8-29c0ab44867e:localhost:node-8cc06529-9542-4c00-af56-944627b94f80:Node 8cc06529-9542-4c00-af56-944627b94f80 :: true

createSubnodes 1.031s
2022-05-29 22:39:52 |

2022-05-29 22:39:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:52 | ------------------------------------

2022-05-29 22:39:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-27c87109-59c0-4e01-ae83-03a0322d040b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 27c87109-59c0-4e01-ae83-03a0322d040b</title></pubsub></data>

2022-05-29 22:39:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-29 22:39:53 | [Mutex] waiting for: [received:nodes:009977c6-43a7-4ef9-8075-f03f4f88e898:localhost]

2022-05-29 22:39:53 | [Mutex] received everything.

2022-05-29 22:39:53 | [Mutex] isItemNotified: received:node:009977c6-43a7-4ef9-8075-f03f4f88e898:localhost:node-27c87109-59c0-4e01-ae83-03a0322d040b:Node 27c87109-59c0-4e01-ae83-03a0322d040b :: true

deleteNodes 1.024s
2022-05-29 22:39:58 |

2022-05-29 22:39:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:58 | ------------------------------------

2022-05-29 22:39:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-27c87109-59c0-4e01-ae83-03a0322d040b</node></data>

2022-05-29 22:39:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-29 22:39:59 | [Mutex] waiting for: [received:nodes:b95a96b9-3840-4aa4-a73f-3d821d5d19a3:localhost]

2022-05-29 22:39:59 | [Mutex] waiting for: [received:nodes:b95a96b9-3840-4aa4-a73f-3d821d5d19a3:localhost]

2022-05-29 22:39:59 | [Mutex] received everything.

2022-05-29 22:39:59 | [Mutex] isItemNotified: received:node:b95a96b9-3840-4aa4-a73f-3d821d5d19a3:localhost:node-27c87109-59c0-4e01-ae83-03a0322d040b:Node 27c87109-59c0-4e01-ae83-03a0322d040b :: false

deleteSubnodes 1.134s
2022-05-29 22:39:57 |

2022-05-29 22:39:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:57 | ------------------------------------

2022-05-29 22:39:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8cc06529-9542-4c00-af56-944627b94f80</node></data>

2022-05-29 22:39:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-29 22:39:58 | [Mutex] waiting for: [received:nodes:208647d5-d2e9-44ba-811b-c3e609ab0648:localhost]

2022-05-29 22:39:58 | [Mutex] waiting for: [received:nodes:208647d5-d2e9-44ba-811b-c3e609ab0648:localhost]

2022-05-29 22:39:58 | [Mutex] waiting for: [received:nodes:208647d5-d2e9-44ba-811b-c3e609ab0648:localhost]

2022-05-29 22:39:58 | [Mutex] received everything.

2022-05-29 22:39:58 | [Mutex] isItemNotified: received:node:208647d5-d2e9-44ba-811b-c3e609ab0648:localhost:node-8cc06529-9542-4c00-af56-944627b94f80:Node 8cc06529-9542-4c00-af56-944627b94f80 :: false

2022-05-29 22:39:58 | [Mutex] waiting for: [received:nodes:0a3050d5-9c23-4a36-b2ab-a5c53a960b25:localhost]

2022-05-29 22:39:58 | [Mutex] received everything.

2022-05-29 22:39:58 | [Mutex] isItemNotified: received:node:0a3050d5-9c23-4a36-b2ab-a5c53a960b25:localhost:node-8cc06529-9542-4c00-af56-944627b94f80:Node 8cc06529-9542-4c00-af56-944627b94f80 :: false

publishItemsToNodes 0.229s
2022-05-29 22:39:55 |

2022-05-29 22:39:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:55 | ------------------------------------

2022-05-29 22:39:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8cc06529-9542-4c00-af56-944627b94f80</node><item-id>item-4efe2a2b-41f8-4468-bd4e-73a22184667b</item-id><entry><test>item-4efe2a2b-41f8-4468-bd4e-73a22184667b</test></entry></data>

2022-05-29 22:39:55 | 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-4efe2a2b-41f8-4468-bd4e-73a22184667b</value></item-id></result>

2022-05-29 22:39:55 | [Mutex] received everything.

2022-05-29 22:39:55 | [Mutex] isItemNotified: published:item:notifieditem-4efe2a2b-41f8-4468-bd4e-73a22184667b:admin@test-domain.com :: true

retractItemsFromNodes 0.272s
2022-05-29 22:39:56 |

2022-05-29 22:39:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:56 | ------------------------------------

2022-05-29 22:39:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8cc06529-9542-4c00-af56-944627b94f80</node><item-id>item-4efe2a2b-41f8-4468-bd4e-73a22184667b</item-id></data>

2022-05-29 22:39:56 | 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-4efe2a2b-41f8-4468-bd4e-73a22184667b</value></item-id></result>

2022-05-29 22:39:56 | [Mutex] waiting for: [retracted:item:notifieditem-4efe2a2b-41f8-4468-bd4e-73a22184667b:admin@test-domain.com]

2022-05-29 22:39:56 | [Mutex] received everything.

2022-05-29 22:39:56 | [Mutex] isItemNotified: retracted:item:notifieditem-4efe2a2b-41f8-4468-bd4e-73a22184667b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.232s
2022-05-29 22:39:55 |

2022-05-29 22:39:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:55 | ------------------------------------

2022-05-29 22:39:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8cc06529-9542-4c00-af56-944627b94f80</node><item-id>item-4efe2a2b-41f8-4468-bd4e-73a22184667b</item-id></data>

2022-05-29 22:39:56 | 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-8cc06529-9542-4c00-af56-944627b94f80</value></node><item-id label="Item ID" type="text-single"><value>item-4efe2a2b-41f8-4468-bd4e-73a22184667b</value></item-id><item label="Item" type="text-multi"><value><item id="item-4efe2a2b-41f8-4468-bd4e-73a22184667b"><test>item-4efe2a2b-41f8-4468-bd4e-73a22184667b</test></item></value></item></result>

2022-05-29 22:39:56 | [Mutex] notify: [retrieved:item:item-4efe2a2b-41f8-4468-bd4e-73a22184667b:payload-matches:true:localhost]

2022-05-29 22:39:56 | [Mutex] received everything.

2022-05-29 22:39:56 | [Mutex] isItemNotified: retrieved:item:item-4efe2a2b-41f8-4468-bd4e-73a22184667b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-05-29 22:39:56 |

2022-05-29 22:39:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:56 | ------------------------------------

2022-05-29 22:39:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-29 22:39:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-8cc06529-9542-4c00-af56-944627b94f80</value><value>test</value><value>node-27c87109-59c0-4e01-ae83-03a0322d040b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-05-29 22:39:56 |

2022-05-29 22:39:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:56 | ------------------------------------

2022-05-29 22:39:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8cc06529-9542-4c00-af56-944627b94f80)</node-pattern></data>

2022-05-29 22:39:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.109s
2022-05-29 22:39:54 |

2022-05-29 22:39:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:54 | ------------------------------------

2022-05-29 22:39:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8cc06529-9542-4c00-af56-944627b94f80</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-29 22:39:54 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.238s
2022-05-29 22:39:56 |

2022-05-29 22:39:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 22:39:56 | ------------------------------------

2022-05-29 22:39:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8cc06529-9542-4c00-af56-944627b94f80</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-29 22:39:56 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>