Generated by TestNG with ReportNG at 23:03 PDT on Thursday 17 September 2020
root@f53a97fae7d2 / 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 : 9.964s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2020-09-17 23:18:13 |

2020-09-17 23:18:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:13 | ------------------------------------

2020-09-17 23:18:13 | [Mutex] waiting for: [configured:node:node-e87f9b7c-a5c8-4e29-be85-a154a1779069:node-0bb22bb8-3c3b-413e-ae9b-7bac776d2994]

2020-09-17 23:18:13 | [Mutex] received everything.

2020-09-17 23:18:13 | [Mutex] isItemNotified: configured:node:node-e87f9b7c-a5c8-4e29-be85-a154a1779069:node-0bb22bb8-3c3b-413e-ae9b-7bac776d2994 :: true

2020-09-17 23:18:14 | [Mutex] waiting for: [received:nodes:294e0a95-3405-4db9-8e0e-6a4200656ba4:localhost]

2020-09-17 23:18:14 | [Mutex] received everything.

2020-09-17 23:18:14 | [Mutex] isItemNotified: received:node:294e0a95-3405-4db9-8e0e-6a4200656ba4:localhost:node-e87f9b7c-a5c8-4e29-be85-a154a1779069:Node e87f9b7c-a5c8-4e29-be85-a154a1779069 :: true

2020-09-17 23:18:14 | [Mutex] waiting for: [received:nodes:6d513461-6d24-46c4-8d15-eaafbe54db89:localhost]

2020-09-17 23:18:14 | [Mutex] received everything.

2020-09-17 23:18:14 | [Mutex] isItemNotified: received:node:6d513461-6d24-46c4-8d15-eaafbe54db89:localhost:node-e87f9b7c-a5c8-4e29-be85-a154a1779069:Node e87f9b7c-a5c8-4e29-be85-a154a1779069 :: false

createNodes 1.488s
2020-09-17 23:18:11 |

2020-09-17 23:18:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:11 | ------------------------------------

2020-09-17 23:18:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e87f9b7c-a5c8-4e29-be85-a154a1779069</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e87f9b7c-a5c8-4e29-be85-a154a1779069</title></pubsub></data>

2020-09-17 23:18:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-17 23:18:12 | [Mutex] waiting for: [received:nodes:2bf5d228-276a-4c5b-97a7-dde30ef96258:localhost]

2020-09-17 23:18:12 | [Mutex] received everything.

2020-09-17 23:18:12 | [Mutex] isItemNotified: received:node:2bf5d228-276a-4c5b-97a7-dde30ef96258:localhost:node-e87f9b7c-a5c8-4e29-be85-a154a1779069:Node e87f9b7c-a5c8-4e29-be85-a154a1779069 :: true

createSubnodes 1.036s
2020-09-17 23:18:12 |

2020-09-17 23:18:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:12 | ------------------------------------

2020-09-17 23:18:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0bb22bb8-3c3b-413e-ae9b-7bac776d2994</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0bb22bb8-3c3b-413e-ae9b-7bac776d2994</title></pubsub></data>

2020-09-17 23:18:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-17 23:18:13 | [Mutex] waiting for: [received:nodes:59665885-f331-4471-850a-60a85ed0af38:localhost]

2020-09-17 23:18:13 | [Mutex] waiting for: [received:nodes:59665885-f331-4471-850a-60a85ed0af38:localhost]

2020-09-17 23:18:13 | [Mutex] waiting for: [received:nodes:59665885-f331-4471-850a-60a85ed0af38:localhost]

2020-09-17 23:18:13 | [Mutex] waiting for: [received:nodes:59665885-f331-4471-850a-60a85ed0af38:localhost]

2020-09-17 23:18:13 | [Mutex] received everything.

2020-09-17 23:18:13 | [Mutex] isItemNotified: received:node:59665885-f331-4471-850a-60a85ed0af38:localhost:node-0bb22bb8-3c3b-413e-ae9b-7bac776d2994:Node 0bb22bb8-3c3b-413e-ae9b-7bac776d2994 :: true

deleteNodes 1.020s
2020-09-17 23:18:19 |

2020-09-17 23:18:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:19 | ------------------------------------

2020-09-17 23:18:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0bb22bb8-3c3b-413e-ae9b-7bac776d2994</node></data>

2020-09-17 23:18:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-17 23:18:20 | [Mutex] waiting for: [received:nodes:9e9a23a0-d4de-4bb5-942a-e36d7241a830:localhost]

2020-09-17 23:18:20 | [Mutex] waiting for: [received:nodes:9e9a23a0-d4de-4bb5-942a-e36d7241a830:localhost]

2020-09-17 23:18:20 | [Mutex] received everything.

2020-09-17 23:18:20 | [Mutex] isItemNotified: received:node:9e9a23a0-d4de-4bb5-942a-e36d7241a830:localhost:node-0bb22bb8-3c3b-413e-ae9b-7bac776d2994:Node 0bb22bb8-3c3b-413e-ae9b-7bac776d2994 :: false

deleteSubnodes 1.128s
2020-09-17 23:18:17 |

2020-09-17 23:18:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:17 | ------------------------------------

2020-09-17 23:18:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e87f9b7c-a5c8-4e29-be85-a154a1779069</node></data>

