Generated by TestNG with ReportNG at 22:46 PDT on Wednesday 20 July 2022
root@ed1b7dd8a1b3 / 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.584s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-07-20 23:01:59 |

2022-07-20 23:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:01:59 | ------------------------------------

2022-07-20 23:01:59 | [Mutex] waiting for: [configured:node:node-7065ce46-949c-48f7-b8fb-391ec50ea58d:node-ce795907-7de4-4256-8d69-9535c40cbc29]

2022-07-20 23:01:59 | [Mutex] received everything.

2022-07-20 23:01:59 | [Mutex] isItemNotified: configured:node:node-7065ce46-949c-48f7-b8fb-391ec50ea58d:node-ce795907-7de4-4256-8d69-9535c40cbc29 :: true

2022-07-20 23:02:00 | [Mutex] waiting for: [received:nodes:470a692d-14c6-419a-a647-694cfe4ff14f:localhost]

2022-07-20 23:02:00 | [Mutex] received everything.

2022-07-20 23:02:00 | [Mutex] isItemNotified: received:node:470a692d-14c6-419a-a647-694cfe4ff14f:localhost:node-7065ce46-949c-48f7-b8fb-391ec50ea58d:Node 7065ce46-949c-48f7-b8fb-391ec50ea58d :: true

2022-07-20 23:02:00 | [Mutex] waiting for: [received:nodes:4dad056d-0a55-4b8a-9797-6690a8525e46:localhost]

2022-07-20 23:02:00 | [Mutex] received everything.

2022-07-20 23:02:00 | [Mutex] isItemNotified: received:node:4dad056d-0a55-4b8a-9797-6690a8525e46:localhost:node-7065ce46-949c-48f7-b8fb-391ec50ea58d:Node 7065ce46-949c-48f7-b8fb-391ec50ea58d :: false

createNodes 1.366s
2022-07-20 23:01:57 |

2022-07-20 23:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:01:57 | ------------------------------------

2022-07-20 23:01:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7065ce46-949c-48f7-b8fb-391ec50ea58d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7065ce46-949c-48f7-b8fb-391ec50ea58d</title></pubsub></data>

2022-07-20 23:01:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-20 23:01:58 | [Mutex] waiting for: [received:nodes:44ca1208-e6e8-435f-9824-7e3ee33197a9:localhost]

2022-07-20 23:01:58 | [Mutex] received everything.

2022-07-20 23:01:58 | [Mutex] isItemNotified: received:node:44ca1208-e6e8-435f-9824-7e3ee33197a9:localhost:node-7065ce46-949c-48f7-b8fb-391ec50ea58d:Node 7065ce46-949c-48f7-b8fb-391ec50ea58d :: true

createSubnodes 1.021s
2022-07-20 23:01:58 |

2022-07-20 23:01:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:01:58 | ------------------------------------

2022-07-20 23:01:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ce795907-7de4-4256-8d69-9535c40cbc29</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ce795907-7de4-4256-8d69-9535c40cbc29</title></pubsub></data>

2022-07-20 23:01:58 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-20 23:01:59 | [Mutex] waiting for: [received:nodes:4919ac39-31b7-48c4-aa44-45aa1f4d61d4:localhost]

2022-07-20 23:01:59 | [Mutex] waiting for: [received:nodes:4919ac39-31b7-48c4-aa44-45aa1f4d61d4:localhost]

2022-07-20 23:01:59 | [Mutex] received everything.

2022-07-20 23:01:59 | [Mutex] isItemNotified: received:node:4919ac39-31b7-48c4-aa44-45aa1f4d61d4:localhost:node-ce795907-7de4-4256-8d69-9535c40cbc29:Node ce795907-7de4-4256-8d69-9535c40cbc29 :: true

deleteNodes 1.018s
2022-07-20 23:02:05 |

2022-07-20 23:02:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:02:05 | ------------------------------------

2022-07-20 23:02:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ce795907-7de4-4256-8d69-9535c40cbc29</node></data>

2022-07-20 23:02:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-20 23:02:06 | [Mutex] waiting for: [received:nodes:cb44307f-225b-4481-97f6-615dee3d81a3:localhost]

2022-07-20 23:02:06 | [Mutex] received everything.

2022-07-20 23:02:06 | [Mutex] isItemNotified: received:node:cb44307f-225b-4481-97f6-615dee3d81a3:localhost:node-ce795907-7de4-4256-8d69-9535c40cbc29:Node ce795907-7de4-4256-8d69-9535c40cbc29 :: false

deleteSubnodes 1.136s
2022-07-20 23:02:04 |

2022-07-20 23:02:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:02:04 | ------------------------------------

2022-07-20 23:02:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7065ce46-949c-48f7-b8fb-391ec50ea58d</node></data>

2022-07-20 23:02:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-20 23:02:05 | [Mutex] waiting for: [received:nodes:d3234906-361e-4467-97ba-a697476e7b6c:localhost]

