Generated by TestNG with ReportNG at 05:26 PST on Wednesday 27 January 2021
root@43fec6d4badf / 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.455s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.138s
2021-01-27 05:40:55 |

2021-01-27 05:40:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:40:55 | ------------------------------------

2021-01-27 05:40:55 | [Mutex] waiting for: [configured:node:node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34:node-ee047b3c-cfc9-4cf2-a489-03f0cdade798]

2021-01-27 05:40:55 | [Mutex] received everything.

2021-01-27 05:40:55 | [Mutex] isItemNotified: configured:node:node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34:node-ee047b3c-cfc9-4cf2-a489-03f0cdade798 :: true

2021-01-27 05:40:56 | [Mutex] waiting for: [received:nodes:2d911526-aa89-446f-adcb-93ebce28f296:localhost]

2021-01-27 05:40:56 | [Mutex] received everything.

2021-01-27 05:40:56 | [Mutex] isItemNotified: received:node:2d911526-aa89-446f-adcb-93ebce28f296:localhost:node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34:Node 31d6f400-2ba1-4b78-87c7-f9cb5b6fea34 :: true

2021-01-27 05:40:56 | [Mutex] waiting for: [received:nodes:3b967897-ba3a-4383-9aa0-3184c7f2950c:localhost]

2021-01-27 05:40:56 | [Mutex] received everything.

2021-01-27 05:40:56 | [Mutex] isItemNotified: received:node:3b967897-ba3a-4383-9aa0-3184c7f2950c:localhost:node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34:Node 31d6f400-2ba1-4b78-87c7-f9cb5b6fea34 :: false

createNodes 1.661s
2021-01-27 05:40:52 |

2021-01-27 05:40:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:40:52 | ------------------------------------

2021-01-27 05:40:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 31d6f400-2ba1-4b78-87c7-f9cb5b6fea34</title></pubsub></data>

2021-01-27 05:40:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 05:40:54 | [Mutex] waiting for: [received:nodes:3d79b04f-0f34-46ae-a421-0100de248379:localhost]

2021-01-27 05:40:54 | [Mutex] received everything.

2021-01-27 05:40:54 | [Mutex] isItemNotified: received:node:3d79b04f-0f34-46ae-a421-0100de248379:localhost:node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34:Node 31d6f400-2ba1-4b78-87c7-f9cb5b6fea34 :: true

createSubnodes 1.036s
2021-01-27 05:40:54 |

2021-01-27 05:40:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:40:54 | ------------------------------------

2021-01-27 05:40:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ee047b3c-cfc9-4cf2-a489-03f0cdade798</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ee047b3c-cfc9-4cf2-a489-03f0cdade798</title></pubsub></data>

2021-01-27 05:40:54 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 05:40:55 | [Mutex] waiting for: [received:nodes:8020b291-f948-413b-b989-24eb445fb3e4:localhost]

2021-01-27 05:40:55 | [Mutex] received everything.

2021-01-27 05:40:55 | [Mutex] isItemNotified: received:node:8020b291-f948-413b-b989-24eb445fb3e4:localhost:node-ee047b3c-cfc9-4cf2-a489-03f0cdade798:Node ee047b3c-cfc9-4cf2-a489-03f0cdade798 :: true

deleteNodes 1.026s
2021-01-27 05:41:01 |

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

2021-01-27 05:41:01 | ------------------------------------

2021-01-27 05:41:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ee047b3c-cfc9-4cf2-a489-03f0cdade798</node></data>

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

2021-01-27 05:41:02 | [Mutex] waiting for: [received:nodes:7591610d-6742-4903-9d28-9ec2fe465956:localhost]

2021-01-27 05:41:02 | [Mutex] waiting for: [received:nodes:7591610d-6742-4903-9d28-9ec2fe465956:localhost]

2021-01-27 05:41:02 | [Mutex] received everything.

2021-01-27 05:41:02 | [Mutex] isItemNotified: received:node:7591610d-6742-4903-9d28-9ec2fe465956:localhost:node-ee047b3c-cfc9-4cf2-a489-03f0cdade798:Node ee047b3c-cfc9-4cf2-a489-03f0cdade798 :: false

deleteSubnodes 1.149s
2021-01-27 05:41:00 |

2021-01-27 05:41:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:41:00 | ------------------------------------

2021-01-27 05:41:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34</node></data>

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

