Generated by TestNG with ReportNG at 02:14 PST on Thursday 03 February 2022
root@785cf647a4ab / 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.335s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.161s
2022-02-03 02:32:18 |

2022-02-03 02:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:32:18 | ------------------------------------

2022-02-03 02:32:18 | [Mutex] waiting for: [configured:node:node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d:node-451692a2-45b7-4a68-8b87-6424447dd8c7]

2022-02-03 02:32:18 | [Mutex] received everything.

2022-02-03 02:32:18 | [Mutex] isItemNotified: configured:node:node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d:node-451692a2-45b7-4a68-8b87-6424447dd8c7 :: true

2022-02-03 02:32:19 | [Mutex] waiting for: [received:nodes:680530c3-f042-4540-a949-9321de66ae55:localhost]

2022-02-03 02:32:19 | [Mutex] waiting for: [received:nodes:680530c3-f042-4540-a949-9321de66ae55:localhost]

2022-02-03 02:32:19 | [Mutex] received everything.

2022-02-03 02:32:19 | [Mutex] isItemNotified: received:node:680530c3-f042-4540-a949-9321de66ae55:localhost:node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d:Node d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d :: true

2022-02-03 02:32:19 | [Mutex] waiting for: [received:nodes:5952bdd1-6597-4f4a-8aee-a520eae6a1c1:localhost]

2022-02-03 02:32:19 | [Mutex] waiting for: [received:nodes:5952bdd1-6597-4f4a-8aee-a520eae6a1c1:localhost]

2022-02-03 02:32:19 | [Mutex] received everything.

2022-02-03 02:32:19 | [Mutex] isItemNotified: received:node:5952bdd1-6597-4f4a-8aee-a520eae6a1c1:localhost:node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d:Node d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d :: false

createNodes 1.565s
2022-02-03 02:32:16 |

2022-02-03 02:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:32:16 | ------------------------------------

2022-02-03 02:32:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d</title></pubsub></data>

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

2022-02-03 02:32:17 | [Mutex] waiting for: [received:nodes:1ab2cf0b-ac10-4bbc-8c70-07bb614cc4fa:localhost]

2022-02-03 02:32:17 | [Mutex] received everything.

2022-02-03 02:32:17 | [Mutex] isItemNotified: received:node:1ab2cf0b-ac10-4bbc-8c70-07bb614cc4fa:localhost:node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d:Node d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d :: true

createSubnodes 1.031s
2022-02-03 02:32:17 |

2022-02-03 02:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:32:17 | ------------------------------------

2022-02-03 02:32:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-451692a2-45b7-4a68-8b87-6424447dd8c7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 451692a2-45b7-4a68-8b87-6424447dd8c7</title></pubsub></data>

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

2022-02-03 02:32:18 | [Mutex] waiting for: [received:nodes:f1ae1f50-4f02-4f10-a1c4-e354a7ab4a9b:localhost]

2022-02-03 02:32:18 | [Mutex] waiting for: [received:nodes:f1ae1f50-4f02-4f10-a1c4-e354a7ab4a9b:localhost]

2022-02-03 02:32:18 | [Mutex] waiting for: [received:nodes:f1ae1f50-4f02-4f10-a1c4-e354a7ab4a9b:localhost]

2022-02-03 02:32:18 | [Mutex] received everything.

2022-02-03 02:32:18 | [Mutex] isItemNotified: received:node:f1ae1f50-4f02-4f10-a1c4-e354a7ab4a9b:localhost:node-451692a2-45b7-4a68-8b87-6424447dd8c7:Node 451692a2-45b7-4a68-8b87-6424447dd8c7 :: true

deleteNodes 1.019s
2022-02-03 02:32:24 |

2022-02-03 02:32:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:32:24 | ------------------------------------

2022-02-03 02:32:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-451692a2-45b7-4a68-8b87-6424447dd8c7</node></data>

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

2022-02-03 02:32:25 | [Mutex] waiting for: [received:nodes:239d8a9e-aeca-485e-83b3-7d135c9f5a55:localhost]

2022-02-03 02:32:25 | [Mutex] received everything.

2022-02-03 02:32:25 | [Mutex] isItemNotified: received:node:239d8a9e-aeca-485e-83b3-7d135c9f5a55:localhost:node-451692a2-45b7-4a68-8b87-6424447dd8c7:Node 451692a2-45b7-4a68-8b87-6424447dd8c7 :: false

