Generated by TestNG with ReportNG at 21:48 PST on Monday 21 February 2022
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.365s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.141s
2022-02-21 22:04:05 |

2022-02-21 22:04:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:05 | ------------------------------------

2022-02-21 22:04:05 | [Mutex] waiting for: [configured:node:node-cb2beaf3-4410-4bba-956b-28ff25588f6a:node-2ac9392a-3f11-4f30-b342-32676889fc43]

2022-02-21 22:04:05 | [Mutex] received everything.

2022-02-21 22:04:05 | [Mutex] isItemNotified: configured:node:node-cb2beaf3-4410-4bba-956b-28ff25588f6a:node-2ac9392a-3f11-4f30-b342-32676889fc43 :: true

2022-02-21 22:04:06 | [Mutex] waiting for: [received:nodes:246a9f10-bf22-416e-935f-9e08bb2d367a:localhost]

2022-02-21 22:04:06 | [Mutex] received everything.

2022-02-21 22:04:06 | [Mutex] isItemNotified: received:node:246a9f10-bf22-416e-935f-9e08bb2d367a:localhost:node-cb2beaf3-4410-4bba-956b-28ff25588f6a:Node cb2beaf3-4410-4bba-956b-28ff25588f6a :: true

2022-02-21 22:04:06 | [Mutex] waiting for: [received:nodes:18a3e8a9-2455-48ff-bb76-622c819477cb:localhost]

2022-02-21 22:04:06 | [Mutex] received everything.

2022-02-21 22:04:06 | [Mutex] isItemNotified: received:node:18a3e8a9-2455-48ff-bb76-622c819477cb:localhost:node-cb2beaf3-4410-4bba-956b-28ff25588f6a:Node cb2beaf3-4410-4bba-956b-28ff25588f6a :: false

createNodes 1.589s
2022-02-21 22:04:02 |

2022-02-21 22:04:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:02 | ------------------------------------

2022-02-21 22:04:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cb2beaf3-4410-4bba-956b-28ff25588f6a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node cb2beaf3-4410-4bba-956b-28ff25588f6a</title></pubsub></data>

2022-02-21 22:04:03 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-21 22:04:04 | [Mutex] waiting for: [received:nodes:856eaaed-81b3-4933-b58b-73745c98c8bf:localhost]

2022-02-21 22:04:04 | [Mutex] received everything.

2022-02-21 22:04:04 | [Mutex] isItemNotified: received:node:856eaaed-81b3-4933-b58b-73745c98c8bf:localhost:node-cb2beaf3-4410-4bba-956b-28ff25588f6a:Node cb2beaf3-4410-4bba-956b-28ff25588f6a :: true

createSubnodes 1.023s
2022-02-21 22:04:04 |

2022-02-21 22:04:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:04 | ------------------------------------

2022-02-21 22:04:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2ac9392a-3f11-4f30-b342-32676889fc43</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2ac9392a-3f11-4f30-b342-32676889fc43</title></pubsub></data>

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

2022-02-21 22:04:05 | [Mutex] waiting for: [received:nodes:1bd4a90d-d92f-4fa4-abac-8b496d0b4db3:localhost]

2022-02-21 22:04:05 | [Mutex] received everything.

2022-02-21 22:04:05 | [Mutex] isItemNotified: received:node:1bd4a90d-d92f-4fa4-abac-8b496d0b4db3:localhost:node-2ac9392a-3f11-4f30-b342-32676889fc43:Node 2ac9392a-3f11-4f30-b342-32676889fc43 :: true

deleteNodes 1.016s
2022-02-21 22:04:11 |

2022-02-21 22:04:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:11 | ------------------------------------

2022-02-21 22:04:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2ac9392a-3f11-4f30-b342-32676889fc43</node></data>

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

2022-02-21 22:04:12 | [Mutex] waiting for: [received:nodes:27f46675-4c41-4971-88d5-64062fc1a31c:localhost]

2022-02-21 22:04:12 | [Mutex] received everything.

2022-02-21 22:04:12 | [Mutex] isItemNotified: received:node:27f46675-4c41-4971-88d5-64062fc1a31c:localhost:node-2ac9392a-3f11-4f30-b342-32676889fc43:Node 2ac9392a-3f11-4f30-b342-32676889fc43 :: false

deleteSubnodes 1.155s
2022-02-21 22:04:09 |

2022-02-21 22:04:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:09 | ------------------------------------

2022-02-21 22:04:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cb2beaf3-4410-4bba-956b-28ff25588f6a</node></data>

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

2022-02-21 22:04:11 | [Mutex] waiting for: [received:nodes:0532c5cd-18c3-425d-9ba7-b24df39d3237:localhost]

2022-02-21 22:04:11 | [Mutex] received everything.

