Generated by TestNG with ReportNG at 21:15 PST on Thursday 22 December 2022
root@f9c07ffec79b / 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.457s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-12-22 21:30:33 |

2022-12-22 21:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:33 | ------------------------------------

2022-12-22 21:30:33 | [Mutex] waiting for: [configured:node:node-586f44e4-3937-4675-b4d7-f70d93829ea9:node-f3d715f0-f84d-4f34-a5a6-5d44f0cae063]

2022-12-22 21:30:33 | [Mutex] received everything.

2022-12-22 21:30:33 | [Mutex] isItemNotified: configured:node:node-586f44e4-3937-4675-b4d7-f70d93829ea9:node-f3d715f0-f84d-4f34-a5a6-5d44f0cae063 :: true

2022-12-22 21:30:34 | [Mutex] waiting for: [received:nodes:b32fa6b4-4743-4861-b0ce-95f4393d2ed5:localhost]

2022-12-22 21:30:34 | [Mutex] received everything.

2022-12-22 21:30:34 | [Mutex] isItemNotified: received:node:b32fa6b4-4743-4861-b0ce-95f4393d2ed5:localhost:node-586f44e4-3937-4675-b4d7-f70d93829ea9:Node 586f44e4-3937-4675-b4d7-f70d93829ea9 :: true

2022-12-22 21:30:34 | [Mutex] waiting for: [received:nodes:afbc28bb-f532-4fa3-a3f5-0361419867cd:localhost]

2022-12-22 21:30:34 | [Mutex] waiting for: [received:nodes:afbc28bb-f532-4fa3-a3f5-0361419867cd:localhost]

2022-12-22 21:30:34 | [Mutex] waiting for: [received:nodes:afbc28bb-f532-4fa3-a3f5-0361419867cd:localhost]

2022-12-22 21:30:34 | [Mutex] waiting for: [received:nodes:afbc28bb-f532-4fa3-a3f5-0361419867cd:localhost]

2022-12-22 21:30:34 | [Mutex] received everything.

2022-12-22 21:30:34 | [Mutex] isItemNotified: received:node:afbc28bb-f532-4fa3-a3f5-0361419867cd:localhost:node-586f44e4-3937-4675-b4d7-f70d93829ea9:Node 586f44e4-3937-4675-b4d7-f70d93829ea9 :: false

createNodes 1.450s
2022-12-22 21:30:31 |

2022-12-22 21:30:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:31 | ------------------------------------

2022-12-22 21:30:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-586f44e4-3937-4675-b4d7-f70d93829ea9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 586f44e4-3937-4675-b4d7-f70d93829ea9</title></pubsub></data>

2022-12-22 21:30:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-22 21:30:32 | [Mutex] waiting for: [received:nodes:68321703-7bde-40ed-8a0e-b699d2afdd44:localhost]

2022-12-22 21:30:32 | [Mutex] waiting for: [received:nodes:68321703-7bde-40ed-8a0e-b699d2afdd44:localhost]

2022-12-22 21:30:32 | [Mutex] waiting for: [received:nodes:68321703-7bde-40ed-8a0e-b699d2afdd44:localhost]

2022-12-22 21:30:32 | [Mutex] waiting for: [received:nodes:68321703-7bde-40ed-8a0e-b699d2afdd44:localhost]

2022-12-22 21:30:32 | [Mutex] received everything.

2022-12-22 21:30:32 | [Mutex] isItemNotified: received:node:68321703-7bde-40ed-8a0e-b699d2afdd44:localhost:node-586f44e4-3937-4675-b4d7-f70d93829ea9:Node 586f44e4-3937-4675-b4d7-f70d93829ea9 :: true

createSubnodes 1.032s
2022-12-22 21:30:32 |

2022-12-22 21:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:32 | ------------------------------------

2022-12-22 21:30:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f3d715f0-f84d-4f34-a5a6-5d44f0cae063</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f3d715f0-f84d-4f34-a5a6-5d44f0cae063</title></pubsub></data>

2022-12-22 21:30:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-22 21:30:33 | [Mutex] waiting for: [received:nodes:2b5e68ce-3cf4-4a3f-96c8-f552abbcd2a5:localhost]

2022-12-22 21:30:33 | [Mutex] received everything.

2022-12-22 21:30:33 | [Mutex] isItemNotified: received:node:2b5e68ce-3cf4-4a3f-96c8-f552abbcd2a5:localhost:node-f3d715f0-f84d-4f34-a5a6-5d44f0cae063:Node f3d715f0-f84d-4f34-a5a6-5d44f0cae063 :: true

deleteNodes 1.017s
2022-12-22 21:30:39 |

2022-12-22 21:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:39 | ------------------------------------

2022-12-22 21:30:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f3d715f0-f84d-4f34-a5a6-5d44f0cae063</node></data>

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

2022-12-22 21:30:40 | [Mutex] waiting for: [received:nodes:0c44d0dc-9820-4699-8d38-e84d042890a7:localhost]

2022-12-22 21:30:40 | [Mutex] waiting for: [received:nodes:0c44d0dc-9820-4699-8d38-e84d042890a7:localhost]

2022-12-22 21:30:40 | [Mutex] received everything.

