Generated by TestNG with ReportNG at 22:50 PDT on Saturday 25 June 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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 : 9.564s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2022-06-25 23:20:03 |

2022-06-25 23:20:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:03 | ------------------------------------

2022-06-25 23:20:03 | [Mutex] waiting for: [configured:node:node-80e090ac-979d-4c75-b048-fa132f3670f4:node-062b4c43-c750-4a83-a1ae-cddfce7be610]

2022-06-25 23:20:03 | [Mutex] received everything.

2022-06-25 23:20:03 | [Mutex] isItemNotified: configured:node:node-80e090ac-979d-4c75-b048-fa132f3670f4:node-062b4c43-c750-4a83-a1ae-cddfce7be610 :: true

2022-06-25 23:20:04 | [Mutex] waiting for: [received:nodes:8d57f117-104e-4f8e-94f0-b180b47be169:localhost]

2022-06-25 23:20:04 | [Mutex] received everything.

2022-06-25 23:20:04 | [Mutex] isItemNotified: received:node:8d57f117-104e-4f8e-94f0-b180b47be169:localhost:node-80e090ac-979d-4c75-b048-fa132f3670f4:Node 80e090ac-979d-4c75-b048-fa132f3670f4 :: true

2022-06-25 23:20:04 | [Mutex] waiting for: [received:nodes:844cb80c-cb72-4cf2-9f36-47b5205cdc08:localhost]

2022-06-25 23:20:04 | [Mutex] received everything.

2022-06-25 23:20:04 | [Mutex] isItemNotified: received:node:844cb80c-cb72-4cf2-9f36-47b5205cdc08:localhost:node-80e090ac-979d-4c75-b048-fa132f3670f4:Node 80e090ac-979d-4c75-b048-fa132f3670f4 :: false

createNodes 1.501s
2022-06-25 23:20:00 |

2022-06-25 23:20:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:00 | ------------------------------------

2022-06-25 23:20:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-80e090ac-979d-4c75-b048-fa132f3670f4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 80e090ac-979d-4c75-b048-fa132f3670f4</title></pubsub></data>

2022-06-25 23:20:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 23:20:02 | [Mutex] waiting for: [received:nodes:b44e35b7-581c-45da-8f3c-eea27217d545:localhost]

2022-06-25 23:20:02 | [Mutex] waiting for: [received:nodes:b44e35b7-581c-45da-8f3c-eea27217d545:localhost]

2022-06-25 23:20:02 | [Mutex] received everything.

2022-06-25 23:20:02 | [Mutex] isItemNotified: received:node:b44e35b7-581c-45da-8f3c-eea27217d545:localhost:node-80e090ac-979d-4c75-b048-fa132f3670f4:Node 80e090ac-979d-4c75-b048-fa132f3670f4 :: true

createSubnodes 1.032s
2022-06-25 23:20:02 |

2022-06-25 23:20:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:02 | ------------------------------------

2022-06-25 23:20:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-062b4c43-c750-4a83-a1ae-cddfce7be610</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 062b4c43-c750-4a83-a1ae-cddfce7be610</title></pubsub></data>

2022-06-25 23:20:02 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 23:20:03 | [Mutex] waiting for: [received:nodes:8e0b88ae-8536-40f3-8455-b7772a9a4366:localhost]

2022-06-25 23:20:03 | [Mutex] received everything.

2022-06-25 23:20:03 | [Mutex] isItemNotified: received:node:8e0b88ae-8536-40f3-8455-b7772a9a4366:localhost:node-062b4c43-c750-4a83-a1ae-cddfce7be610:Node 062b4c43-c750-4a83-a1ae-cddfce7be610 :: true

deleteNodes 1.020s
2022-06-25 23:20:08 |

2022-06-25 23:20:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:08 | ------------------------------------

2022-06-25 23:20:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-062b4c43-c750-4a83-a1ae-cddfce7be610</node></data>

2022-06-25 23:20:08 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 23:20:09 | [Mutex] waiting for: [received:nodes:40d79d60-97f7-4e94-81c4-f1b7255ca2da:localhost]

2022-06-25 23:20:09 | [Mutex] waiting for: [received:nodes:40d79d60-97f7-4e94-81c4-f1b7255ca2da:localhost]

2022-06-25 23:20:09 | [Mutex] received everything.

2022-06-25 23:20:09 | [Mutex] isItemNotified: received:node:40d79d60-97f7-4e94-81c4-f1b7255ca2da:localhost:node-062b4c43-c750-4a83-a1ae-cddfce7be610:Node 062b4c43-c750-4a83-a1ae-cddfce7be610 :: false

deleteSubnodes 1.122s
2022-06-25 23:20:07 |

2022-06-25 23:20:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:07 | ------------------------------------

2022-06-25 23:20:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-80e090ac-979d-4c75-b048-fa132f3670f4</node></data>

2022-06-25 23:20:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-25 23:20:08 | [Mutex] waiting for: [received:nodes:73cb9734-00d4-4e26-8d2a-ab83b772e813:localhost]

