Generated by TestNG with ReportNG at 22:42 PDT on Thursday 30 September 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.012s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-09-30 22:59:06 |

2021-09-30 22:59:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:06 | ------------------------------------

2021-09-30 22:59:06 | [Mutex] waiting for: [configured:node:node-59553544-5fc1-4922-8366-4cccc4719bde:node-ea8efcca-eac2-47d5-980b-7d490eefc516]

2021-09-30 22:59:06 | [Mutex] received everything.

2021-09-30 22:59:06 | [Mutex] isItemNotified: configured:node:node-59553544-5fc1-4922-8366-4cccc4719bde:node-ea8efcca-eac2-47d5-980b-7d490eefc516 :: true

2021-09-30 22:59:07 | [Mutex] waiting for: [received:nodes:3026fb69-b1c6-4a45-a947-0fba0a0eef1c:localhost]

2021-09-30 22:59:07 | [Mutex] received everything.

2021-09-30 22:59:07 | [Mutex] isItemNotified: received:node:3026fb69-b1c6-4a45-a947-0fba0a0eef1c:localhost:node-59553544-5fc1-4922-8366-4cccc4719bde:Node 59553544-5fc1-4922-8366-4cccc4719bde :: true

2021-09-30 22:59:07 | [Mutex] waiting for: [received:nodes:4b27dea4-3973-4079-9cd4-55c55a7571be:localhost]

2021-09-30 22:59:07 | [Mutex] waiting for: [received:nodes:4b27dea4-3973-4079-9cd4-55c55a7571be:localhost]

2021-09-30 22:59:07 | [Mutex] received everything.

2021-09-30 22:59:07 | [Mutex] isItemNotified: received:node:4b27dea4-3973-4079-9cd4-55c55a7571be:localhost:node-59553544-5fc1-4922-8366-4cccc4719bde:Node 59553544-5fc1-4922-8366-4cccc4719bde :: false

createNodes 1.557s
2021-09-30 22:59:03 |

2021-09-30 22:59:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:03 | ------------------------------------

2021-09-30 22:59:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-59553544-5fc1-4922-8366-4cccc4719bde</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 59553544-5fc1-4922-8366-4cccc4719bde</title></pubsub></data>

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

2021-09-30 22:59:05 | [Mutex] waiting for: [received:nodes:c0499544-93ea-47af-b156-21a4501d2d16:localhost]

2021-09-30 22:59:05 | [Mutex] received everything.

2021-09-30 22:59:05 | [Mutex] isItemNotified: received:node:c0499544-93ea-47af-b156-21a4501d2d16:localhost:node-59553544-5fc1-4922-8366-4cccc4719bde:Node 59553544-5fc1-4922-8366-4cccc4719bde :: true

createSubnodes 1.022s
2021-09-30 22:59:05 |

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

2021-09-30 22:59:05 | ------------------------------------

2021-09-30 22:59:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ea8efcca-eac2-47d5-980b-7d490eefc516</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ea8efcca-eac2-47d5-980b-7d490eefc516</title></pubsub></data>

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

2021-09-30 22:59:06 | [Mutex] waiting for: [received:nodes:b9df63e2-4c2c-4caf-b3e7-c6ec2289045f:localhost]

2021-09-30 22:59:06 | [Mutex] received everything.

2021-09-30 22:59:06 | [Mutex] isItemNotified: received:node:b9df63e2-4c2c-4caf-b3e7-c6ec2289045f:localhost:node-ea8efcca-eac2-47d5-980b-7d490eefc516:Node ea8efcca-eac2-47d5-980b-7d490eefc516 :: true

deleteNodes 1.017s
2021-09-30 22:59:12 |

2021-09-30 22:59:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:12 | ------------------------------------

2021-09-30 22:59:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ea8efcca-eac2-47d5-980b-7d490eefc516</node></data>

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

2021-09-30 22:59:13 | [Mutex] waiting for: [received:nodes:c1034fff-352b-4125-be43-27f0c131492e:localhost]

2021-09-30 22:59:13 | [Mutex] received everything.

2021-09-30 22:59:13 | [Mutex] isItemNotified: received:node:c1034fff-352b-4125-be43-27f0c131492e:localhost:node-ea8efcca-eac2-47d5-980b-7d490eefc516:Node ea8efcca-eac2-47d5-980b-7d490eefc516 :: false

deleteSubnodes 1.143s
2021-09-30 22:59:10 |

2021-09-30 22:59:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:10 | ------------------------------------

2021-09-30 22:59:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-59553544-5fc1-4922-8366-4cccc4719bde</node></data>

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

2021-09-30 22:59:12 | [Mutex] waiting for: [received:nodes:0a15d845-f324-4c64-88c0-c505b82cb4a3:localhost]

