Generated by TestNG with ReportNG at 22:16 PDT on Thursday 24 June 2021
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.281s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.037s
2021-06-24 22:30:18 |

2021-06-24 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:18 | ------------------------------------

2021-06-24 22:30:18 | [Mutex] waiting for: [configured:node:node-17e743d4-71c4-493b-9b6a-20326d1df050:node-1e592f34-331d-4044-b177-0bd6371505f3]

2021-06-24 22:30:18 | [Mutex] received everything.

2021-06-24 22:30:18 | [Mutex] isItemNotified: configured:node:node-17e743d4-71c4-493b-9b6a-20326d1df050:node-1e592f34-331d-4044-b177-0bd6371505f3 :: true

2021-06-24 22:30:19 | [Mutex] waiting for: [received:nodes:01d8e258-129b-4f56-9a71-74a4873aa681:localhost]

2021-06-24 22:30:19 | [Mutex] received everything.

2021-06-24 22:30:19 | [Mutex] isItemNotified: received:node:01d8e258-129b-4f56-9a71-74a4873aa681:localhost:node-17e743d4-71c4-493b-9b6a-20326d1df050:Node 17e743d4-71c4-493b-9b6a-20326d1df050 :: true

2021-06-24 22:30:19 | [Mutex] waiting for: [received:nodes:d812c15d-f562-470f-a1a2-675598e6b728:localhost]

2021-06-24 22:30:19 | [Mutex] waiting for: [received:nodes:d812c15d-f562-470f-a1a2-675598e6b728:localhost]

2021-06-24 22:30:19 | [Mutex] received everything.

2021-06-24 22:30:19 | [Mutex] isItemNotified: received:node:d812c15d-f562-470f-a1a2-675598e6b728:localhost:node-17e743d4-71c4-493b-9b6a-20326d1df050:Node 17e743d4-71c4-493b-9b6a-20326d1df050 :: false

createNodes 1.560s
2021-06-24 22:30:15 |

2021-06-24 22:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:15 | ------------------------------------

2021-06-24 22:30:15 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-17e743d4-71c4-493b-9b6a-20326d1df050</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 17e743d4-71c4-493b-9b6a-20326d1df050</title></pubsub></data>

2021-06-24 22:30:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:30:17 | [Mutex] waiting for: [received:nodes:1a569b56-b69c-4fb7-bb0b-caefaef282a5:localhost]

2021-06-24 22:30:17 | [Mutex] waiting for: [received:nodes:1a569b56-b69c-4fb7-bb0b-caefaef282a5:localhost]

2021-06-24 22:30:17 | [Mutex] received everything.

2021-06-24 22:30:17 | [Mutex] isItemNotified: received:node:1a569b56-b69c-4fb7-bb0b-caefaef282a5:localhost:node-17e743d4-71c4-493b-9b6a-20326d1df050:Node 17e743d4-71c4-493b-9b6a-20326d1df050 :: true

createSubnodes 1.027s
2021-06-24 22:30:17 |

2021-06-24 22:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:17 | ------------------------------------

2021-06-24 22:30:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1e592f34-331d-4044-b177-0bd6371505f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1e592f34-331d-4044-b177-0bd6371505f3</title></pubsub></data>

2021-06-24 22:30:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:30:18 | [Mutex] waiting for: [received:nodes:4737a021-1e00-41af-b77f-dbac95dd2dc4:localhost]

2021-06-24 22:30:18 | [Mutex] waiting for: [received:nodes:4737a021-1e00-41af-b77f-dbac95dd2dc4:localhost]

2021-06-24 22:30:18 | [Mutex] received everything.

2021-06-24 22:30:18 | [Mutex] isItemNotified: received:node:4737a021-1e00-41af-b77f-dbac95dd2dc4:localhost:node-1e592f34-331d-4044-b177-0bd6371505f3:Node 1e592f34-331d-4044-b177-0bd6371505f3 :: true

deleteNodes 1.060s
2021-06-24 22:30:24 |

2021-06-24 22:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:24 | ------------------------------------

2021-06-24 22:30:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1e592f34-331d-4044-b177-0bd6371505f3</node></data>

2021-06-24 22:30:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:30:25 | [Mutex] waiting for: [received:nodes:b64e551a-2cf5-46a0-9643-d0905c517843:localhost]

2021-06-24 22:30:25 | [Mutex] received everything.

2021-06-24 22:30:25 | [Mutex] isItemNotified: received:node:b64e551a-2cf5-46a0-9643-d0905c517843:localhost:node-1e592f34-331d-4044-b177-0bd6371505f3:Node 1e592f34-331d-4044-b177-0bd6371505f3 :: false

deleteSubnodes 1.162s
2021-06-24 22:30:22 |

2021-06-24 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:22 | ------------------------------------

2021-06-24 22:30:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-17e743d4-71c4-493b-9b6a-20326d1df050</node></data>

2021-06-24 22:30:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-24 22:30:24 | [Mutex] waiting for: [received:nodes:547bda35-fcbf-4f55-a72c-4e232118a262:localhost]