2020-09-17 23:18:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-17 23:18:19 | [Mutex] waiting for: [received:nodes:2aa4b37a-d9db-4063-a567-2d682cef5eb6:localhost]

2020-09-17 23:18:19 | [Mutex] waiting for: [received:nodes:2aa4b37a-d9db-4063-a567-2d682cef5eb6:localhost]

2020-09-17 23:18:19 | [Mutex] waiting for: [received:nodes:2aa4b37a-d9db-4063-a567-2d682cef5eb6:localhost]

2020-09-17 23:18:19 | [Mutex] received everything.

2020-09-17 23:18:19 | [Mutex] isItemNotified: received:node:2aa4b37a-d9db-4063-a567-2d682cef5eb6:localhost:node-e87f9b7c-a5c8-4e29-be85-a154a1779069:Node e87f9b7c-a5c8-4e29-be85-a154a1779069 :: false

2020-09-17 23:18:19 | [Mutex] waiting for: [received:nodes:4b863f92-d2c5-4640-8a16-46dbe6066528:localhost]

2020-09-17 23:18:19 | [Mutex] received everything.

2020-09-17 23:18:19 | [Mutex] isItemNotified: received:node:4b863f92-d2c5-4640-8a16-46dbe6066528:localhost:node-e87f9b7c-a5c8-4e29-be85-a154a1779069:Node e87f9b7c-a5c8-4e29-be85-a154a1779069 :: false

publishItemsToNodes 0.196s
2020-09-17 23:18:15 |

2020-09-17 23:18:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:15 | ------------------------------------

2020-09-17 23:18:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e87f9b7c-a5c8-4e29-be85-a154a1779069</node><item-id>item-8f6f0932-cd76-4595-9db3-ccb85c15a1e0</item-id><entry><test>item-8f6f0932-cd76-4595-9db3-ccb85c15a1e0</test></entry></data>

2020-09-17 23:18:16 | 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-8f6f0932-cd76-4595-9db3-ccb85c15a1e0</value></item-id></result>

2020-09-17 23:18:16 | [Mutex] received everything.

2020-09-17 23:18:16 | [Mutex] isItemNotified: published:item:notifieditem-8f6f0932-cd76-4595-9db3-ccb85c15a1e0:admin@test-domain.com :: true

retractItemsFromNodes 0.139s
2020-09-17 23:18:16 |

2020-09-17 23:18:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:16 | ------------------------------------

2020-09-17 23:18:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e87f9b7c-a5c8-4e29-be85-a154a1779069</node><item-id>item-8f6f0932-cd76-4595-9db3-ccb85c15a1e0</item-id></data>

2020-09-17 23:18:16 | 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-8f6f0932-cd76-4595-9db3-ccb85c15a1e0</value></item-id></result>

2020-09-17 23:18:16 | [Mutex] received everything.

2020-09-17 23:18:16 | [Mutex] isItemNotified: retracted:item:notifieditem-8f6f0932-cd76-4595-9db3-ccb85c15a1e0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.239s
2020-09-17 23:18:16 |

2020-09-17 23:18:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:16 | ------------------------------------

2020-09-17 23:18:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e87f9b7c-a5c8-4e29-be85-a154a1779069</node><item-id>item-8f6f0932-cd76-4595-9db3-ccb85c15a1e0</item-id></data>

2020-09-17 23:18:16 | 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-e87f9b7c-a5c8-4e29-be85-a154a1779069</value></node><item-id type="text-single" label="Item ID"><value>item-8f6f0932-cd76-4595-9db3-ccb85c15a1e0</value></item-id><item type="text-multi" label="Item"><value><item id="item-8f6f0932-cd76-4595-9db3-ccb85c15a1e0"><test>item-8f6f0932-cd76-4595-9db3-ccb85c15a1e0</test></item></value></item></result>

2020-09-17 23:18:16 | [Mutex] notify: [retrieved:item:item-8f6f0932-cd76-4595-9db3-ccb85c15a1e0:payload-matches:true:localhost]

2020-09-17 23:18:16 | [Mutex] received everything.

2020-09-17 23:18:16 | [Mutex] isItemNotified: retrieved:item:item-8f6f0932-cd76-4595-9db3-ccb85c15a1e0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-09-17 23:18:16 |

2020-09-17 23:18:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:16 | ------------------------------------

2020-09-17 23:18:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-17 23:18:16 | 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-e87f9b7c-a5c8-4e29-be85-a154a1779069</value><value>node-0bb22bb8-3c3b-413e-ae9b-7bac776d2994</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-09-17 23:18:16 |

2020-09-17 23:18:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:16 | ------------------------------------

2020-09-17 23:18:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e87f9b7c-a5c8-4e29-be85-a154a1779069)</node-pattern></data>

2020-09-17 23:18:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.144s
2020-09-17 23:18:14 |

2020-09-17 23:18:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:14 | ------------------------------------

2020-09-17 23:18:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e87f9b7c-a5c8-4e29-be85-a154a1779069</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-17 23:18:14 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.315s
2020-09-17 23:18:16 |

2020-09-17 23:18:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:18:16 | ------------------------------------

2020-09-17 23:18:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e87f9b7c-a5c8-4e29-be85-a154a1779069</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-17 23:18:16 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>