Generated by TestNG with ReportNG at 21:45 PST on Sunday 18 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.317s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-12-18 22:00:37 |

2022-12-18 22:00:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:00:37 | ------------------------------------

2022-12-18 22:00:37 | [Mutex] waiting for: [configured:node:node-e14555d2-d306-47c0-831d-258732ee3216:node-19505be5-67d1-40f4-846c-cab930d04c83]

2022-12-18 22:00:37 | [Mutex] received everything.

2022-12-18 22:00:37 | [Mutex] isItemNotified: configured:node:node-e14555d2-d306-47c0-831d-258732ee3216:node-19505be5-67d1-40f4-846c-cab930d04c83 :: true

2022-12-18 22:00:38 | [Mutex] waiting for: [received:nodes:f8a73b90-4d39-46cc-b003-4e60db91535c:localhost]

2022-12-18 22:00:38 | [Mutex] received everything.

2022-12-18 22:00:38 | [Mutex] isItemNotified: received:node:f8a73b90-4d39-46cc-b003-4e60db91535c:localhost:node-e14555d2-d306-47c0-831d-258732ee3216:Node e14555d2-d306-47c0-831d-258732ee3216 :: true

2022-12-18 22:00:38 | [Mutex] waiting for: [received:nodes:5f098241-fcc6-4c3d-9180-165e888a0a1c:localhost]

2022-12-18 22:00:38 | [Mutex] waiting for: [received:nodes:5f098241-fcc6-4c3d-9180-165e888a0a1c:localhost]

2022-12-18 22:00:38 | [Mutex] waiting for: [received:nodes:5f098241-fcc6-4c3d-9180-165e888a0a1c:localhost]

2022-12-18 22:00:38 | [Mutex] waiting for: [received:nodes:5f098241-fcc6-4c3d-9180-165e888a0a1c:localhost]

2022-12-18 22:00:38 | [Mutex] received everything.

2022-12-18 22:00:38 | [Mutex] isItemNotified: received:node:5f098241-fcc6-4c3d-9180-165e888a0a1c:localhost:node-e14555d2-d306-47c0-831d-258732ee3216:Node e14555d2-d306-47c0-831d-258732ee3216 :: false

createNodes 1.370s
2022-12-18 22:00:35 |

2022-12-18 22:00:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:00:35 | ------------------------------------

2022-12-18 22:00:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e14555d2-d306-47c0-831d-258732ee3216</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e14555d2-d306-47c0-831d-258732ee3216</title></pubsub></data>

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

2022-12-18 22:00:36 | [Mutex] waiting for: [received:nodes:8eac9805-e7b7-4ca0-afef-ef8a66768bd4:localhost]

2022-12-18 22:00:36 | [Mutex] waiting for: [received:nodes:8eac9805-e7b7-4ca0-afef-ef8a66768bd4:localhost]

2022-12-18 22:00:36 | [Mutex] waiting for: [received:nodes:8eac9805-e7b7-4ca0-afef-ef8a66768bd4:localhost]

2022-12-18 22:00:36 | [Mutex] waiting for: [received:nodes:8eac9805-e7b7-4ca0-afef-ef8a66768bd4:localhost]

2022-12-18 22:00:36 | [Mutex] received everything.

2022-12-18 22:00:36 | [Mutex] isItemNotified: received:node:8eac9805-e7b7-4ca0-afef-ef8a66768bd4:localhost:node-e14555d2-d306-47c0-831d-258732ee3216:Node e14555d2-d306-47c0-831d-258732ee3216 :: true

createSubnodes 1.020s
2022-12-18 22:00:36 |

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

2022-12-18 22:00:36 | ------------------------------------

2022-12-18 22:00:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-19505be5-67d1-40f4-846c-cab930d04c83</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 19505be5-67d1-40f4-846c-cab930d04c83</title></pubsub></data>

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

2022-12-18 22:00:37 | [Mutex] waiting for: [received:nodes:03a1f44b-6d92-4a44-962f-6f3da8c05656:localhost]

2022-12-18 22:00:37 | [Mutex] waiting for: [received:nodes:03a1f44b-6d92-4a44-962f-6f3da8c05656:localhost]

2022-12-18 22:00:37 | [Mutex] waiting for: [received:nodes:03a1f44b-6d92-4a44-962f-6f3da8c05656:localhost]

2022-12-18 22:00:37 | [Mutex] waiting for: [received:nodes:03a1f44b-6d92-4a44-962f-6f3da8c05656:localhost]

2022-12-18 22:00:37 | [Mutex] waiting for: [received:nodes:03a1f44b-6d92-4a44-962f-6f3da8c05656:localhost]

2022-12-18 22:00:37 | [Mutex] received everything.

2022-12-18 22:00:37 | [Mutex] isItemNotified: received:node:03a1f44b-6d92-4a44-962f-6f3da8c05656:localhost:node-19505be5-67d1-40f4-846c-cab930d04c83:Node 19505be5-67d1-40f4-846c-cab930d04c83 :: true

deleteNodes 1.020s
2022-12-18 22:00:43 |

2022-12-18 22:00:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:00:43 | ------------------------------------

2022-12-18 22:00:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-19505be5-67d1-40f4-846c-cab930d04c83</node></data>

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

2022-12-18 22:00:44 | [Mutex] waiting for: [received:nodes:1d8a2fef-c4d2-4013-9d80-cc032a4d8b4e:localhost]

2022-12-18 22:00:44 | [Mutex] waiting for: [received:nodes:1d8a2fef-c4d2-4013-9d80-cc032a4d8b4e:localhost]