2022-06-25 23:20:08 | [Mutex] waiting for: [received:nodes:73cb9734-00d4-4e26-8d2a-ab83b772e813:localhost]

2022-06-25 23:20:08 | [Mutex] waiting for: [received:nodes:73cb9734-00d4-4e26-8d2a-ab83b772e813:localhost]

2022-06-25 23:20:08 | [Mutex] received everything.

2022-06-25 23:20:08 | [Mutex] isItemNotified: received:node:73cb9734-00d4-4e26-8d2a-ab83b772e813:localhost:node-80e090ac-979d-4c75-b048-fa132f3670f4:Node 80e090ac-979d-4c75-b048-fa132f3670f4 :: false

2022-06-25 23:20:08 | [Mutex] waiting for: [received:nodes:471ed399-dfdb-48f1-bd99-55d3e9247f56:localhost]

2022-06-25 23:20:08 | [Mutex] received everything.

2022-06-25 23:20:08 | [Mutex] isItemNotified: received:node:471ed399-dfdb-48f1-bd99-55d3e9247f56:localhost:node-80e090ac-979d-4c75-b048-fa132f3670f4:Node 80e090ac-979d-4c75-b048-fa132f3670f4 :: false

publishItemsToNodes 0.213s
2022-06-25 23:20:05 |

2022-06-25 23:20:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:05 | ------------------------------------

2022-06-25 23:20:05 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-80e090ac-979d-4c75-b048-fa132f3670f4</node><item-id>item-08e66f52-6949-463b-ba68-466ac8331085</item-id><entry><test>item-08e66f52-6949-463b-ba68-466ac8331085</test></entry></data>

2022-06-25 23:20:05 | 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-08e66f52-6949-463b-ba68-466ac8331085</value></item-id></result>

2022-06-25 23:20:05 | [Mutex] received everything.

2022-06-25 23:20:05 | [Mutex] isItemNotified: published:item:notifieditem-08e66f52-6949-463b-ba68-466ac8331085:admin@test-domain.com :: true

retractItemsFromNodes 0.239s
2022-06-25 23:20:06 |

2022-06-25 23:20:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:06 | ------------------------------------

2022-06-25 23:20:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-80e090ac-979d-4c75-b048-fa132f3670f4</node><item-id>item-08e66f52-6949-463b-ba68-466ac8331085</item-id></data>

2022-06-25 23:20:06 | 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-08e66f52-6949-463b-ba68-466ac8331085</value></item-id></result>

2022-06-25 23:20:06 | [Mutex] received everything.

2022-06-25 23:20:06 | [Mutex] isItemNotified: retracted:item:notifieditem-08e66f52-6949-463b-ba68-466ac8331085:admin@test-domain.com :: true

retrieveItemsFromNodes 0.246s
2022-06-25 23:20:05 |

2022-06-25 23:20:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:05 | ------------------------------------

2022-06-25 23:20:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-80e090ac-979d-4c75-b048-fa132f3670f4</node><item-id>item-08e66f52-6949-463b-ba68-466ac8331085</item-id></data>

2022-06-25 23:20:06 | 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-80e090ac-979d-4c75-b048-fa132f3670f4</value></node><item-id type="text-single" label="Item ID"><value>item-08e66f52-6949-463b-ba68-466ac8331085</value></item-id><item type="text-multi" label="Item"><value><item id="item-08e66f52-6949-463b-ba68-466ac8331085"><test>item-08e66f52-6949-463b-ba68-466ac8331085</test></item></value></item></result>

2022-06-25 23:20:06 | [Mutex] notify: [retrieved:item:item-08e66f52-6949-463b-ba68-466ac8331085:payload-matches:true:localhost]

2022-06-25 23:20:06 | [Mutex] received everything.

2022-06-25 23:20:06 | [Mutex] isItemNotified: retrieved:item:item-08e66f52-6949-463b-ba68-466ac8331085:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-06-25 23:20:06 |

2022-06-25 23:20:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:06 | ------------------------------------

2022-06-25 23:20:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-25 23:20:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-062b4c43-c750-4a83-a1ae-cddfce7be610</value><value>test</value><value>node-80e090ac-979d-4c75-b048-fa132f3670f4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-25 23:20:06 |

2022-06-25 23:20:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:06 | ------------------------------------

2022-06-25 23:20:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-80e090ac-979d-4c75-b048-fa132f3670f4)</node-pattern></data>

2022-06-25 23:20:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.117s
2022-06-25 23:20:04 |

2022-06-25 23:20:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:04 | ------------------------------------

2022-06-25 23:20:04 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-80e090ac-979d-4c75-b048-fa132f3670f4</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-25 23:20:04 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.227s
2022-06-25 23:20:06 |

2022-06-25 23:20:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-25 23:20:06 | ------------------------------------

2022-06-25 23:20:06 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-80e090ac-979d-4c75-b048-fa132f3670f4</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-25 23:20:06 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>