Generated by TestNG with ReportNG at 22:17 PDT on Tuesday 19 July 2022
root@ed1b7dd8a1b3 / 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.605s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2022-07-19 22:32:56 |

2022-07-19 22:32:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:32:56 | ------------------------------------

2022-07-19 22:32:56 | [Mutex] waiting for: [configured:node:node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c:node-5f0fb634-94e3-4be7-a289-44af7e7479f7]

2022-07-19 22:32:56 | [Mutex] received everything.

2022-07-19 22:32:56 | [Mutex] isItemNotified: configured:node:node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c:node-5f0fb634-94e3-4be7-a289-44af7e7479f7 :: true

2022-07-19 22:32:57 | [Mutex] waiting for: [received:nodes:2b6f1214-c686-48fc-87f1-41e510d00ec7:localhost]

2022-07-19 22:32:57 | [Mutex] waiting for: [received:nodes:2b6f1214-c686-48fc-87f1-41e510d00ec7:localhost]

2022-07-19 22:32:57 | [Mutex] received everything.

2022-07-19 22:32:57 | [Mutex] isItemNotified: received:node:2b6f1214-c686-48fc-87f1-41e510d00ec7:localhost:node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c:Node 02e2ecdc-85b0-499a-b8d8-b58f5b13c88c :: true

2022-07-19 22:32:57 | [Mutex] waiting for: [received:nodes:93d84b4e-6211-4e1b-8233-d864f86781cc:localhost]

2022-07-19 22:32:57 | [Mutex] waiting for: [received:nodes:93d84b4e-6211-4e1b-8233-d864f86781cc:localhost]

2022-07-19 22:32:57 | [Mutex] waiting for: [received:nodes:93d84b4e-6211-4e1b-8233-d864f86781cc:localhost]

2022-07-19 22:32:57 | [Mutex] received everything.

2022-07-19 22:32:57 | [Mutex] isItemNotified: received:node:93d84b4e-6211-4e1b-8233-d864f86781cc:localhost:node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c:Node 02e2ecdc-85b0-499a-b8d8-b58f5b13c88c :: false

createNodes 1.498s
2022-07-19 22:32:54 |

2022-07-19 22:32:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:32:54 | ------------------------------------

2022-07-19 22:32:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 02e2ecdc-85b0-499a-b8d8-b58f5b13c88c</title></pubsub></data>

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

2022-07-19 22:32:55 | [Mutex] waiting for: [received:nodes:905a3e12-c946-4d6b-973f-0d4438780a09:localhost]

2022-07-19 22:32:55 | [Mutex] received everything.

2022-07-19 22:32:55 | [Mutex] isItemNotified: received:node:905a3e12-c946-4d6b-973f-0d4438780a09:localhost:node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c:Node 02e2ecdc-85b0-499a-b8d8-b58f5b13c88c :: true

createSubnodes 1.026s
2022-07-19 22:32:55 |

2022-07-19 22:32:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:32:55 | ------------------------------------

2022-07-19 22:32:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5f0fb634-94e3-4be7-a289-44af7e7479f7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5f0fb634-94e3-4be7-a289-44af7e7479f7</title></pubsub></data>

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

2022-07-19 22:32:56 | [Mutex] waiting for: [received:nodes:5ada4696-3c0e-4001-addd-e64875e45246:localhost]

2022-07-19 22:32:56 | [Mutex] received everything.

2022-07-19 22:32:56 | [Mutex] isItemNotified: received:node:5ada4696-3c0e-4001-addd-e64875e45246:localhost:node-5f0fb634-94e3-4be7-a289-44af7e7479f7:Node 5f0fb634-94e3-4be7-a289-44af7e7479f7 :: true

deleteNodes 1.024s
2022-07-19 22:33:02 |

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

2022-07-19 22:33:02 | ------------------------------------

2022-07-19 22:33:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5f0fb634-94e3-4be7-a289-44af7e7479f7</node></data>

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

2022-07-19 22:33:03 | [Mutex] waiting for: [received:nodes:d8832bb4-d59f-43da-8d30-b5af7beada5f:localhost]

2022-07-19 22:33:03 | [Mutex] received everything.

2022-07-19 22:33:03 | [Mutex] isItemNotified: received:node:d8832bb4-d59f-43da-8d30-b5af7beada5f:localhost:node-5f0fb634-94e3-4be7-a289-44af7e7479f7:Node 5f0fb634-94e3-4be7-a289-44af7e7479f7 :: false

deleteSubnodes 1.146s
2022-07-19 22:33:00 |

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

2022-07-19 22:33:00 | ------------------------------------

2022-07-19 22:33:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c</node></data>