2022-12-18 22:00:44 | [Mutex] waiting for: [received:nodes:1d8a2fef-c4d2-4013-9d80-cc032a4d8b4e:localhost]

2022-12-18 22:00:44 | [Mutex] received everything.

2022-12-18 22:00:44 | [Mutex] isItemNotified: received:node:1d8a2fef-c4d2-4013-9d80-cc032a4d8b4e:localhost:node-19505be5-67d1-40f4-846c-cab930d04c83:Node 19505be5-67d1-40f4-846c-cab930d04c83 :: false

deleteSubnodes 1.151s
2022-12-18 22:00:42 |

2022-12-18 22:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:00:42 | ------------------------------------

2022-12-18 22:00:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e14555d2-d306-47c0-831d-258732ee3216</node></data>

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

2022-12-18 22:00:43 | [Mutex] waiting for: [received:nodes:9fe78b70-9455-496d-93e2-59fa911f7324:localhost]

2022-12-18 22:00:43 | [Mutex] waiting for: [received:nodes:9fe78b70-9455-496d-93e2-59fa911f7324:localhost]

2022-12-18 22:00:43 | [Mutex] waiting for: [received:nodes:9fe78b70-9455-496d-93e2-59fa911f7324:localhost]

2022-12-18 22:00:43 | [Mutex] waiting for: [received:nodes:9fe78b70-9455-496d-93e2-59fa911f7324:localhost]

2022-12-18 22:00:43 | [Mutex] received everything.

2022-12-18 22:00:43 | [Mutex] isItemNotified: received:node:9fe78b70-9455-496d-93e2-59fa911f7324:localhost:node-e14555d2-d306-47c0-831d-258732ee3216:Node e14555d2-d306-47c0-831d-258732ee3216 :: false

2022-12-18 22:00:43 | [Mutex] waiting for: [received:nodes:204dcd2f-1ebd-4278-9ea3-5fa8ef69b5a8:localhost]

2022-12-18 22:00:43 | [Mutex] received everything.

2022-12-18 22:00:43 | [Mutex] isItemNotified: received:node:204dcd2f-1ebd-4278-9ea3-5fa8ef69b5a8:localhost:node-e14555d2-d306-47c0-831d-258732ee3216:Node e14555d2-d306-47c0-831d-258732ee3216 :: false

publishItemsToNodes 0.285s
2022-12-18 22:00:40 |

2022-12-18 22:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:00:40 | ------------------------------------

2022-12-18 22:00:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e14555d2-d306-47c0-831d-258732ee3216</node><item-id>item-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda</item-id><entry><test>item-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda</test></entry></data>

2022-12-18 22:00:40 | 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-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda</value></item-id></result>

2022-12-18 22:00:40 | [Mutex] waiting for: [published:item:notifieditem-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda:admin@test-domain.com]

2022-12-18 22:00:40 | [Mutex] received everything.

2022-12-18 22:00:40 | [Mutex] isItemNotified: published:item:notifieditem-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda:admin@test-domain.com :: true

retractItemsFromNodes 0.246s
2022-12-18 22:00:40 |

2022-12-18 22:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:00:40 | ------------------------------------

2022-12-18 22:00:40 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e14555d2-d306-47c0-831d-258732ee3216</node><item-id>item-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda</item-id></data>

2022-12-18 22:00:40 | 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-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda</value></item-id></result>

2022-12-18 22:00:40 | [Mutex] received everything.

2022-12-18 22:00:40 | [Mutex] isItemNotified: retracted:item:notifieditem-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda:admin@test-domain.com :: true

retrieveItemsFromNodes 0.207s
2022-12-18 22:00:40 |

2022-12-18 22:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:00:40 | ------------------------------------

2022-12-18 22:00:40 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e14555d2-d306-47c0-831d-258732ee3216</node><item-id>item-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda</item-id></data>

2022-12-18 22:00:40 | 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-e14555d2-d306-47c0-831d-258732ee3216</value></node><item-id type="text-single" label="Item ID"><value>item-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda</value></item-id><item type="text-multi" label="Item"><value><item id="item-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda"><test>item-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda</test></item></value></item></result>

2022-12-18 22:00:40 | [Mutex] notify: [retrieved:item:item-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda:payload-matches:true:localhost]

2022-12-18 22:00:40 | [Mutex] received everything.

2022-12-18 22:00:40 | [Mutex] isItemNotified: retrieved:item:item-f368d1f2-8d5a-48c4-9676-c3d4ea4e2dda:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-12-18 22:00:40 |

2022-12-18 22:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:00:40 | ------------------------------------

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

2022-12-18 22:00:40 | 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-e14555d2-d306-47c0-831d-258732ee3216</value><value>node-19505be5-67d1-40f4-846c-cab930d04c83</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-12-18 22:00:40 |

2022-12-18 22:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:00:40 | ------------------------------------

2022-12-18 22:00:40 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e14555d2-d306-47c0-831d-258732ee3216)</node-pattern></data>

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

subscribeNodes 1.129s
2022-12-18 22:00:38 |

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

2022-12-18 22:00:38 | ------------------------------------

2022-12-18 22:00:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e14555d2-d306-47c0-831d-258732ee3216</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.140s
2022-12-18 22:00:40 |

2022-12-18 22:00:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-18 22:00:40 | ------------------------------------

2022-12-18 22:00:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e14555d2-d306-47c0-831d-258732ee3216</node><jids><value>admin@test-domain.com</value></jids></data>

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