2022-12-22 21:30:40 | [Mutex] isItemNotified: received:node:0c44d0dc-9820-4699-8d38-e84d042890a7:localhost:node-f3d715f0-f84d-4f34-a5a6-5d44f0cae063:Node f3d715f0-f84d-4f34-a5a6-5d44f0cae063 :: false

deleteSubnodes 1.147s
2022-12-22 21:30:38 |

2022-12-22 21:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:38 | ------------------------------------

2022-12-22 21:30:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-586f44e4-3937-4675-b4d7-f70d93829ea9</node></data>

2022-12-22 21:30:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-22 21:30:39 | [Mutex] waiting for: [received:nodes:14e69bfb-da1f-4050-ad34-32061eae102b:localhost]

2022-12-22 21:30:39 | [Mutex] received everything.

2022-12-22 21:30:39 | [Mutex] isItemNotified: received:node:14e69bfb-da1f-4050-ad34-32061eae102b:localhost:node-586f44e4-3937-4675-b4d7-f70d93829ea9:Node 586f44e4-3937-4675-b4d7-f70d93829ea9 :: false

2022-12-22 21:30:39 | [Mutex] waiting for: [received:nodes:fad1da84-2928-4e7b-8854-888a12a6e615:localhost]

2022-12-22 21:30:39 | [Mutex] received everything.

2022-12-22 21:30:39 | [Mutex] isItemNotified: received:node:fad1da84-2928-4e7b-8854-888a12a6e615:localhost:node-586f44e4-3937-4675-b4d7-f70d93829ea9:Node 586f44e4-3937-4675-b4d7-f70d93829ea9 :: false

publishItemsToNodes 0.218s
2022-12-22 21:30:36 |

2022-12-22 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:36 | ------------------------------------

2022-12-22 21:30:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-586f44e4-3937-4675-b4d7-f70d93829ea9</node><item-id>item-62c9de66-a5e2-42e6-955e-bb8593298fa5</item-id><entry><test>item-62c9de66-a5e2-42e6-955e-bb8593298fa5</test></entry></data>

2022-12-22 21:30:36 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-62c9de66-a5e2-42e6-955e-bb8593298fa5</value></item-id></result>

2022-12-22 21:30:36 | [Mutex] waiting for: [published:item:notifieditem-62c9de66-a5e2-42e6-955e-bb8593298fa5:admin@test-domain.com]

2022-12-22 21:30:36 | [Mutex] received everything.

2022-12-22 21:30:36 | [Mutex] isItemNotified: published:item:notifieditem-62c9de66-a5e2-42e6-955e-bb8593298fa5:admin@test-domain.com :: true

retractItemsFromNodes 0.371s
2022-12-22 21:30:36 |

2022-12-22 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:36 | ------------------------------------

2022-12-22 21:30:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-586f44e4-3937-4675-b4d7-f70d93829ea9</node><item-id>item-62c9de66-a5e2-42e6-955e-bb8593298fa5</item-id></data>

2022-12-22 21:30:36 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-62c9de66-a5e2-42e6-955e-bb8593298fa5</value></item-id></result>

2022-12-22 21:30:36 | [Mutex] received everything.

2022-12-22 21:30:36 | [Mutex] isItemNotified: retracted:item:notifieditem-62c9de66-a5e2-42e6-955e-bb8593298fa5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.171s
2022-12-22 21:30:36 |

2022-12-22 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:36 | ------------------------------------

2022-12-22 21:30:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-586f44e4-3937-4675-b4d7-f70d93829ea9</node><item-id>item-62c9de66-a5e2-42e6-955e-bb8593298fa5</item-id></data>

2022-12-22 21:30:36 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-586f44e4-3937-4675-b4d7-f70d93829ea9</value></node><item-id type="text-single" label="Item ID"><value>item-62c9de66-a5e2-42e6-955e-bb8593298fa5</value></item-id><item type="text-multi" label="Item"><value><item id="item-62c9de66-a5e2-42e6-955e-bb8593298fa5"><test>item-62c9de66-a5e2-42e6-955e-bb8593298fa5</test></item></value></item></result>

2022-12-22 21:30:36 | [Mutex] notify: [retrieved:item:item-62c9de66-a5e2-42e6-955e-bb8593298fa5:payload-matches:true:localhost]

2022-12-22 21:30:36 | [Mutex] received everything.

2022-12-22 21:30:36 | [Mutex] isItemNotified: retrieved:item:item-62c9de66-a5e2-42e6-955e-bb8593298fa5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-12-22 21:30:36 |

2022-12-22 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:36 | ------------------------------------

2022-12-22 21:30:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-22 21:30:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-f3d715f0-f84d-4f34-a5a6-5d44f0cae063</value><value>node-586f44e4-3937-4675-b4d7-f70d93829ea9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-12-22 21:30:36 |

2022-12-22 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:36 | ------------------------------------

2022-12-22 21:30:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-586f44e4-3937-4675-b4d7-f70d93829ea9)</node-pattern></data>

2022-12-22 21:30:36 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.114s
2022-12-22 21:30:34 |

2022-12-22 21:30:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:34 | ------------------------------------

2022-12-22 21:30:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-586f44e4-3937-4675-b4d7-f70d93829ea9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-22 21:30:35 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.199s
2022-12-22 21:30:36 |

2022-12-22 21:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-22 21:30:36 | ------------------------------------

2022-12-22 21:30:36 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-586f44e4-3937-4675-b4d7-f70d93829ea9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-22 21:30:37 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>