2022-07-19 22:33:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-19 22:33:02 | [Mutex] waiting for: [received:nodes:b668c5bb-8cd6-4474-b6f4-49de67c73774:localhost]

2022-07-19 22:33:02 | [Mutex] waiting for: [received:nodes:b668c5bb-8cd6-4474-b6f4-49de67c73774:localhost]

2022-07-19 22:33:02 | [Mutex] received everything.

2022-07-19 22:33:02 | [Mutex] isItemNotified: received:node:b668c5bb-8cd6-4474-b6f4-49de67c73774:localhost:node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c:Node 02e2ecdc-85b0-499a-b8d8-b58f5b13c88c :: false

2022-07-19 22:33:02 | [Mutex] waiting for: [received:nodes:3211bc63-e602-4912-a8c3-52886b2cde38:localhost]

2022-07-19 22:33:02 | [Mutex] received everything.

2022-07-19 22:33:02 | [Mutex] isItemNotified: received:node:3211bc63-e602-4912-a8c3-52886b2cde38:localhost:node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c:Node 02e2ecdc-85b0-499a-b8d8-b58f5b13c88c :: false

publishItemsToNodes 0.184s
2022-07-19 22:32:58 |

2022-07-19 22:32:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:32:58 | ------------------------------------

2022-07-19 22:32:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c</node><item-id>item-acd9a4bb-b0dd-489c-8e00-311ca31e2a26</item-id><entry><test>item-acd9a4bb-b0dd-489c-8e00-311ca31e2a26</test></entry></data>

2022-07-19 22:32:59 | 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-acd9a4bb-b0dd-489c-8e00-311ca31e2a26</value></item-id></result>

2022-07-19 22:32:59 | [Mutex] received everything.

2022-07-19 22:32:59 | [Mutex] isItemNotified: published:item:notifieditem-acd9a4bb-b0dd-489c-8e00-311ca31e2a26:admin@test-domain.com :: true

retractItemsFromNodes 0.327s
2022-07-19 22:32:59 |

2022-07-19 22:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:32:59 | ------------------------------------

2022-07-19 22:32:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c</node><item-id>item-acd9a4bb-b0dd-489c-8e00-311ca31e2a26</item-id></data>

2022-07-19 22:32:59 | 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-acd9a4bb-b0dd-489c-8e00-311ca31e2a26</value></item-id></result>

2022-07-19 22:32:59 | [Mutex] received everything.

2022-07-19 22:32:59 | [Mutex] isItemNotified: retracted:item:notifieditem-acd9a4bb-b0dd-489c-8e00-311ca31e2a26:admin@test-domain.com :: true

retrieveItemsFromNodes 0.225s
2022-07-19 22:32:59 |

2022-07-19 22:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:32:59 | ------------------------------------

2022-07-19 22:32:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c</node><item-id>item-acd9a4bb-b0dd-489c-8e00-311ca31e2a26</item-id></data>

2022-07-19 22:32:59 | 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-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c</value></node><item-id type="text-single" label="Item ID"><value>item-acd9a4bb-b0dd-489c-8e00-311ca31e2a26</value></item-id><item type="text-multi" label="Item"><value><item id="item-acd9a4bb-b0dd-489c-8e00-311ca31e2a26"><test>item-acd9a4bb-b0dd-489c-8e00-311ca31e2a26</test></item></value></item></result>

2022-07-19 22:32:59 | [Mutex] notify: [retrieved:item:item-acd9a4bb-b0dd-489c-8e00-311ca31e2a26:payload-matches:true:localhost]

2022-07-19 22:32:59 | [Mutex] received everything.

2022-07-19 22:32:59 | [Mutex] isItemNotified: retrieved:item:item-acd9a4bb-b0dd-489c-8e00-311ca31e2a26:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-19 22:32:59 |

2022-07-19 22:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:32:59 | ------------------------------------

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

2022-07-19 22:32:59 | 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-5f0fb634-94e3-4be7-a289-44af7e7479f7</value><value>node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-19 22:32:59 |

2022-07-19 22:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:32:59 | ------------------------------------

2022-07-19 22:32:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c)</node-pattern></data>

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

subscribeNodes 1.167s
2022-07-19 22:32:57 |

2022-07-19 22:32:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:32:57 | ------------------------------------

2022-07-19 22:32:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.191s
2022-07-19 22:32:59 |

2022-07-19 22:32:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-19 22:32:59 | ------------------------------------

2022-07-19 22:32:59 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-02e2ecdc-85b0-499a-b8d8-b58f5b13c88c</node><jids><value>admin@test-domain.com</value></jids></data>

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