Generated by TestNG with ReportNG at 21:46 PST on Thursday 10 February 2022
root@b2c2a8eba6e6 / 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.155s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.112s
2022-02-10 22:02:05 |

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

2022-02-10 22:02:05 | ------------------------------------

2022-02-10 22:02:05 | [Mutex] waiting for: [configured:node:node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa:node-9205d7d3-a9d0-44d0-8e62-9a833874a36c]

2022-02-10 22:02:05 | [Mutex] received everything.

2022-02-10 22:02:05 | [Mutex] isItemNotified: configured:node:node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa:node-9205d7d3-a9d0-44d0-8e62-9a833874a36c :: true

2022-02-10 22:02:06 | [Mutex] waiting for: [received:nodes:889bf699-4cf2-4523-91bc-803db4a466d6:localhost]

2022-02-10 22:02:06 | [Mutex] received everything.

2022-02-10 22:02:06 | [Mutex] isItemNotified: received:node:889bf699-4cf2-4523-91bc-803db4a466d6:localhost:node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa:Node c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa :: true

2022-02-10 22:02:06 | [Mutex] waiting for: [received:nodes:5dac591e-b624-4c3f-96f7-35413ccd7e8e:localhost]

2022-02-10 22:02:06 | [Mutex] received everything.

2022-02-10 22:02:06 | [Mutex] isItemNotified: received:node:5dac591e-b624-4c3f-96f7-35413ccd7e8e:localhost:node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa:Node c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa :: false

createNodes 1.531s
2022-02-10 22:02:02 |

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

2022-02-10 22:02:02 | ------------------------------------

2022-02-10 22:02:02 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa</title></pubsub></data>

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

2022-02-10 22:02:04 | [Mutex] waiting for: [received:nodes:027af33f-7d4e-45cb-90e0-ed0cc9b9c3dc:localhost]

2022-02-10 22:02:04 | [Mutex] received everything.

2022-02-10 22:02:04 | [Mutex] isItemNotified: received:node:027af33f-7d4e-45cb-90e0-ed0cc9b9c3dc:localhost:node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa:Node c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa :: true

createSubnodes 1.032s
2022-02-10 22:02:04 |

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

2022-02-10 22:02:04 | ------------------------------------

2022-02-10 22:02:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9205d7d3-a9d0-44d0-8e62-9a833874a36c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9205d7d3-a9d0-44d0-8e62-9a833874a36c</title></pubsub></data>

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

2022-02-10 22:02:05 | [Mutex] waiting for: [received:nodes:925735c7-7dc5-4906-84f3-9456d3176373:localhost]

2022-02-10 22:02:05 | [Mutex] received everything.

2022-02-10 22:02:05 | [Mutex] isItemNotified: received:node:925735c7-7dc5-4906-84f3-9456d3176373:localhost:node-9205d7d3-a9d0-44d0-8e62-9a833874a36c:Node 9205d7d3-a9d0-44d0-8e62-9a833874a36c :: true

deleteNodes 1.021s
2022-02-10 22:02:10 |

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

2022-02-10 22:02:10 | ------------------------------------

2022-02-10 22:02:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9205d7d3-a9d0-44d0-8e62-9a833874a36c</node></data>

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

2022-02-10 22:02:11 | [Mutex] waiting for: [received:nodes:36cdb60c-f4f9-4f7d-afe8-cd6408878eeb:localhost]

2022-02-10 22:02:11 | [Mutex] received everything.

2022-02-10 22:02:11 | [Mutex] isItemNotified: received:node:36cdb60c-f4f9-4f7d-afe8-cd6408878eeb:localhost:node-9205d7d3-a9d0-44d0-8e62-9a833874a36c:Node 9205d7d3-a9d0-44d0-8e62-9a833874a36c :: false

deleteSubnodes 1.134s
2022-02-10 22:02:09 |

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

2022-02-10 22:02:09 | ------------------------------------

2022-02-10 22:02:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa</node></data>

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

2022-02-10 22:02:10 | [Mutex] waiting for: [received:nodes:72574c9f-ecb3-4102-b3d1-34a1b8b3c8ca:localhost]

