Generated by TestNG with ReportNG at 22:46 PDT on Monday 25 July 2022
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.525s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2022-07-25 23:00:31 |

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

2022-07-25 23:00:31 | ------------------------------------

2022-07-25 23:00:31 | [Mutex] waiting for: [configured:node:node-3ef10eb0-225e-4e3a-9c21-3734546bfe55:node-1df8d14d-e29b-4dd1-97a8-382a95d479cb]

2022-07-25 23:00:32 | [Mutex] received everything.

2022-07-25 23:00:32 | [Mutex] isItemNotified: configured:node:node-3ef10eb0-225e-4e3a-9c21-3734546bfe55:node-1df8d14d-e29b-4dd1-97a8-382a95d479cb :: true

2022-07-25 23:00:33 | [Mutex] waiting for: [received:nodes:508eab63-aa2f-418b-a9ca-ad2fe053ddc5:localhost]

2022-07-25 23:00:33 | [Mutex] received everything.

2022-07-25 23:00:33 | [Mutex] isItemNotified: received:node:508eab63-aa2f-418b-a9ca-ad2fe053ddc5:localhost:node-3ef10eb0-225e-4e3a-9c21-3734546bfe55:Node 3ef10eb0-225e-4e3a-9c21-3734546bfe55 :: true

2022-07-25 23:00:33 | [Mutex] waiting for: [received:nodes:0a8ba4ab-5070-422a-8d89-e07280a685e1:localhost]

2022-07-25 23:00:33 | [Mutex] waiting for: [received:nodes:0a8ba4ab-5070-422a-8d89-e07280a685e1:localhost]

2022-07-25 23:00:33 | [Mutex] received everything.

2022-07-25 23:00:33 | [Mutex] isItemNotified: received:node:0a8ba4ab-5070-422a-8d89-e07280a685e1:localhost:node-3ef10eb0-225e-4e3a-9c21-3734546bfe55:Node 3ef10eb0-225e-4e3a-9c21-3734546bfe55 :: false

createNodes 1.405s
2022-07-25 23:00:29 |

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

2022-07-25 23:00:29 | ------------------------------------

2022-07-25 23:00:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3ef10eb0-225e-4e3a-9c21-3734546bfe55</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3ef10eb0-225e-4e3a-9c21-3734546bfe55</title></pubsub></data>

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

2022-07-25 23:00:30 | [Mutex] waiting for: [received:nodes:271844d8-0c2c-4d24-b82c-acae7db15352:localhost]

2022-07-25 23:00:30 | [Mutex] waiting for: [received:nodes:271844d8-0c2c-4d24-b82c-acae7db15352:localhost]

2022-07-25 23:00:30 | [Mutex] waiting for: [received:nodes:271844d8-0c2c-4d24-b82c-acae7db15352:localhost]

2022-07-25 23:00:30 | [Mutex] received everything.

2022-07-25 23:00:30 | [Mutex] isItemNotified: received:node:271844d8-0c2c-4d24-b82c-acae7db15352:localhost:node-3ef10eb0-225e-4e3a-9c21-3734546bfe55:Node 3ef10eb0-225e-4e3a-9c21-3734546bfe55 :: true

createSubnodes 1.021s
2022-07-25 23:00:30 |

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

2022-07-25 23:00:30 | ------------------------------------

2022-07-25 23:00:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1df8d14d-e29b-4dd1-97a8-382a95d479cb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1df8d14d-e29b-4dd1-97a8-382a95d479cb</title></pubsub></data>

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

2022-07-25 23:00:31 | [Mutex] waiting for: [received:nodes:e691b530-fd00-4508-b291-552065a907a6:localhost]

2022-07-25 23:00:31 | [Mutex] received everything.

2022-07-25 23:00:31 | [Mutex] isItemNotified: received:node:e691b530-fd00-4508-b291-552065a907a6:localhost:node-1df8d14d-e29b-4dd1-97a8-382a95d479cb:Node 1df8d14d-e29b-4dd1-97a8-382a95d479cb :: true

deleteNodes 1.014s
2022-07-25 23:00:37 |

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

2022-07-25 23:00:37 | ------------------------------------

2022-07-25 23:00:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1df8d14d-e29b-4dd1-97a8-382a95d479cb</node></data>

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

2022-07-25 23:00:38 | [Mutex] waiting for: [received:nodes:92d0b5eb-388b-4325-b612-60980df058f8:localhost]

2022-07-25 23:00:38 | [Mutex] received everything.

2022-07-25 23:00:38 | [Mutex] isItemNotified: received:node:92d0b5eb-388b-4325-b612-60980df058f8:localhost:node-1df8d14d-e29b-4dd1-97a8-382a95d479cb:Node 1df8d14d-e29b-4dd1-97a8-382a95d479cb :: false

deleteSubnodes 1.115s
2022-07-25 23:00:36 |

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

2022-07-25 23:00:36 | ------------------------------------

2022-07-25 23:00:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3ef10eb0-225e-4e3a-9c21-3734546bfe55</node></data>

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

