Generated by TestNG with ReportNG at 22:26 PDT on Wednesday 12 May 2021
root@f29ef40080b5 / 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.245s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.126s
2021-05-12 22:41:39 |

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

2021-05-12 22:41:39 | ------------------------------------

2021-05-12 22:41:39 | [Mutex] waiting for: [configured:node:node-c0d12492-f299-4aeb-b8cb-f21535d26142:node-f0190409-9a12-4a1a-aa09-a9df49e61b19]

2021-05-12 22:41:39 | [Mutex] received everything.

2021-05-12 22:41:39 | [Mutex] isItemNotified: configured:node:node-c0d12492-f299-4aeb-b8cb-f21535d26142:node-f0190409-9a12-4a1a-aa09-a9df49e61b19 :: true

2021-05-12 22:41:40 | [Mutex] waiting for: [received:nodes:38e66fb8-e99c-444c-94d7-d1a96f51cd37:localhost]

2021-05-12 22:41:40 | [Mutex] received everything.

2021-05-12 22:41:40 | [Mutex] isItemNotified: received:node:38e66fb8-e99c-444c-94d7-d1a96f51cd37:localhost:node-c0d12492-f299-4aeb-b8cb-f21535d26142:Node c0d12492-f299-4aeb-b8cb-f21535d26142 :: true

2021-05-12 22:41:40 | [Mutex] waiting for: [received:nodes:0fb41d5e-e8ca-4ca1-a2de-ead3b532b7a7:localhost]

2021-05-12 22:41:40 | [Mutex] received everything.

2021-05-12 22:41:40 | [Mutex] isItemNotified: received:node:0fb41d5e-e8ca-4ca1-a2de-ead3b532b7a7:localhost:node-c0d12492-f299-4aeb-b8cb-f21535d26142:Node c0d12492-f299-4aeb-b8cb-f21535d26142 :: false

createNodes 1.461s
2021-05-12 22:41:37 |

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

2021-05-12 22:41:37 | ------------------------------------

2021-05-12 22:41:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c0d12492-f299-4aeb-b8cb-f21535d26142</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c0d12492-f299-4aeb-b8cb-f21535d26142</title></pubsub></data>

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

2021-05-12 22:41:38 | [Mutex] waiting for: [received:nodes:a31b7c09-805b-4379-975b-989f1027f8ba:localhost]

2021-05-12 22:41:38 | [Mutex] waiting for: [received:nodes:a31b7c09-805b-4379-975b-989f1027f8ba:localhost]

2021-05-12 22:41:38 | [Mutex] received everything.

2021-05-12 22:41:38 | [Mutex] isItemNotified: received:node:a31b7c09-805b-4379-975b-989f1027f8ba:localhost:node-c0d12492-f299-4aeb-b8cb-f21535d26142:Node c0d12492-f299-4aeb-b8cb-f21535d26142 :: true

createSubnodes 1.027s
2021-05-12 22:41:38 |

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

2021-05-12 22:41:38 | ------------------------------------

2021-05-12 22:41:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f0190409-9a12-4a1a-aa09-a9df49e61b19</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f0190409-9a12-4a1a-aa09-a9df49e61b19</title></pubsub></data>

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

2021-05-12 22:41:39 | [Mutex] waiting for: [received:nodes:1f690afb-0bff-4bd4-a223-b5f5a77718b4:localhost]

2021-05-12 22:41:39 | [Mutex] received everything.

2021-05-12 22:41:39 | [Mutex] isItemNotified: received:node:1f690afb-0bff-4bd4-a223-b5f5a77718b4:localhost:node-f0190409-9a12-4a1a-aa09-a9df49e61b19:Node f0190409-9a12-4a1a-aa09-a9df49e61b19 :: true

deleteNodes 1.020s
2021-05-12 22:41:45 |

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

2021-05-12 22:41:45 | ------------------------------------

2021-05-12 22:41:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f0190409-9a12-4a1a-aa09-a9df49e61b19</node></data>

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

2021-05-12 22:41:46 | [Mutex] waiting for: [received:nodes:0316f1f8-e45f-4999-9a0b-2d99fb01adef:localhost]

2021-05-12 22:41:46 | [Mutex] received everything.

2021-05-12 22:41:46 | [Mutex] isItemNotified: received:node:0316f1f8-e45f-4999-9a0b-2d99fb01adef:localhost:node-f0190409-9a12-4a1a-aa09-a9df49e61b19:Node f0190409-9a12-4a1a-aa09-a9df49e61b19 :: false

deleteSubnodes 1.175s
2021-05-12 22:41:44 |

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

2021-05-12 22:41:44 | ------------------------------------

2021-05-12 22:41:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c0d12492-f299-4aeb-b8cb-f21535d26142</node></data>

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

2021-05-12 22:41:45 | [Mutex] waiting for: [received:nodes:97d397ab-473a-4fc1-be12-a191759a31c0:localhost]

2021-05-12 22:41:45 | [Mutex] received everything.