2022-02-21 22:04:11 | [Mutex] isItemNotified: received:node:0532c5cd-18c3-425d-9ba7-b24df39d3237:localhost:node-cb2beaf3-4410-4bba-956b-28ff25588f6a:Node cb2beaf3-4410-4bba-956b-28ff25588f6a :: false

2022-02-21 22:04:11 | [Mutex] waiting for: [received:nodes:c71a927d-ace7-4419-a956-1183721e3784:localhost]

2022-02-21 22:04:11 | [Mutex] received everything.

2022-02-21 22:04:11 | [Mutex] isItemNotified: received:node:c71a927d-ace7-4419-a956-1183721e3784:localhost:node-cb2beaf3-4410-4bba-956b-28ff25588f6a:Node cb2beaf3-4410-4bba-956b-28ff25588f6a :: false

publishItemsToNodes 0.249s
2022-02-21 22:04:07 |

2022-02-21 22:04:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:07 | ------------------------------------

2022-02-21 22:04:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-cb2beaf3-4410-4bba-956b-28ff25588f6a</node><item-id>item-85dde627-2c35-407b-8088-a63f18d5acfb</item-id><entry><test>item-85dde627-2c35-407b-8088-a63f18d5acfb</test></entry></data>

2022-02-21 22:04:07 | 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-85dde627-2c35-407b-8088-a63f18d5acfb</value></item-id></result>

2022-02-21 22:04:07 | [Mutex] waiting for: [published:item:notifieditem-85dde627-2c35-407b-8088-a63f18d5acfb:admin@test-domain.com]

2022-02-21 22:04:07 | [Mutex] received everything.

2022-02-21 22:04:07 | [Mutex] isItemNotified: published:item:notifieditem-85dde627-2c35-407b-8088-a63f18d5acfb:admin@test-domain.com :: true

retractItemsFromNodes 0.264s
2022-02-21 22:04:08 |

2022-02-21 22:04:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:08 | ------------------------------------

2022-02-21 22:04:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-cb2beaf3-4410-4bba-956b-28ff25588f6a</node><item-id>item-85dde627-2c35-407b-8088-a63f18d5acfb</item-id></data>

2022-02-21 22:04:08 | 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-85dde627-2c35-407b-8088-a63f18d5acfb</value></item-id></result>

2022-02-21 22:04:08 | [Mutex] waiting for: [retracted:item:notifieditem-85dde627-2c35-407b-8088-a63f18d5acfb:admin@test-domain.com]

2022-02-21 22:04:08 | [Mutex] received everything.

2022-02-21 22:04:08 | [Mutex] isItemNotified: retracted:item:notifieditem-85dde627-2c35-407b-8088-a63f18d5acfb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.292s
2022-02-21 22:04:07 |

2022-02-21 22:04:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:07 | ------------------------------------

2022-02-21 22:04:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-cb2beaf3-4410-4bba-956b-28ff25588f6a</node><item-id>item-85dde627-2c35-407b-8088-a63f18d5acfb</item-id></data>

2022-02-21 22:04:08 | 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-cb2beaf3-4410-4bba-956b-28ff25588f6a</value></node><item-id type="text-single" label="Item ID"><value>item-85dde627-2c35-407b-8088-a63f18d5acfb</value></item-id><item type="text-multi" label="Item"><value><item id="item-85dde627-2c35-407b-8088-a63f18d5acfb"><test>item-85dde627-2c35-407b-8088-a63f18d5acfb</test></item></value></item></result>

2022-02-21 22:04:08 | [Mutex] notify: [retrieved:item:item-85dde627-2c35-407b-8088-a63f18d5acfb:payload-matches:true:localhost]

2022-02-21 22:04:08 | [Mutex] received everything.

2022-02-21 22:04:08 | [Mutex] isItemNotified: retrieved:item:item-85dde627-2c35-407b-8088-a63f18d5acfb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-02-21 22:04:08 |

2022-02-21 22:04:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:08 | ------------------------------------

2022-02-21 22:04:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-21 22:04:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-2ac9392a-3f11-4f30-b342-32676889fc43</value><value>test</value><value>node-cb2beaf3-4410-4bba-956b-28ff25588f6a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-21 22:04:08 |

2022-02-21 22:04:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:08 | ------------------------------------

2022-02-21 22:04:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-cb2beaf3-4410-4bba-956b-28ff25588f6a)</node-pattern></data>

2022-02-21 22:04:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.195s
2022-02-21 22:04:06 |

2022-02-21 22:04:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:06 | ------------------------------------

2022-02-21 22:04:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-cb2beaf3-4410-4bba-956b-28ff25588f6a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.386s
2022-02-21 22:04:08 |

2022-02-21 22:04:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-21 22:04:08 | ------------------------------------

2022-02-21 22:04:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-cb2beaf3-4410-4bba-956b-28ff25588f6a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-21 22:04:08 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>