2022-07-25 23:00:37 | [Mutex] waiting for: [received:nodes:516a56fa-3082-4c3d-9b4d-97216c662e1e:localhost]

2022-07-25 23:00:37 | [Mutex] waiting for: [received:nodes:516a56fa-3082-4c3d-9b4d-97216c662e1e:localhost]

2022-07-25 23:00:37 | [Mutex] received everything.

2022-07-25 23:00:37 | [Mutex] isItemNotified: received:node:516a56fa-3082-4c3d-9b4d-97216c662e1e:localhost:node-3ef10eb0-225e-4e3a-9c21-3734546bfe55:Node 3ef10eb0-225e-4e3a-9c21-3734546bfe55 :: false

2022-07-25 23:00:37 | [Mutex] waiting for: [received:nodes:c35530a3-faea-48a3-bcf3-678fce91df93:localhost]

2022-07-25 23:00:37 | [Mutex] received everything.

2022-07-25 23:00:37 | [Mutex] isItemNotified: received:node:c35530a3-faea-48a3-bcf3-678fce91df93:localhost:node-3ef10eb0-225e-4e3a-9c21-3734546bfe55:Node 3ef10eb0-225e-4e3a-9c21-3734546bfe55 :: false

publishItemsToNodes 0.294s
2022-07-25 23:00:34 |

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

2022-07-25 23:00:34 | ------------------------------------

2022-07-25 23:00:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3ef10eb0-225e-4e3a-9c21-3734546bfe55</node><item-id>item-40810a77-c816-4907-958f-0033f0f29a7a</item-id><entry><test>item-40810a77-c816-4907-958f-0033f0f29a7a</test></entry></data>

2022-07-25 23:00:34 | 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-40810a77-c816-4907-958f-0033f0f29a7a</value></item-id></result>

2022-07-25 23:00:34 | [Mutex] waiting for: [published:item:notifieditem-40810a77-c816-4907-958f-0033f0f29a7a:admin@test-domain.com]

2022-07-25 23:00:34 | [Mutex] received everything.

2022-07-25 23:00:34 | [Mutex] isItemNotified: published:item:notifieditem-40810a77-c816-4907-958f-0033f0f29a7a:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-07-25 23:00:34 |

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

2022-07-25 23:00:34 | ------------------------------------

2022-07-25 23:00:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3ef10eb0-225e-4e3a-9c21-3734546bfe55</node><item-id>item-40810a77-c816-4907-958f-0033f0f29a7a</item-id></data>

2022-07-25 23:00:35 | 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-40810a77-c816-4907-958f-0033f0f29a7a</value></item-id></result>

2022-07-25 23:00:35 | [Mutex] received everything.

2022-07-25 23:00:35 | [Mutex] isItemNotified: retracted:item:notifieditem-40810a77-c816-4907-958f-0033f0f29a7a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.224s
2022-07-25 23:00:34 |

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

2022-07-25 23:00:34 | ------------------------------------

2022-07-25 23:00:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3ef10eb0-225e-4e3a-9c21-3734546bfe55</node><item-id>item-40810a77-c816-4907-958f-0033f0f29a7a</item-id></data>

2022-07-25 23:00:34 | 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-3ef10eb0-225e-4e3a-9c21-3734546bfe55</value></node><item-id type="text-single" label="Item ID"><value>item-40810a77-c816-4907-958f-0033f0f29a7a</value></item-id><item type="text-multi" label="Item"><value><item id="item-40810a77-c816-4907-958f-0033f0f29a7a"><test>item-40810a77-c816-4907-958f-0033f0f29a7a</test></item></value></item></result>

2022-07-25 23:00:34 | [Mutex] notify: [retrieved:item:item-40810a77-c816-4907-958f-0033f0f29a7a:payload-matches:true:localhost]

2022-07-25 23:00:34 | [Mutex] received everything.

2022-07-25 23:00:34 | [Mutex] isItemNotified: retrieved:item:item-40810a77-c816-4907-958f-0033f0f29a7a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-07-25 23:00:34 |

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

2022-07-25 23:00:34 | ------------------------------------

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

2022-07-25 23:00:34 | 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-1df8d14d-e29b-4dd1-97a8-382a95d479cb</value><value>node-3ef10eb0-225e-4e3a-9c21-3734546bfe55</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-25 23:00:34 |

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

2022-07-25 23:00:34 | ------------------------------------

2022-07-25 23:00:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3ef10eb0-225e-4e3a-9c21-3734546bfe55)</node-pattern></data>

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

subscribeNodes 1.146s
2022-07-25 23:00:33 |

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

2022-07-25 23:00:33 | ------------------------------------

2022-07-25 23:00:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3ef10eb0-225e-4e3a-9c21-3734546bfe55</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.143s
2022-07-25 23:00:35 |

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

2022-07-25 23:00:35 | ------------------------------------

2022-07-25 23:00:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3ef10eb0-225e-4e3a-9c21-3734546bfe55</node><jids><value>admin@test-domain.com</value></jids></data>

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