2022-07-20 23:02:05 | [Mutex] received everything.

2022-07-20 23:02:05 | [Mutex] isItemNotified: received:node:d3234906-361e-4467-97ba-a697476e7b6c:localhost:node-7065ce46-949c-48f7-b8fb-391ec50ea58d:Node 7065ce46-949c-48f7-b8fb-391ec50ea58d :: false

2022-07-20 23:02:05 | [Mutex] waiting for: [received:nodes:7d112fcf-6708-4870-b60c-f0dd810f89ac:localhost]

2022-07-20 23:02:05 | [Mutex] received everything.

2022-07-20 23:02:05 | [Mutex] isItemNotified: received:node:7d112fcf-6708-4870-b60c-f0dd810f89ac:localhost:node-7065ce46-949c-48f7-b8fb-391ec50ea58d:Node 7065ce46-949c-48f7-b8fb-391ec50ea58d :: false

publishItemsToNodes 0.216s
2022-07-20 23:02:02 |

2022-07-20 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:02:02 | ------------------------------------

2022-07-20 23:02:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7065ce46-949c-48f7-b8fb-391ec50ea58d</node><item-id>item-2a673262-b733-4589-a02b-9f570860c304</item-id><entry><test>item-2a673262-b733-4589-a02b-9f570860c304</test></entry></data>

2022-07-20 23:02:02 | 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-2a673262-b733-4589-a02b-9f570860c304</value></item-id></result>

2022-07-20 23:02:02 | [Mutex] waiting for: [published:item:notifieditem-2a673262-b733-4589-a02b-9f570860c304:admin@test-domain.com]

2022-07-20 23:02:02 | [Mutex] received everything.

2022-07-20 23:02:02 | [Mutex] isItemNotified: published:item:notifieditem-2a673262-b733-4589-a02b-9f570860c304:admin@test-domain.com :: true

retractItemsFromNodes 0.260s
2022-07-20 23:02:02 |

2022-07-20 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:02:02 | ------------------------------------

2022-07-20 23:02:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7065ce46-949c-48f7-b8fb-391ec50ea58d</node><item-id>item-2a673262-b733-4589-a02b-9f570860c304</item-id></data>

2022-07-20 23:02:03 | 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-2a673262-b733-4589-a02b-9f570860c304</value></item-id></result>

2022-07-20 23:02:03 | [Mutex] waiting for: [retracted:item:notifieditem-2a673262-b733-4589-a02b-9f570860c304:admin@test-domain.com]

2022-07-20 23:02:03 | [Mutex] received everything.

2022-07-20 23:02:03 | [Mutex] isItemNotified: retracted:item:notifieditem-2a673262-b733-4589-a02b-9f570860c304:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2022-07-20 23:02:02 |

2022-07-20 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:02:02 | ------------------------------------

2022-07-20 23:02:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7065ce46-949c-48f7-b8fb-391ec50ea58d</node><item-id>item-2a673262-b733-4589-a02b-9f570860c304</item-id></data>

2022-07-20 23:02:02 | 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-7065ce46-949c-48f7-b8fb-391ec50ea58d</value></node><item-id type="text-single" label="Item ID"><value>item-2a673262-b733-4589-a02b-9f570860c304</value></item-id><item type="text-multi" label="Item"><value><item id="item-2a673262-b733-4589-a02b-9f570860c304"><test>item-2a673262-b733-4589-a02b-9f570860c304</test></item></value></item></result>

2022-07-20 23:02:02 | [Mutex] notify: [retrieved:item:item-2a673262-b733-4589-a02b-9f570860c304:payload-matches:true:localhost]

2022-07-20 23:02:02 | [Mutex] received everything.

2022-07-20 23:02:02 | [Mutex] isItemNotified: retrieved:item:item-2a673262-b733-4589-a02b-9f570860c304:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-20 23:02:02 |

2022-07-20 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:02:02 | ------------------------------------

2022-07-20 23:02:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-20 23:02:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-7065ce46-949c-48f7-b8fb-391ec50ea58d</value><value>test</value><value>node-ce795907-7de4-4256-8d69-9535c40cbc29</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.052s
2022-07-20 23:02:02 |

2022-07-20 23:02:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:02:02 | ------------------------------------

2022-07-20 23:02:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7065ce46-949c-48f7-b8fb-391ec50ea58d)</node-pattern></data>

2022-07-20 23:02:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.217s
2022-07-20 23:02:00 |

2022-07-20 23:02:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:02:00 | ------------------------------------

2022-07-20 23:02:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7065ce46-949c-48f7-b8fb-391ec50ea58d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-20 23:02:01 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.242s
2022-07-20 23:02:03 |

2022-07-20 23:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-20 23:02:03 | ------------------------------------

2022-07-20 23:02:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7065ce46-949c-48f7-b8fb-391ec50ea58d</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-20 23:02:03 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>