2021-09-30 22:59:12 | [Mutex] received everything.

2021-09-30 22:59:12 | [Mutex] isItemNotified: received:node:0a15d845-f324-4c64-88c0-c505b82cb4a3:localhost:node-59553544-5fc1-4922-8366-4cccc4719bde:Node 59553544-5fc1-4922-8366-4cccc4719bde :: false

2021-09-30 22:59:12 | [Mutex] waiting for: [received:nodes:54deca25-dfdc-4d78-9a27-c36904fc165b:localhost]

2021-09-30 22:59:12 | [Mutex] received everything.

2021-09-30 22:59:12 | [Mutex] isItemNotified: received:node:54deca25-dfdc-4d78-9a27-c36904fc165b:localhost:node-59553544-5fc1-4922-8366-4cccc4719bde:Node 59553544-5fc1-4922-8366-4cccc4719bde :: false

publishItemsToNodes 0.246s
2021-09-30 22:59:08 |

2021-09-30 22:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:08 | ------------------------------------

2021-09-30 22:59:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-59553544-5fc1-4922-8366-4cccc4719bde</node><item-id>item-3f65c9b1-4172-4d9d-b86e-5937c4b59586</item-id><entry><test>item-3f65c9b1-4172-4d9d-b86e-5937c4b59586</test></entry></data>

2021-09-30 22:59:09 | 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-3f65c9b1-4172-4d9d-b86e-5937c4b59586</value></item-id></result>

2021-09-30 22:59:09 | [Mutex] waiting for: [published:item:notifieditem-3f65c9b1-4172-4d9d-b86e-5937c4b59586:admin@test-domain.com]

2021-09-30 22:59:09 | [Mutex] received everything.

2021-09-30 22:59:09 | [Mutex] isItemNotified: published:item:notifieditem-3f65c9b1-4172-4d9d-b86e-5937c4b59586:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2021-09-30 22:59:09 |

2021-09-30 22:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:09 | ------------------------------------

2021-09-30 22:59:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-59553544-5fc1-4922-8366-4cccc4719bde</node><item-id>item-3f65c9b1-4172-4d9d-b86e-5937c4b59586</item-id></data>

2021-09-30 22:59:09 | 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-3f65c9b1-4172-4d9d-b86e-5937c4b59586</value></item-id></result>

2021-09-30 22:59:09 | [Mutex] received everything.

2021-09-30 22:59:09 | [Mutex] isItemNotified: retracted:item:notifieditem-3f65c9b1-4172-4d9d-b86e-5937c4b59586:admin@test-domain.com :: true

retrieveItemsFromNodes 0.322s
2021-09-30 22:59:09 |

2021-09-30 22:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:09 | ------------------------------------

2021-09-30 22:59:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-59553544-5fc1-4922-8366-4cccc4719bde</node><item-id>item-3f65c9b1-4172-4d9d-b86e-5937c4b59586</item-id></data>

2021-09-30 22:59:09 | 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-59553544-5fc1-4922-8366-4cccc4719bde</value></node><item-id type="text-single" label="Item ID"><value>item-3f65c9b1-4172-4d9d-b86e-5937c4b59586</value></item-id><item type="text-multi" label="Item"><value><item id="item-3f65c9b1-4172-4d9d-b86e-5937c4b59586"><test>item-3f65c9b1-4172-4d9d-b86e-5937c4b59586</test></item></value></item></result>

2021-09-30 22:59:09 | [Mutex] notify: [retrieved:item:item-3f65c9b1-4172-4d9d-b86e-5937c4b59586:payload-matches:true:localhost]

2021-09-30 22:59:09 | [Mutex] received everything.

2021-09-30 22:59:09 | [Mutex] isItemNotified: retrieved:item:item-3f65c9b1-4172-4d9d-b86e-5937c4b59586:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-09-30 22:59:09 |

2021-09-30 22:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:09 | ------------------------------------

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

2021-09-30 22:59:09 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-ea8efcca-eac2-47d5-980b-7d490eefc516</value><value>node-59553544-5fc1-4922-8366-4cccc4719bde</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-09-30 22:59:09 |

2021-09-30 22:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:09 | ------------------------------------

2021-09-30 22:59:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-59553544-5fc1-4922-8366-4cccc4719bde)</node-pattern></data>

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

subscribeNodes 1.143s
2021-09-30 22:59:07 |

2021-09-30 22:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:07 | ------------------------------------

2021-09-30 22:59:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-59553544-5fc1-4922-8366-4cccc4719bde</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-30 22:59:07 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.243s
2021-09-30 22:59:09 |

2021-09-30 22:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-30 22:59:09 | ------------------------------------

2021-09-30 22:59:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-59553544-5fc1-4922-8366-4cccc4719bde</node><jids><value>admin@test-domain.com</value></jids></data>

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