Generated by TestNG with ReportNG at 21:15 PST on Monday 04 January 2021
root@eaa73862192b / 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.933s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2021-01-04 21:31:30 |

2021-01-04 21:31:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:30 | ------------------------------------

2021-01-04 21:31:30 | [Mutex] waiting for: [configured:node:node-02160da9-fe11-4d24-9245-01591991ee2a:node-77837e05-7ca8-4093-becc-b1bfa4a2a1f7]

2021-01-04 21:31:30 | [Mutex] received everything.

2021-01-04 21:31:30 | [Mutex] isItemNotified: configured:node:node-02160da9-fe11-4d24-9245-01591991ee2a:node-77837e05-7ca8-4093-becc-b1bfa4a2a1f7 :: true

2021-01-04 21:31:31 | [Mutex] waiting for: [received:nodes:e4e7efa5-db21-41c1-b1cb-c80ef02e56f8:localhost]

2021-01-04 21:31:31 | [Mutex] received everything.

2021-01-04 21:31:31 | [Mutex] isItemNotified: received:node:e4e7efa5-db21-41c1-b1cb-c80ef02e56f8:localhost:node-02160da9-fe11-4d24-9245-01591991ee2a:Node 02160da9-fe11-4d24-9245-01591991ee2a :: true

2021-01-04 21:31:31 | [Mutex] waiting for: [received:nodes:75ccb99a-e01b-4fef-a5bd-42919e908572:localhost]

2021-01-04 21:31:31 | [Mutex] waiting for: [received:nodes:75ccb99a-e01b-4fef-a5bd-42919e908572:localhost]

2021-01-04 21:31:31 | [Mutex] received everything.

2021-01-04 21:31:31 | [Mutex] isItemNotified: received:node:75ccb99a-e01b-4fef-a5bd-42919e908572:localhost:node-02160da9-fe11-4d24-9245-01591991ee2a:Node 02160da9-fe11-4d24-9245-01591991ee2a :: false

createNodes 1.474s
2021-01-04 21:31:27 |

2021-01-04 21:31:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:27 | ------------------------------------

2021-01-04 21:31:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-02160da9-fe11-4d24-9245-01591991ee2a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 02160da9-fe11-4d24-9245-01591991ee2a</title></pubsub></data>

2021-01-04 21:31:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-04 21:31:29 | [Mutex] waiting for: [received:nodes:9e86df8a-2e63-44f3-960f-7815263a3861:localhost]

2021-01-04 21:31:29 | [Mutex] received everything.

2021-01-04 21:31:29 | [Mutex] isItemNotified: received:node:9e86df8a-2e63-44f3-960f-7815263a3861:localhost:node-02160da9-fe11-4d24-9245-01591991ee2a:Node 02160da9-fe11-4d24-9245-01591991ee2a :: true

createSubnodes 1.026s
2021-01-04 21:31:29 |

2021-01-04 21:31:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:29 | ------------------------------------

2021-01-04 21:31:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-77837e05-7ca8-4093-becc-b1bfa4a2a1f7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 77837e05-7ca8-4093-becc-b1bfa4a2a1f7</title></pubsub></data>

2021-01-04 21:31:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-04 21:31:30 | [Mutex] waiting for: [received:nodes:a2ad228f-fef2-4131-a5b8-785402631026:localhost]

2021-01-04 21:31:30 | [Mutex] received everything.

2021-01-04 21:31:30 | [Mutex] isItemNotified: received:node:a2ad228f-fef2-4131-a5b8-785402631026:localhost:node-77837e05-7ca8-4093-becc-b1bfa4a2a1f7:Node 77837e05-7ca8-4093-becc-b1bfa4a2a1f7 :: true

deleteNodes 1.019s
2021-01-04 21:31:35 |

2021-01-04 21:31:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:35 | ------------------------------------

2021-01-04 21:31:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-77837e05-7ca8-4093-becc-b1bfa4a2a1f7</node></data>

2021-01-04 21:31:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-04 21:31:36 | [Mutex] waiting for: [received:nodes:c3f73ca3-01c9-4c42-9bb2-011d99c82dfc:localhost]

2021-01-04 21:31:36 | [Mutex] received everything.

2021-01-04 21:31:36 | [Mutex] isItemNotified: received:node:c3f73ca3-01c9-4c42-9bb2-011d99c82dfc:localhost:node-77837e05-7ca8-4093-becc-b1bfa4a2a1f7:Node 77837e05-7ca8-4093-becc-b1bfa4a2a1f7 :: false

deleteSubnodes 1.123s
2021-01-04 21:31:34 |

2021-01-04 21:31:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:34 | ------------------------------------

2021-01-04 21:31:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-02160da9-fe11-4d24-9245-01591991ee2a</node></data>