2021-06-24 22:30:24 | [Mutex] waiting for: [received:nodes:547bda35-fcbf-4f55-a72c-4e232118a262:localhost]

2021-06-24 22:30:24 | [Mutex] received everything.

2021-06-24 22:30:24 | [Mutex] isItemNotified: received:node:547bda35-fcbf-4f55-a72c-4e232118a262:localhost:node-17e743d4-71c4-493b-9b6a-20326d1df050:Node 17e743d4-71c4-493b-9b6a-20326d1df050 :: false

2021-06-24 22:30:24 | [Mutex] waiting for: [received:nodes:4b05efb3-5565-4693-b2d4-31e1827e0925:localhost]

2021-06-24 22:30:24 | [Mutex] received everything.

2021-06-24 22:30:24 | [Mutex] isItemNotified: received:node:4b05efb3-5565-4693-b2d4-31e1827e0925:localhost:node-17e743d4-71c4-493b-9b6a-20326d1df050:Node 17e743d4-71c4-493b-9b6a-20326d1df050 :: false

publishItemsToNodes 0.243s
2021-06-24 22:30:20 |

2021-06-24 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:20 | ------------------------------------

2021-06-24 22:30:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-17e743d4-71c4-493b-9b6a-20326d1df050</node><item-id>item-c773b429-5685-4b89-ba9d-5ba872c99140</item-id><entry><test>item-c773b429-5685-4b89-ba9d-5ba872c99140</test></entry></data>

2021-06-24 22:30:20 | 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-c773b429-5685-4b89-ba9d-5ba872c99140</value></item-id></result>

2021-06-24 22:30:20 | [Mutex] waiting for: [published:item:notifieditem-c773b429-5685-4b89-ba9d-5ba872c99140:admin@test-domain.com]

2021-06-24 22:30:20 | [Mutex] received everything.

2021-06-24 22:30:20 | [Mutex] isItemNotified: published:item:notifieditem-c773b429-5685-4b89-ba9d-5ba872c99140:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2021-06-24 22:30:21 |

2021-06-24 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:21 | ------------------------------------

2021-06-24 22:30:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-17e743d4-71c4-493b-9b6a-20326d1df050</node><item-id>item-c773b429-5685-4b89-ba9d-5ba872c99140</item-id></data>

2021-06-24 22:30:21 | 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-c773b429-5685-4b89-ba9d-5ba872c99140</value></item-id></result>

2021-06-24 22:30:21 | [Mutex] waiting for: [retracted:item:notifieditem-c773b429-5685-4b89-ba9d-5ba872c99140:admin@test-domain.com]

2021-06-24 22:30:21 | [Mutex] received everything.

2021-06-24 22:30:21 | [Mutex] isItemNotified: retracted:item:notifieditem-c773b429-5685-4b89-ba9d-5ba872c99140:admin@test-domain.com :: true

retrieveItemsFromNodes 0.433s
2021-06-24 22:30:20 |

2021-06-24 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:20 | ------------------------------------

2021-06-24 22:30:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-17e743d4-71c4-493b-9b6a-20326d1df050</node><item-id>item-c773b429-5685-4b89-ba9d-5ba872c99140</item-id></data>

2021-06-24 22:30:21 | 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-17e743d4-71c4-493b-9b6a-20326d1df050</value></node><item-id type="text-single" label="Item ID"><value>item-c773b429-5685-4b89-ba9d-5ba872c99140</value></item-id><item type="text-multi" label="Item"><value><item id="item-c773b429-5685-4b89-ba9d-5ba872c99140"><test>item-c773b429-5685-4b89-ba9d-5ba872c99140</test></item></value></item></result>

2021-06-24 22:30:21 | [Mutex] notify: [retrieved:item:item-c773b429-5685-4b89-ba9d-5ba872c99140:payload-matches:true:localhost]

2021-06-24 22:30:21 | [Mutex] received everything.

2021-06-24 22:30:21 | [Mutex] isItemNotified: retrieved:item:item-c773b429-5685-4b89-ba9d-5ba872c99140:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2021-06-24 22:30:21 |

2021-06-24 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:21 | ------------------------------------

2021-06-24 22:30:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-24 22:30:21 | 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-17e743d4-71c4-493b-9b6a-20326d1df050</value><value>node-1e592f34-331d-4044-b177-0bd6371505f3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-06-24 22:30:21 |

2021-06-24 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:21 | ------------------------------------

2021-06-24 22:30: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-17e743d4-71c4-493b-9b6a-20326d1df050)</node-pattern></data>

2021-06-24 22:30:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.169s
2021-06-24 22:30:19 |

2021-06-24 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:19 | ------------------------------------

2021-06-24 22:30:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-17e743d4-71c4-493b-9b6a-20326d1df050</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-24 22:30:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.327s
2021-06-24 22:30:21 |

2021-06-24 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:30:21 | ------------------------------------

2021-06-24 22:30:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-17e743d4-71c4-493b-9b6a-20326d1df050</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-24 22:30:21 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>