2021-01-27 05:41:01 | [Mutex] waiting for: [received:nodes:e112867f-650c-4d06-8d07-41fb6920e838:localhost]

2021-01-27 05:41:01 | [Mutex] received everything.

2021-01-27 05:41:01 | [Mutex] isItemNotified: received:node:e112867f-650c-4d06-8d07-41fb6920e838:localhost:node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34:Node 31d6f400-2ba1-4b78-87c7-f9cb5b6fea34 :: false

2021-01-27 05:41:01 | [Mutex] waiting for: [received:nodes:22ae58ac-f506-4e49-be0c-cfdffb27cb15:localhost]

2021-01-27 05:41:01 | [Mutex] received everything.

2021-01-27 05:41:01 | [Mutex] isItemNotified: received:node:22ae58ac-f506-4e49-be0c-cfdffb27cb15:localhost:node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34:Node 31d6f400-2ba1-4b78-87c7-f9cb5b6fea34 :: false

publishItemsToNodes 0.232s
2021-01-27 05:40:57 |

2021-01-27 05:40:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:40:57 | ------------------------------------

2021-01-27 05:40:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34</node><item-id>item-c06829ae-7600-468a-9edc-b0c8985f3ee2</item-id><entry><test>item-c06829ae-7600-468a-9edc-b0c8985f3ee2</test></entry></data>

2021-01-27 05:40:57 | 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-c06829ae-7600-468a-9edc-b0c8985f3ee2</value></item-id></result>

2021-01-27 05:40:57 | [Mutex] received everything.

2021-01-27 05:40:57 | [Mutex] isItemNotified: published:item:notifieditem-c06829ae-7600-468a-9edc-b0c8985f3ee2:admin@test-domain.com :: true

retractItemsFromNodes 0.280s
2021-01-27 05:40:58 |

2021-01-27 05:40:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:40:58 | ------------------------------------

2021-01-27 05:40:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34</node><item-id>item-c06829ae-7600-468a-9edc-b0c8985f3ee2</item-id></data>

2021-01-27 05:40:58 | 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-c06829ae-7600-468a-9edc-b0c8985f3ee2</value></item-id></result>

2021-01-27 05:40:58 | [Mutex] received everything.

2021-01-27 05:40:58 | [Mutex] isItemNotified: retracted:item:notifieditem-c06829ae-7600-468a-9edc-b0c8985f3ee2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.312s
2021-01-27 05:40:57 |

2021-01-27 05:40:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:40:57 | ------------------------------------

2021-01-27 05:40:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34</node><item-id>item-c06829ae-7600-468a-9edc-b0c8985f3ee2</item-id></data>

2021-01-27 05:40:58 | 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-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34</value></node><item-id label="Item ID" type="text-single"><value>item-c06829ae-7600-468a-9edc-b0c8985f3ee2</value></item-id><item label="Item" type="text-multi"><value><item id="item-c06829ae-7600-468a-9edc-b0c8985f3ee2"><test>item-c06829ae-7600-468a-9edc-b0c8985f3ee2</test></item></value></item></result>

2021-01-27 05:40:58 | [Mutex] notify: [retrieved:item:item-c06829ae-7600-468a-9edc-b0c8985f3ee2:payload-matches:true:localhost]

2021-01-27 05:40:58 | [Mutex] received everything.

2021-01-27 05:40:58 | [Mutex] isItemNotified: retrieved:item:item-c06829ae-7600-468a-9edc-b0c8985f3ee2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-01-27 05:40:58 |

2021-01-27 05:40:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:40:58 | ------------------------------------

2021-01-27 05:40:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-27 05:40:58 | 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-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34</value><value>node-ee047b3c-cfc9-4cf2-a489-03f0cdade798</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-01-27 05:40:58 |

2021-01-27 05:40:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:40:58 | ------------------------------------

2021-01-27 05:40:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34)</node-pattern></data>

2021-01-27 05:40:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.182s
2021-01-27 05:40:56 |

2021-01-27 05:40:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:40:56 | ------------------------------------

2021-01-27 05:40:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.366s
2021-01-27 05:40:58 |

2021-01-27 05:40:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 05:40:58 | ------------------------------------

2021-01-27 05:40:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-31d6f400-2ba1-4b78-87c7-f9cb5b6fea34</node><jids><value>admin@test-domain.com</value></jids></data>

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