Generated by TestNG with ReportNG at 22:14 PDT on Tuesday 05 October 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / 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 : 10.349s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.122s
2021-10-05 22:31:36 |

2021-10-05 22:31:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:36 | ------------------------------------

2021-10-05 22:31:36 | [Mutex] waiting for: [configured:node:node-bc2105f3-1c0e-4aec-9296-3feb225b50f8:node-47d7b00a-56ce-4f14-bbba-7cf32b801d7a]

2021-10-05 22:31:36 | [Mutex] received everything.

2021-10-05 22:31:36 | [Mutex] isItemNotified: configured:node:node-bc2105f3-1c0e-4aec-9296-3feb225b50f8:node-47d7b00a-56ce-4f14-bbba-7cf32b801d7a :: true

2021-10-05 22:31:37 | [Mutex] waiting for: [received:nodes:2f6a7c15-962d-4f4b-888c-e1cb29bd21e4:localhost]

2021-10-05 22:31:37 | [Mutex] waiting for: [received:nodes:2f6a7c15-962d-4f4b-888c-e1cb29bd21e4:localhost]

2021-10-05 22:31:37 | [Mutex] received everything.

2021-10-05 22:31:37 | [Mutex] isItemNotified: received:node:2f6a7c15-962d-4f4b-888c-e1cb29bd21e4:localhost:node-bc2105f3-1c0e-4aec-9296-3feb225b50f8:Node bc2105f3-1c0e-4aec-9296-3feb225b50f8 :: true

2021-10-05 22:31:37 | [Mutex] waiting for: [received:nodes:4b0863ce-c48d-498e-9c4d-25d233c5ce03:localhost]

2021-10-05 22:31:37 | [Mutex] received everything.

2021-10-05 22:31:37 | [Mutex] isItemNotified: received:node:4b0863ce-c48d-498e-9c4d-25d233c5ce03:localhost:node-bc2105f3-1c0e-4aec-9296-3feb225b50f8:Node bc2105f3-1c0e-4aec-9296-3feb225b50f8 :: false

createNodes 1.517s
2021-10-05 22:31:34 |

2021-10-05 22:31:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:34 | ------------------------------------

2021-10-05 22:31:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bc2105f3-1c0e-4aec-9296-3feb225b50f8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bc2105f3-1c0e-4aec-9296-3feb225b50f8</title></pubsub></data>

2021-10-05 22:31:34 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-05 22:31:35 | [Mutex] waiting for: [received:nodes:071429c3-0b12-4e9b-a986-fa99998cc46a:localhost]

2021-10-05 22:31:35 | [Mutex] received everything.

2021-10-05 22:31:35 | [Mutex] isItemNotified: received:node:071429c3-0b12-4e9b-a986-fa99998cc46a:localhost:node-bc2105f3-1c0e-4aec-9296-3feb225b50f8:Node bc2105f3-1c0e-4aec-9296-3feb225b50f8 :: true

createSubnodes 1.028s
2021-10-05 22:31:35 |

2021-10-05 22:31:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:35 | ------------------------------------

2021-10-05 22:31:35 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-47d7b00a-56ce-4f14-bbba-7cf32b801d7a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 47d7b00a-56ce-4f14-bbba-7cf32b801d7a</title></pubsub></data>

2021-10-05 22:31:35 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-05 22:31:36 | [Mutex] waiting for: [received:nodes:32920b99-00c8-483d-a6b5-6e059d4f5602:localhost]

2021-10-05 22:31:36 | [Mutex] waiting for: [received:nodes:32920b99-00c8-483d-a6b5-6e059d4f5602:localhost]

2021-10-05 22:31:36 | [Mutex] received everything.

2021-10-05 22:31:36 | [Mutex] isItemNotified: received:node:32920b99-00c8-483d-a6b5-6e059d4f5602:localhost:node-47d7b00a-56ce-4f14-bbba-7cf32b801d7a:Node 47d7b00a-56ce-4f14-bbba-7cf32b801d7a :: true

deleteNodes 1.025s
2021-10-05 22:31:42 |

2021-10-05 22:31:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:42 | ------------------------------------

2021-10-05 22:31:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-47d7b00a-56ce-4f14-bbba-7cf32b801d7a</node></data>

2021-10-05 22:31:42 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-05 22:31:43 | [Mutex] waiting for: [received:nodes:fc4b34e0-d61f-45ea-a02d-8dea7f6c8f63:localhost]

2021-10-05 22:31:43 | [Mutex] received everything.

2021-10-05 22:31:43 | [Mutex] isItemNotified: received:node:fc4b34e0-d61f-45ea-a02d-8dea7f6c8f63:localhost:node-47d7b00a-56ce-4f14-bbba-7cf32b801d7a:Node 47d7b00a-56ce-4f14-bbba-7cf32b801d7a :: false

deleteSubnodes 1.166s
2021-10-05 22:31:41 |

2021-10-05 22:31:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:41 | ------------------------------------

2021-10-05 22:31:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bc2105f3-1c0e-4aec-9296-3feb225b50f8</node></data>