2021-01-04 21:31:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-04 21:31:35 | [Mutex] waiting for: [received:nodes:18b2442e-d14d-4891-be30-bece87b3eb04:localhost]

2021-01-04 21:31:35 | [Mutex] waiting for: [received:nodes:18b2442e-d14d-4891-be30-bece87b3eb04:localhost]

2021-01-04 21:31:35 | [Mutex] received everything.

2021-01-04 21:31:35 | [Mutex] isItemNotified: received:node:18b2442e-d14d-4891-be30-bece87b3eb04:localhost:node-02160da9-fe11-4d24-9245-01591991ee2a:Node 02160da9-fe11-4d24-9245-01591991ee2a :: false

2021-01-04 21:31:35 | [Mutex] waiting for: [received:nodes:fbb1792f-11d4-466f-9ea2-55792170a6f7:localhost]

2021-01-04 21:31:35 | [Mutex] received everything.

2021-01-04 21:31:35 | [Mutex] isItemNotified: received:node:fbb1792f-11d4-466f-9ea2-55792170a6f7:localhost:node-02160da9-fe11-4d24-9245-01591991ee2a:Node 02160da9-fe11-4d24-9245-01591991ee2a :: false

publishItemsToNodes 0.164s
2021-01-04 21:31:32 |

2021-01-04 21:31:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:32 | ------------------------------------

2021-01-04 21:31:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-02160da9-fe11-4d24-9245-01591991ee2a</node><item-id>item-5358234d-a37c-4881-9b5a-813555f4b916</item-id><entry><test>item-5358234d-a37c-4881-9b5a-813555f4b916</test></entry></data>

2021-01-04 21:31:32 | 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-5358234d-a37c-4881-9b5a-813555f4b916</value></item-id></result>

2021-01-04 21:31:32 | [Mutex] received everything.

2021-01-04 21:31:32 | [Mutex] isItemNotified: published:item:notifieditem-5358234d-a37c-4881-9b5a-813555f4b916:admin@test-domain.com :: true

retractItemsFromNodes 0.310s
2021-01-04 21:31:33 |

2021-01-04 21:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:33 | ------------------------------------

2021-01-04 21:31:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-02160da9-fe11-4d24-9245-01591991ee2a</node><item-id>item-5358234d-a37c-4881-9b5a-813555f4b916</item-id></data>

2021-01-04 21:31:33 | 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-5358234d-a37c-4881-9b5a-813555f4b916</value></item-id></result>

2021-01-04 21:31:33 | [Mutex] received everything.

2021-01-04 21:31:33 | [Mutex] isItemNotified: retracted:item:notifieditem-5358234d-a37c-4881-9b5a-813555f4b916:admin@test-domain.com :: true

retrieveItemsFromNodes 0.284s
2021-01-04 21:31:32 |

2021-01-04 21:31:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:32 | ------------------------------------

2021-01-04 21:31:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-02160da9-fe11-4d24-9245-01591991ee2a</node><item-id>item-5358234d-a37c-4881-9b5a-813555f4b916</item-id></data>

2021-01-04 21:31:32 | 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-02160da9-fe11-4d24-9245-01591991ee2a</value></node><item-id label="Item ID" type="text-single"><value>item-5358234d-a37c-4881-9b5a-813555f4b916</value></item-id><item label="Item" type="text-multi"><value><item id="item-5358234d-a37c-4881-9b5a-813555f4b916"><test>item-5358234d-a37c-4881-9b5a-813555f4b916</test></item></value></item></result>

2021-01-04 21:31:32 | [Mutex] notify: [retrieved:item:item-5358234d-a37c-4881-9b5a-813555f4b916:payload-matches:true:localhost]

2021-01-04 21:31:32 | [Mutex] received everything.

2021-01-04 21:31:32 | [Mutex] isItemNotified: retrieved:item:item-5358234d-a37c-4881-9b5a-813555f4b916:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-04 21:31:32 |

2021-01-04 21:31:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:32 | ------------------------------------

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

2021-01-04 21:31:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-02160da9-fe11-4d24-9245-01591991ee2a</value><value>node-77837e05-7ca8-4093-becc-b1bfa4a2a1f7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.069s
2021-01-04 21:31:33 |

2021-01-04 21:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:33 | ------------------------------------

2021-01-04 21:31:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-02160da9-fe11-4d24-9245-01591991ee2a)</node-pattern></data>

2021-01-04 21:31:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.136s
2021-01-04 21:31:31 |

2021-01-04 21:31:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:31 | ------------------------------------

2021-01-04 21:31:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-02160da9-fe11-4d24-9245-01591991ee2a</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-04 21:31:31 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.288s
2021-01-04 21:31:33 |

2021-01-04 21:31:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-04 21:31:33 | ------------------------------------

2021-01-04 21:31:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-02160da9-fe11-4d24-9245-01591991ee2a</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-04 21:31:33 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>