deleteSubnodes 1.188s
2022-02-03 02:32:23 |

2022-02-03 02:32:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:32:23 | ------------------------------------

2022-02-03 02:32:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d</node></data>

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

2022-02-03 02:32:24 | [Mutex] waiting for: [received:nodes:c46932cc-88e2-4240-ac53-8443e970b8a4:localhost]

2022-02-03 02:32:24 | [Mutex] received everything.

2022-02-03 02:32:24 | [Mutex] isItemNotified: received:node:c46932cc-88e2-4240-ac53-8443e970b8a4:localhost:node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d:Node d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d :: false

2022-02-03 02:32:24 | [Mutex] waiting for: [received:nodes:34d517e3-6881-4209-bede-50412d0db033:localhost]

2022-02-03 02:32:24 | [Mutex] received everything.

2022-02-03 02:32:24 | [Mutex] isItemNotified: received:node:34d517e3-6881-4209-bede-50412d0db033:localhost:node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d:Node d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d :: false

publishItemsToNodes 0.247s
2022-02-03 02:32:21 |

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

2022-02-03 02:32:21 | ------------------------------------

2022-02-03 02:32:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d</node><item-id>item-3399f8e0-51a2-415c-abbe-14469a3fc1e7</item-id><entry><test>item-3399f8e0-51a2-415c-abbe-14469a3fc1e7</test></entry></data>

2022-02-03 02:32:21 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-3399f8e0-51a2-415c-abbe-14469a3fc1e7</value></item-id></result>

2022-02-03 02:32:21 | [Mutex] received everything.

2022-02-03 02:32:21 | [Mutex] isItemNotified: published:item:notifieditem-3399f8e0-51a2-415c-abbe-14469a3fc1e7:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2022-02-03 02:32:21 |

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

2022-02-03 02:32:21 | ------------------------------------

2022-02-03 02:32:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d</node><item-id>item-3399f8e0-51a2-415c-abbe-14469a3fc1e7</item-id></data>

2022-02-03 02:32:22 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-3399f8e0-51a2-415c-abbe-14469a3fc1e7</value></item-id></result>

2022-02-03 02:32:22 | [Mutex] received everything.

2022-02-03 02:32:22 | [Mutex] isItemNotified: retracted:item:notifieditem-3399f8e0-51a2-415c-abbe-14469a3fc1e7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.320s
2022-02-03 02:32:21 |

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

2022-02-03 02:32:21 | ------------------------------------

2022-02-03 02:32:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d</node><item-id>item-3399f8e0-51a2-415c-abbe-14469a3fc1e7</item-id></data>

2022-02-03 02:32:21 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d</value></node><item-id label="Item ID" type="text-single"><value>item-3399f8e0-51a2-415c-abbe-14469a3fc1e7</value></item-id><item label="Item" type="text-multi"><value><item id="item-3399f8e0-51a2-415c-abbe-14469a3fc1e7"><test>item-3399f8e0-51a2-415c-abbe-14469a3fc1e7</test></item></value></item></result>

2022-02-03 02:32:21 | [Mutex] notify: [retrieved:item:item-3399f8e0-51a2-415c-abbe-14469a3fc1e7:payload-matches:true:localhost]

2022-02-03 02:32:21 | [Mutex] received everything.

2022-02-03 02:32:21 | [Mutex] isItemNotified: retrieved:item:item-3399f8e0-51a2-415c-abbe-14469a3fc1e7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-02-03 02:32:21 |

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

2022-02-03 02:32:21 | ------------------------------------

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

2022-02-03 02:32:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-451692a2-45b7-4a68-8b87-6424447dd8c7</value><value>test</value><value>node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-03 02:32:21 |

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

2022-02-03 02:32:21 | ------------------------------------

2022-02-03 02:32:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d)</node-pattern></data>

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

subscribeNodes 1.139s
2022-02-03 02:32:19 |

2022-02-03 02:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-03 02:32:19 | ------------------------------------

2022-02-03 02:32:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.267s
2022-02-03 02:32:22 |

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

2022-02-03 02:32:22 | ------------------------------------

2022-02-03 02:32:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d6b3db0e-0a53-4ce0-a0df-bcd71f018e3d</node><jids><value>admin@test-domain.com</value></jids></data>

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