2021-10-05 22:31:41 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-05 22:31:42 | [Mutex] waiting for: [received:nodes:bfc81dd9-c6c8-4454-8b62-f72429c0b2ee:localhost]

2021-10-05 22:31:42 | [Mutex] received everything.

2021-10-05 22:31:42 | [Mutex] isItemNotified: received:node:bfc81dd9-c6c8-4454-8b62-f72429c0b2ee:localhost:node-bc2105f3-1c0e-4aec-9296-3feb225b50f8:Node bc2105f3-1c0e-4aec-9296-3feb225b50f8 :: false

2021-10-05 22:31:42 | [Mutex] waiting for: [received:nodes:745665a1-ba03-4ff7-9a55-50ac0fb8bb03:localhost]

2021-10-05 22:31:42 | [Mutex] received everything.

2021-10-05 22:31:42 | [Mutex] isItemNotified: received:node:745665a1-ba03-4ff7-9a55-50ac0fb8bb03:localhost:node-bc2105f3-1c0e-4aec-9296-3feb225b50f8:Node bc2105f3-1c0e-4aec-9296-3feb225b50f8 :: false

publishItemsToNodes 0.277s
2021-10-05 22:31:39 |

2021-10-05 22:31:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:39 | ------------------------------------

2021-10-05 22:31:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bc2105f3-1c0e-4aec-9296-3feb225b50f8</node><item-id>item-241baf17-94d6-418a-8a11-e01d473b7217</item-id><entry><test>item-241baf17-94d6-418a-8a11-e01d473b7217</test></entry></data>

2021-10-05 22:31:39 | 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-241baf17-94d6-418a-8a11-e01d473b7217</value></item-id></result>

2021-10-05 22:31:39 | [Mutex] waiting for: [published:item:notifieditem-241baf17-94d6-418a-8a11-e01d473b7217:admin@test-domain.com]

2021-10-05 22:31:39 | [Mutex] received everything.

2021-10-05 22:31:39 | [Mutex] isItemNotified: published:item:notifieditem-241baf17-94d6-418a-8a11-e01d473b7217:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2021-10-05 22:31:39 |

2021-10-05 22:31:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:39 | ------------------------------------

2021-10-05 22:31:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bc2105f3-1c0e-4aec-9296-3feb225b50f8</node><item-id>item-241baf17-94d6-418a-8a11-e01d473b7217</item-id></data>

2021-10-05 22:31:40 | 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-241baf17-94d6-418a-8a11-e01d473b7217</value></item-id></result>

2021-10-05 22:31:40 | [Mutex] received everything.

2021-10-05 22:31:40 | [Mutex] isItemNotified: retracted:item:notifieditem-241baf17-94d6-418a-8a11-e01d473b7217:admin@test-domain.com :: true

retrieveItemsFromNodes 0.378s
2021-10-05 22:31:39 |

2021-10-05 22:31:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:39 | ------------------------------------

2021-10-05 22:31:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bc2105f3-1c0e-4aec-9296-3feb225b50f8</node><item-id>item-241baf17-94d6-418a-8a11-e01d473b7217</item-id></data>

2021-10-05 22:31:39 | 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-bc2105f3-1c0e-4aec-9296-3feb225b50f8</value></node><item-id label="Item ID" type="text-single"><value>item-241baf17-94d6-418a-8a11-e01d473b7217</value></item-id><item label="Item" type="text-multi"><value><item id="item-241baf17-94d6-418a-8a11-e01d473b7217"><test>item-241baf17-94d6-418a-8a11-e01d473b7217</test></item></value></item></result>

2021-10-05 22:31:39 | [Mutex] notify: [retrieved:item:item-241baf17-94d6-418a-8a11-e01d473b7217:payload-matches:true:localhost]

2021-10-05 22:31:39 | [Mutex] received everything.

2021-10-05 22:31:39 | [Mutex] isItemNotified: retrieved:item:item-241baf17-94d6-418a-8a11-e01d473b7217:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-10-05 22:31:39 |

2021-10-05 22:31:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:39 | ------------------------------------

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

2021-10-05 22:31:39 | 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-47d7b00a-56ce-4f14-bbba-7cf32b801d7a</value><value>node-bc2105f3-1c0e-4aec-9296-3feb225b50f8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2021-10-05 22:31:39 |

2021-10-05 22:31:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:39 | ------------------------------------

2021-10-05 22:31:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bc2105f3-1c0e-4aec-9296-3feb225b50f8)</node-pattern></data>

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

subscribeNodes 1.178s
2021-10-05 22:31:37 |

2021-10-05 22:31:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:37 | ------------------------------------

2021-10-05 22:31:37 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bc2105f3-1c0e-4aec-9296-3feb225b50f8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-05 22:31:38 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.283s
2021-10-05 22:31:40 |

2021-10-05 22:31:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-05 22:31:40 | ------------------------------------

2021-10-05 22:31:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bc2105f3-1c0e-4aec-9296-3feb225b50f8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-05 22:31:40 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>