Generated by TestNG with ReportNG at 22:46 PDT on Thursday 23 March 2023
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.216s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2023-03-23 23:00:45 |

2023-03-23 23:00:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:45 | ------------------------------------

2023-03-23 23:00:45 | [Mutex] waiting for: [configured:node:node-591f105f-d88f-420c-8203-d85ae309dfa3:node-c26a3149-98a4-46ac-b5bc-6d1c391bdbad]

2023-03-23 23:00:45 | [Mutex] received everything.

2023-03-23 23:00:45 | [Mutex] isItemNotified: configured:node:node-591f105f-d88f-420c-8203-d85ae309dfa3:node-c26a3149-98a4-46ac-b5bc-6d1c391bdbad :: true

2023-03-23 23:00:46 | [Mutex] waiting for: [received:nodes:82cdf96a-026c-4ce0-995e-2de3a56d5352:localhost]

2023-03-23 23:00:46 | [Mutex] received everything.

2023-03-23 23:00:46 | [Mutex] isItemNotified: received:node:82cdf96a-026c-4ce0-995e-2de3a56d5352:localhost:node-591f105f-d88f-420c-8203-d85ae309dfa3:Node 591f105f-d88f-420c-8203-d85ae309dfa3 :: true

2023-03-23 23:00:46 | [Mutex] waiting for: [received:nodes:945e0cfa-64bc-4258-b120-0cb5ff820d67:localhost]

2023-03-23 23:00:46 | [Mutex] waiting for: [received:nodes:945e0cfa-64bc-4258-b120-0cb5ff820d67:localhost]

2023-03-23 23:00:46 | [Mutex] waiting for: [received:nodes:945e0cfa-64bc-4258-b120-0cb5ff820d67:localhost]

2023-03-23 23:00:46 | [Mutex] received everything.

2023-03-23 23:00:46 | [Mutex] isItemNotified: received:node:945e0cfa-64bc-4258-b120-0cb5ff820d67:localhost:node-591f105f-d88f-420c-8203-d85ae309dfa3:Node 591f105f-d88f-420c-8203-d85ae309dfa3 :: false

createNodes 1.368s
2023-03-23 23:00:42 |

2023-03-23 23:00:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:42 | ------------------------------------

2023-03-23 23:00:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-591f105f-d88f-420c-8203-d85ae309dfa3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 591f105f-d88f-420c-8203-d85ae309dfa3</title></pubsub></data>

2023-03-23 23:00:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-23 23:00:44 | [Mutex] waiting for: [received:nodes:7b7b569e-9963-46f1-98e3-1220b9a9a17e:localhost]

2023-03-23 23:00:44 | [Mutex] waiting for: [received:nodes:7b7b569e-9963-46f1-98e3-1220b9a9a17e:localhost]

2023-03-23 23:00:44 | [Mutex] waiting for: [received:nodes:7b7b569e-9963-46f1-98e3-1220b9a9a17e:localhost]

2023-03-23 23:00:44 | [Mutex] received everything.

2023-03-23 23:00:44 | [Mutex] isItemNotified: received:node:7b7b569e-9963-46f1-98e3-1220b9a9a17e:localhost:node-591f105f-d88f-420c-8203-d85ae309dfa3:Node 591f105f-d88f-420c-8203-d85ae309dfa3 :: true

createSubnodes 1.023s
2023-03-23 23:00:44 |

2023-03-23 23:00:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:44 | ------------------------------------

2023-03-23 23:00:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c26a3149-98a4-46ac-b5bc-6d1c391bdbad</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c26a3149-98a4-46ac-b5bc-6d1c391bdbad</title></pubsub></data>

2023-03-23 23:00:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-23 23:00:45 | [Mutex] waiting for: [received:nodes:078e9e1e-356b-4e2e-a93a-52a6c7f7818e:localhost]

2023-03-23 23:00:45 | [Mutex] received everything.

2023-03-23 23:00:45 | [Mutex] isItemNotified: received:node:078e9e1e-356b-4e2e-a93a-52a6c7f7818e:localhost:node-c26a3149-98a4-46ac-b5bc-6d1c391bdbad:Node c26a3149-98a4-46ac-b5bc-6d1c391bdbad :: true

deleteNodes 1.018s
2023-03-23 23:00:50 |

2023-03-23 23:00:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:50 | ------------------------------------

2023-03-23 23:00:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c26a3149-98a4-46ac-b5bc-6d1c391bdbad</node></data>

2023-03-23 23:00:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-23 23:00:51 | [Mutex] waiting for: [received:nodes:184d2820-bab3-4d24-b56f-4c6e24f646f0:localhost]

2023-03-23 23:00:51 | [Mutex] waiting for: [received:nodes:184d2820-bab3-4d24-b56f-4c6e24f646f0:localhost]

2023-03-23 23:00:51 | [Mutex] waiting for: [received:nodes:184d2820-bab3-4d24-b56f-4c6e24f646f0:localhost]

2023-03-23 23:00:51 | [Mutex] received everything.

2023-03-23 23:00:51 | [Mutex] isItemNotified: received:node:184d2820-bab3-4d24-b56f-4c6e24f646f0:localhost:node-c26a3149-98a4-46ac-b5bc-6d1c391bdbad:Node c26a3149-98a4-46ac-b5bc-6d1c391bdbad :: false

deleteSubnodes 1.124s
2023-03-23 23:00:49 |

2023-03-23 23:00:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:49 | ------------------------------------

2023-03-23 23:00:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-591f105f-d88f-420c-8203-d85ae309dfa3</node></data>

