Generated by TestNG with ReportNG at 22:14 PDT on Monday 05 April 2021
root@87f6aca6b6f2 / 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.224s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.126s
2021-04-05 22:31:26 |

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

2021-04-05 22:31:26 | ------------------------------------

2021-04-05 22:31:26 | [Mutex] waiting for: [configured:node:node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15:node-402cd8e8-f1ed-43d7-9898-27da9dbb5624]

2021-04-05 22:31:26 | [Mutex] received everything.

2021-04-05 22:31:26 | [Mutex] isItemNotified: configured:node:node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15:node-402cd8e8-f1ed-43d7-9898-27da9dbb5624 :: true

2021-04-05 22:31:27 | [Mutex] waiting for: [received:nodes:03cff55f-7faa-4a5c-9dfb-26ec5677476f:localhost]

2021-04-05 22:31:27 | [Mutex] waiting for: [received:nodes:03cff55f-7faa-4a5c-9dfb-26ec5677476f:localhost]

2021-04-05 22:31:27 | [Mutex] received everything.

2021-04-05 22:31:27 | [Mutex] isItemNotified: received:node:03cff55f-7faa-4a5c-9dfb-26ec5677476f:localhost:node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15:Node 101c530a-2e7e-4e9c-8a4e-94e5b0767e15 :: true

2021-04-05 22:31:27 | [Mutex] waiting for: [received:nodes:9dafdfba-a7ff-4d14-b858-4a7dad722062:localhost]

2021-04-05 22:31:27 | [Mutex] waiting for: [received:nodes:9dafdfba-a7ff-4d14-b858-4a7dad722062:localhost]

2021-04-05 22:31:27 | [Mutex] received everything.

2021-04-05 22:31:27 | [Mutex] isItemNotified: received:node:9dafdfba-a7ff-4d14-b858-4a7dad722062:localhost:node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15:Node 101c530a-2e7e-4e9c-8a4e-94e5b0767e15 :: false

createNodes 1.515s
2021-04-05 22:31:23 |

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

2021-04-05 22:31:23 | ------------------------------------

2021-04-05 22:31:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 101c530a-2e7e-4e9c-8a4e-94e5b0767e15</title></pubsub></data>

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

2021-04-05 22:31:25 | [Mutex] waiting for: [received:nodes:87e9ddd1-962c-4345-8ec0-4a3fdbd76805:localhost]

2021-04-05 22:31:25 | [Mutex] received everything.

2021-04-05 22:31:25 | [Mutex] isItemNotified: received:node:87e9ddd1-962c-4345-8ec0-4a3fdbd76805:localhost:node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15:Node 101c530a-2e7e-4e9c-8a4e-94e5b0767e15 :: true

createSubnodes 1.027s
2021-04-05 22:31:25 |

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

2021-04-05 22:31:25 | ------------------------------------

2021-04-05 22:31:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-402cd8e8-f1ed-43d7-9898-27da9dbb5624</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 402cd8e8-f1ed-43d7-9898-27da9dbb5624</title></pubsub></data>

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

2021-04-05 22:31:26 | [Mutex] waiting for: [received:nodes:150b9382-384a-4552-a88a-41bf3e662cc7:localhost]

2021-04-05 22:31:26 | [Mutex] received everything.

2021-04-05 22:31:26 | [Mutex] isItemNotified: received:node:150b9382-384a-4552-a88a-41bf3e662cc7:localhost:node-402cd8e8-f1ed-43d7-9898-27da9dbb5624:Node 402cd8e8-f1ed-43d7-9898-27da9dbb5624 :: true

deleteNodes 1.024s
2021-04-05 22:31:31 |

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

2021-04-05 22:31:31 | ------------------------------------

2021-04-05 22:31:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-402cd8e8-f1ed-43d7-9898-27da9dbb5624</node></data>

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

2021-04-05 22:31:32 | [Mutex] waiting for: [received:nodes:a16562aa-2eac-4931-9bcd-155b8b3b59b4:localhost]

2021-04-05 22:31:32 | [Mutex] received everything.

2021-04-05 22:31:32 | [Mutex] isItemNotified: received:node:a16562aa-2eac-4931-9bcd-155b8b3b59b4:localhost:node-402cd8e8-f1ed-43d7-9898-27da9dbb5624:Node 402cd8e8-f1ed-43d7-9898-27da9dbb5624 :: false

deleteSubnodes 1.168s
2021-04-05 22:31:30 |

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

2021-04-05 22:31:30 | ------------------------------------

2021-04-05 22:31:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15</node></data>

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