2022-02-10 22:02:10 | [Mutex] waiting for: [received:nodes:72574c9f-ecb3-4102-b3d1-34a1b8b3c8ca:localhost]

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

2022-02-10 22:02:10 | [Mutex] isItemNotified: received:node:72574c9f-ecb3-4102-b3d1-34a1b8b3c8ca:localhost:node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa:Node c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa :: false

2022-02-10 22:02:10 | [Mutex] waiting for: [received:nodes:9ecdc08d-71c9-41db-8fb6-1235a6d6d10c:localhost]

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

2022-02-10 22:02:10 | [Mutex] isItemNotified: received:node:9ecdc08d-71c9-41db-8fb6-1235a6d6d10c:localhost:node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa:Node c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa :: false

publishItemsToNodes 0.219s
2022-02-10 22:02:07 |

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

2022-02-10 22:02:07 | ------------------------------------

2022-02-10 22:02:07 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa</node><item-id>item-30f6c11e-3d84-4012-85c7-e6bac24f628d</item-id><entry><test>item-30f6c11e-3d84-4012-85c7-e6bac24f628d</test></entry></data>

2022-02-10 22:02:07 | 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-30f6c11e-3d84-4012-85c7-e6bac24f628d</value></item-id></result>

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

2022-02-10 22:02:07 | [Mutex] isItemNotified: published:item:notifieditem-30f6c11e-3d84-4012-85c7-e6bac24f628d:admin@test-domain.com :: true

retractItemsFromNodes 0.335s
2022-02-10 22:02:08 |

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

2022-02-10 22:02:08 | ------------------------------------

2022-02-10 22:02:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa</node><item-id>item-30f6c11e-3d84-4012-85c7-e6bac24f628d</item-id></data>

2022-02-10 22:02:08 | 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-30f6c11e-3d84-4012-85c7-e6bac24f628d</value></item-id></result>

2022-02-10 22:02:08 | [Mutex] received everything.

2022-02-10 22:02:08 | [Mutex] isItemNotified: retracted:item:notifieditem-30f6c11e-3d84-4012-85c7-e6bac24f628d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.287s
2022-02-10 22:02:07 |

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

2022-02-10 22:02:07 | ------------------------------------

2022-02-10 22:02:07 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa</node><item-id>item-30f6c11e-3d84-4012-85c7-e6bac24f628d</item-id></data>

2022-02-10 22:02:07 | 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-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa</value></node><item-id label="Item ID" type="text-single"><value>item-30f6c11e-3d84-4012-85c7-e6bac24f628d</value></item-id><item label="Item" type="text-multi"><value><item id="item-30f6c11e-3d84-4012-85c7-e6bac24f628d"><test>item-30f6c11e-3d84-4012-85c7-e6bac24f628d</test></item></value></item></result>

2022-02-10 22:02:07 | [Mutex] notify: [retrieved:item:item-30f6c11e-3d84-4012-85c7-e6bac24f628d:payload-matches:true:localhost]

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

2022-02-10 22:02:07 | [Mutex] isItemNotified: retrieved:item:item-30f6c11e-3d84-4012-85c7-e6bac24f628d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-02-10 22:02:07 |

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

2022-02-10 22:02:07 | ------------------------------------

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

2022-02-10 22:02:07 | 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-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa</value><value>node-9205d7d3-a9d0-44d0-8e62-9a833874a36c</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-10 22:02:07 |

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

2022-02-10 22:02:07 | ------------------------------------

2022-02-10 22:02:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa)</node-pattern></data>

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

subscribeNodes 1.241s
2022-02-10 22:02:06 |

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

2022-02-10 22:02:06 | ------------------------------------

2022-02-10 22:02:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.323s
2022-02-10 22:02:08 |

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

2022-02-10 22:02:08 | ------------------------------------

2022-02-10 22:02:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c2e0a337-cfd8-4ed5-afe1-e12eb37d1dfa</node><jids><value>admin@test-domain.com</value></jids></data>

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