2023-03-23 23:00:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-23 23:00:50 | [Mutex] waiting for: [received:nodes:f42ba03e-9ec4-478d-a9c9-e20bff765953:localhost]

2023-03-23 23:00:50 | [Mutex] waiting for: [received:nodes:f42ba03e-9ec4-478d-a9c9-e20bff765953:localhost]

2023-03-23 23:00:50 | [Mutex] waiting for: [received:nodes:f42ba03e-9ec4-478d-a9c9-e20bff765953:localhost]

2023-03-23 23:00:50 | [Mutex] waiting for: [received:nodes:f42ba03e-9ec4-478d-a9c9-e20bff765953:localhost]

2023-03-23 23:00:50 | [Mutex] received everything.

2023-03-23 23:00:50 | [Mutex] isItemNotified: received:node:f42ba03e-9ec4-478d-a9c9-e20bff765953:localhost:node-591f105f-d88f-420c-8203-d85ae309dfa3:Node 591f105f-d88f-420c-8203-d85ae309dfa3 :: false

2023-03-23 23:00:50 | [Mutex] waiting for: [received:nodes:b7e50906-8f41-4bdd-bbda-f3a886a73af7:localhost]

2023-03-23 23:00:50 | [Mutex] received everything.

2023-03-23 23:00:50 | [Mutex] isItemNotified: received:node:b7e50906-8f41-4bdd-bbda-f3a886a73af7:localhost:node-591f105f-d88f-420c-8203-d85ae309dfa3:Node 591f105f-d88f-420c-8203-d85ae309dfa3 :: false

publishItemsToNodes 0.217s
2023-03-23 23:00:47 |

2023-03-23 23:00:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:47 | ------------------------------------

2023-03-23 23:00:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-591f105f-d88f-420c-8203-d85ae309dfa3</node><item-id>item-72274541-8172-4ea8-8ced-e371ca4988c8</item-id><entry><test>item-72274541-8172-4ea8-8ced-e371ca4988c8</test></entry></data>

2023-03-23 23:00:47 | 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-72274541-8172-4ea8-8ced-e371ca4988c8</value></item-id></result>

2023-03-23 23:00:47 | [Mutex] waiting for: [published:item:notifieditem-72274541-8172-4ea8-8ced-e371ca4988c8:admin@test-domain.com]

2023-03-23 23:00:47 | [Mutex] received everything.

2023-03-23 23:00:47 | [Mutex] isItemNotified: published:item:notifieditem-72274541-8172-4ea8-8ced-e371ca4988c8:admin@test-domain.com :: true

retractItemsFromNodes 0.302s
2023-03-23 23:00:47 |

2023-03-23 23:00:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:47 | ------------------------------------

2023-03-23 23:00:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-591f105f-d88f-420c-8203-d85ae309dfa3</node><item-id>item-72274541-8172-4ea8-8ced-e371ca4988c8</item-id></data>

2023-03-23 23:00:48 | 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-72274541-8172-4ea8-8ced-e371ca4988c8</value></item-id></result>

2023-03-23 23:00:48 | [Mutex] received everything.

2023-03-23 23:00:48 | [Mutex] isItemNotified: retracted:item:notifieditem-72274541-8172-4ea8-8ced-e371ca4988c8:admin@test-domain.com :: true

retrieveItemsFromNodes 0.128s
2023-03-23 23:00:47 |

2023-03-23 23:00:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:47 | ------------------------------------

2023-03-23 23:00:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-591f105f-d88f-420c-8203-d85ae309dfa3</node><item-id>item-72274541-8172-4ea8-8ced-e371ca4988c8</item-id></data>

2023-03-23 23:00:47 | 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-591f105f-d88f-420c-8203-d85ae309dfa3</value></node><item-id type="text-single" label="Item ID"><value>item-72274541-8172-4ea8-8ced-e371ca4988c8</value></item-id><item type="text-multi" label="Item"><value><item id="item-72274541-8172-4ea8-8ced-e371ca4988c8"><test>item-72274541-8172-4ea8-8ced-e371ca4988c8</test></item></value></item></result>

2023-03-23 23:00:47 | [Mutex] notify: [retrieved:item:item-72274541-8172-4ea8-8ced-e371ca4988c8:payload-matches:true:localhost]

2023-03-23 23:00:47 | [Mutex] received everything.

2023-03-23 23:00:47 | [Mutex] isItemNotified: retrieved:item:item-72274541-8172-4ea8-8ced-e371ca4988c8:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-23 23:00:47 |

2023-03-23 23:00:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:47 | ------------------------------------

2023-03-23 23:00:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-23 23:00:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-591f105f-d88f-420c-8203-d85ae309dfa3</value><value>test</value><value>node-c26a3149-98a4-46ac-b5bc-6d1c391bdbad</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-03-23 23:00:47 |

2023-03-23 23:00:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:47 | ------------------------------------

2023-03-23 23:00:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-591f105f-d88f-420c-8203-d85ae309dfa3)</node-pattern></data>

2023-03-23 23:00:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.099s
2023-03-23 23:00:46 |

2023-03-23 23:00:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:46 | ------------------------------------

2023-03-23 23:00:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-591f105f-d88f-420c-8203-d85ae309dfa3</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-23 23:00:46 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.181s
2023-03-23 23:00:48 |

2023-03-23 23:00:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-23 23:00:48 | ------------------------------------

2023-03-23 23:00:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-591f105f-d88f-420c-8203-d85ae309dfa3</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-23 23:00:48 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>