2021-05-12 22:41:45 | [Mutex] isItemNotified: received:node:97d397ab-473a-4fc1-be12-a191759a31c0:localhost:node-c0d12492-f299-4aeb-b8cb-f21535d26142:Node c0d12492-f299-4aeb-b8cb-f21535d26142 :: false

2021-05-12 22:41:45 | [Mutex] waiting for: [received:nodes:916d11bb-ca79-4dcd-b2e4-c8c335847489:localhost]

2021-05-12 22:41:45 | [Mutex] received everything.

2021-05-12 22:41:45 | [Mutex] isItemNotified: received:node:916d11bb-ca79-4dcd-b2e4-c8c335847489:localhost:node-c0d12492-f299-4aeb-b8cb-f21535d26142:Node c0d12492-f299-4aeb-b8cb-f21535d26142 :: false

publishItemsToNodes 0.244s
2021-05-12 22:41:41 |

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

2021-05-12 22:41:41 | ------------------------------------

2021-05-12 22:41:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c0d12492-f299-4aeb-b8cb-f21535d26142</node><item-id>item-8a9bb316-b21c-4f78-96c3-8398f9dc086a</item-id><entry><test>item-8a9bb316-b21c-4f78-96c3-8398f9dc086a</test></entry></data>

2021-05-12 22:41:42 | 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-8a9bb316-b21c-4f78-96c3-8398f9dc086a</value></item-id></result>

2021-05-12 22:41:42 | [Mutex] waiting for: [published:item:notifieditem-8a9bb316-b21c-4f78-96c3-8398f9dc086a:admin@test-domain.com]

2021-05-12 22:41:42 | [Mutex] received everything.

2021-05-12 22:41:42 | [Mutex] isItemNotified: published:item:notifieditem-8a9bb316-b21c-4f78-96c3-8398f9dc086a:admin@test-domain.com :: true

retractItemsFromNodes 0.231s
2021-05-12 22:41:42 |

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

2021-05-12 22:41:42 | ------------------------------------

2021-05-12 22:41:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c0d12492-f299-4aeb-b8cb-f21535d26142</node><item-id>item-8a9bb316-b21c-4f78-96c3-8398f9dc086a</item-id></data>

2021-05-12 22:41:42 | 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-8a9bb316-b21c-4f78-96c3-8398f9dc086a</value></item-id></result>

2021-05-12 22:41:42 | [Mutex] waiting for: [retracted:item:notifieditem-8a9bb316-b21c-4f78-96c3-8398f9dc086a:admin@test-domain.com]

2021-05-12 22:41:42 | [Mutex] received everything.

2021-05-12 22:41:42 | [Mutex] isItemNotified: retracted:item:notifieditem-8a9bb316-b21c-4f78-96c3-8398f9dc086a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.344s
2021-05-12 22:41:42 |

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

2021-05-12 22:41:42 | ------------------------------------

2021-05-12 22:41:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c0d12492-f299-4aeb-b8cb-f21535d26142</node><item-id>item-8a9bb316-b21c-4f78-96c3-8398f9dc086a</item-id></data>

2021-05-12 22:41:42 | 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-c0d12492-f299-4aeb-b8cb-f21535d26142</value></node><item-id label="Item ID" type="text-single"><value>item-8a9bb316-b21c-4f78-96c3-8398f9dc086a</value></item-id><item label="Item" type="text-multi"><value><item id="item-8a9bb316-b21c-4f78-96c3-8398f9dc086a"><test>item-8a9bb316-b21c-4f78-96c3-8398f9dc086a</test></item></value></item></result>

2021-05-12 22:41:42 | [Mutex] notify: [retrieved:item:item-8a9bb316-b21c-4f78-96c3-8398f9dc086a:payload-matches:true:localhost]

2021-05-12 22:41:42 | [Mutex] received everything.

2021-05-12 22:41:42 | [Mutex] isItemNotified: retrieved:item:item-8a9bb316-b21c-4f78-96c3-8398f9dc086a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-05-12 22:41:42 |

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

2021-05-12 22:41:42 | ------------------------------------

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

2021-05-12 22:41:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-c0d12492-f299-4aeb-b8cb-f21535d26142</value><value>test</value><value>node-f0190409-9a12-4a1a-aa09-a9df49e61b19</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-05-12 22:41:42 |

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

2021-05-12 22:41:42 | ------------------------------------

2021-05-12 22:41:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c0d12492-f299-4aeb-b8cb-f21535d26142)</node-pattern></data>

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

subscribeNodes 1.167s
2021-05-12 22:41:40 |

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

2021-05-12 22:41:40 | ------------------------------------

2021-05-12 22:41:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c0d12492-f299-4aeb-b8cb-f21535d26142</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.419s
2021-05-12 22:41:42 |

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

2021-05-12 22:41:42 | ------------------------------------

2021-05-12 22:41:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c0d12492-f299-4aeb-b8cb-f21535d26142</node><jids><value>admin@test-domain.com</value></jids></data>

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