2021-04-05 22:31:31 | [Mutex] waiting for: [received:nodes:d8181b21-01aa-4f39-ae77-f2c70cd03b3a:localhost]

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

2021-04-05 22:31:31 | [Mutex] isItemNotified: received:node:d8181b21-01aa-4f39-ae77-f2c70cd03b3a:localhost:node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15:Node 101c530a-2e7e-4e9c-8a4e-94e5b0767e15 :: false

2021-04-05 22:31:31 | [Mutex] waiting for: [received:nodes:780af0e5-1552-499b-9ba9-7c5f9dd6f590:localhost]

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

2021-04-05 22:31:31 | [Mutex] isItemNotified: received:node:780af0e5-1552-499b-9ba9-7c5f9dd6f590:localhost:node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15:Node 101c530a-2e7e-4e9c-8a4e-94e5b0767e15 :: false

publishItemsToNodes 0.260s
2021-04-05 22:31:28 |

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

2021-04-05 22:31:28 | ------------------------------------

2021-04-05 22:31:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15</node><item-id>item-84bdbc5b-41cf-4435-ac9e-d1f192b79725</item-id><entry><test>item-84bdbc5b-41cf-4435-ac9e-d1f192b79725</test></entry></data>

2021-04-05 22:31:28 | 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-84bdbc5b-41cf-4435-ac9e-d1f192b79725</value></item-id></result>

2021-04-05 22:31:28 | [Mutex] waiting for: [published:item:notifieditem-84bdbc5b-41cf-4435-ac9e-d1f192b79725:admin@test-domain.com]

2021-04-05 22:31:28 | [Mutex] received everything.

2021-04-05 22:31:28 | [Mutex] isItemNotified: published:item:notifieditem-84bdbc5b-41cf-4435-ac9e-d1f192b79725:admin@test-domain.com :: true

retractItemsFromNodes 0.319s
2021-04-05 22:31:28 |

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

2021-04-05 22:31:28 | ------------------------------------

2021-04-05 22:31:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15</node><item-id>item-84bdbc5b-41cf-4435-ac9e-d1f192b79725</item-id></data>

2021-04-05 22:31:29 | 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-84bdbc5b-41cf-4435-ac9e-d1f192b79725</value></item-id></result>

2021-04-05 22:31:29 | [Mutex] received everything.

2021-04-05 22:31:29 | [Mutex] isItemNotified: retracted:item:notifieditem-84bdbc5b-41cf-4435-ac9e-d1f192b79725:admin@test-domain.com :: true

retrieveItemsFromNodes 0.246s
2021-04-05 22:31:28 |

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

2021-04-05 22:31:28 | ------------------------------------

2021-04-05 22:31:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15</node><item-id>item-84bdbc5b-41cf-4435-ac9e-d1f192b79725</item-id></data>

2021-04-05 22:31:28 | 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-101c530a-2e7e-4e9c-8a4e-94e5b0767e15</value></node><item-id label="Item ID" type="text-single"><value>item-84bdbc5b-41cf-4435-ac9e-d1f192b79725</value></item-id><item label="Item" type="text-multi"><value><item id="item-84bdbc5b-41cf-4435-ac9e-d1f192b79725"><test>item-84bdbc5b-41cf-4435-ac9e-d1f192b79725</test></item></value></item></result>

2021-04-05 22:31:28 | [Mutex] notify: [retrieved:item:item-84bdbc5b-41cf-4435-ac9e-d1f192b79725:payload-matches:true:localhost]

2021-04-05 22:31:28 | [Mutex] received everything.

2021-04-05 22:31:28 | [Mutex] isItemNotified: retrieved:item:item-84bdbc5b-41cf-4435-ac9e-d1f192b79725:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.055s
2021-04-05 22:31:28 |

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

2021-04-05 22:31:28 | ------------------------------------

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

2021-04-05 22:31:28 | 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-101c530a-2e7e-4e9c-8a4e-94e5b0767e15</value><value>node-402cd8e8-f1ed-43d7-9898-27da9dbb5624</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-05 22:31:28 |

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

2021-04-05 22:31:28 | ------------------------------------

2021-04-05 22:31:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15)</node-pattern></data>

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

subscribeNodes 1.152s
2021-04-05 22:31:27 |

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

2021-04-05 22:31:27 | ------------------------------------

2021-04-05 22:31:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.303s
2021-04-05 22:31:29 |

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

2021-04-05 22:31:29 | ------------------------------------

2021-04-05 22:31:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-101c530a-2e7e-4e9c-8a4e-94e5b0767e15</node><jids><value>admin@test-domain.com</value></jids></data>

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