Generated by TestNG with ReportNG at 22:59 PDT on Monday 16 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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.457s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-05-16 23:13:44 |

2022-05-16 23:13:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:44 | ------------------------------------

2022-05-16 23:13:44 | [Mutex] waiting for: [configured:node:node-29448056-728a-4b68-b49d-fcb22de3bfe3:node-c415002a-8a8e-4565-83b3-bac390af10b2]

2022-05-16 23:13:44 | [Mutex] received everything.

2022-05-16 23:13:44 | [Mutex] isItemNotified: configured:node:node-29448056-728a-4b68-b49d-fcb22de3bfe3:node-c415002a-8a8e-4565-83b3-bac390af10b2 :: true

2022-05-16 23:13:45 | [Mutex] waiting for: [received:nodes:c196ece2-c48b-4323-85d7-9a891ea21906:localhost]

2022-05-16 23:13:45 | [Mutex] received everything.

2022-05-16 23:13:45 | [Mutex] isItemNotified: received:node:c196ece2-c48b-4323-85d7-9a891ea21906:localhost:node-29448056-728a-4b68-b49d-fcb22de3bfe3:Node 29448056-728a-4b68-b49d-fcb22de3bfe3 :: true

2022-05-16 23:13:45 | [Mutex] waiting for: [received:nodes:88673815-4e6d-4ddc-9705-3845ae513a5c:localhost]

2022-05-16 23:13:45 | [Mutex] waiting for: [received:nodes:88673815-4e6d-4ddc-9705-3845ae513a5c:localhost]

2022-05-16 23:13:45 | [Mutex] received everything.

2022-05-16 23:13:45 | [Mutex] isItemNotified: received:node:88673815-4e6d-4ddc-9705-3845ae513a5c:localhost:node-29448056-728a-4b68-b49d-fcb22de3bfe3:Node 29448056-728a-4b68-b49d-fcb22de3bfe3 :: false

createNodes 1.451s
2022-05-16 23:13:41 |

2022-05-16 23:13:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:41 | ------------------------------------

2022-05-16 23:13:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-29448056-728a-4b68-b49d-fcb22de3bfe3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 29448056-728a-4b68-b49d-fcb22de3bfe3</title></pubsub></data>

2022-05-16 23:13:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-16 23:13:43 | [Mutex] waiting for: [received:nodes:9aa1d4e5-21da-4f47-a3de-eaaa50e67072:localhost]

2022-05-16 23:13:43 | [Mutex] received everything.

2022-05-16 23:13:43 | [Mutex] isItemNotified: received:node:9aa1d4e5-21da-4f47-a3de-eaaa50e67072:localhost:node-29448056-728a-4b68-b49d-fcb22de3bfe3:Node 29448056-728a-4b68-b49d-fcb22de3bfe3 :: true

createSubnodes 1.022s
2022-05-16 23:13:43 |

2022-05-16 23:13:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:43 | ------------------------------------

2022-05-16 23:13:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c415002a-8a8e-4565-83b3-bac390af10b2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c415002a-8a8e-4565-83b3-bac390af10b2</title></pubsub></data>

2022-05-16 23:13:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-16 23:13:44 | [Mutex] waiting for: [received:nodes:f0ddbcb2-7fca-4b5f-8680-a9c06193ff0a:localhost]

2022-05-16 23:13:44 | [Mutex] waiting for: [received:nodes:f0ddbcb2-7fca-4b5f-8680-a9c06193ff0a:localhost]

2022-05-16 23:13:44 | [Mutex] received everything.

2022-05-16 23:13:44 | [Mutex] isItemNotified: received:node:f0ddbcb2-7fca-4b5f-8680-a9c06193ff0a:localhost:node-c415002a-8a8e-4565-83b3-bac390af10b2:Node c415002a-8a8e-4565-83b3-bac390af10b2 :: true

deleteNodes 1.017s
2022-05-16 23:13:49 |

2022-05-16 23:13:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:49 | ------------------------------------

2022-05-16 23:13:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c415002a-8a8e-4565-83b3-bac390af10b2</node></data>

2022-05-16 23:13:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-16 23:13:50 | [Mutex] waiting for: [received:nodes:7186e21b-b2f1-4d7b-bb79-2c3aea8dc35e:localhost]

2022-05-16 23:13:50 | [Mutex] received everything.

2022-05-16 23:13:50 | [Mutex] isItemNotified: received:node:7186e21b-b2f1-4d7b-bb79-2c3aea8dc35e:localhost:node-c415002a-8a8e-4565-83b3-bac390af10b2:Node c415002a-8a8e-4565-83b3-bac390af10b2 :: false

deleteSubnodes 1.129s
2022-05-16 23:13:48 |

2022-05-16 23:13:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:48 | ------------------------------------

2022-05-16 23:13:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-29448056-728a-4b68-b49d-fcb22de3bfe3</node></data>

2022-05-16 23:13:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-16 23:13:49 | [Mutex] waiting for: [received:nodes:f983b748-c9bb-4113-8b30-f2927447cfa5:localhost]

2022-05-16 23:13:49 | [Mutex] received everything.

2022-05-16 23:13:49 | [Mutex] isItemNotified: received:node:f983b748-c9bb-4113-8b30-f2927447cfa5:localhost:node-29448056-728a-4b68-b49d-fcb22de3bfe3:Node 29448056-728a-4b68-b49d-fcb22de3bfe3 :: false

2022-05-16 23:13:49 | [Mutex] waiting for: [received:nodes:f2290291-d6fc-43e8-917b-4b54d973b7d8:localhost]

2022-05-16 23:13:49 | [Mutex] received everything.

2022-05-16 23:13:49 | [Mutex] isItemNotified: received:node:f2290291-d6fc-43e8-917b-4b54d973b7d8:localhost:node-29448056-728a-4b68-b49d-fcb22de3bfe3:Node 29448056-728a-4b68-b49d-fcb22de3bfe3 :: false

publishItemsToNodes 0.259s
2022-05-16 23:13:46 |

2022-05-16 23:13:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:46 | ------------------------------------

2022-05-16 23:13:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-29448056-728a-4b68-b49d-fcb22de3bfe3</node><item-id>item-567d7617-5fbb-40df-8454-229c19f6cc6f</item-id><entry><test>item-567d7617-5fbb-40df-8454-229c19f6cc6f</test></entry></data>

2022-05-16 23:13:46 | 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-567d7617-5fbb-40df-8454-229c19f6cc6f</value></item-id></result>

2022-05-16 23:13:46 | [Mutex] received everything.

2022-05-16 23:13:46 | [Mutex] isItemNotified: published:item:notifieditem-567d7617-5fbb-40df-8454-229c19f6cc6f:admin@test-domain.com :: true

retractItemsFromNodes 0.272s
2022-05-16 23:13:47 |

2022-05-16 23:13:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:47 | ------------------------------------

2022-05-16 23:13:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-29448056-728a-4b68-b49d-fcb22de3bfe3</node><item-id>item-567d7617-5fbb-40df-8454-229c19f6cc6f</item-id></data>

2022-05-16 23:13:47 | 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-567d7617-5fbb-40df-8454-229c19f6cc6f</value></item-id></result>

2022-05-16 23:13:47 | [Mutex] received everything.

2022-05-16 23:13:47 | [Mutex] isItemNotified: retracted:item:notifieditem-567d7617-5fbb-40df-8454-229c19f6cc6f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.260s
2022-05-16 23:13:46 |

2022-05-16 23:13:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:46 | ------------------------------------

2022-05-16 23:13:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-29448056-728a-4b68-b49d-fcb22de3bfe3</node><item-id>item-567d7617-5fbb-40df-8454-229c19f6cc6f</item-id></data>

2022-05-16 23:13:47 | 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-29448056-728a-4b68-b49d-fcb22de3bfe3</value></node><item-id type="text-single" label="Item ID"><value>item-567d7617-5fbb-40df-8454-229c19f6cc6f</value></item-id><item type="text-multi" label="Item"><value><item id="item-567d7617-5fbb-40df-8454-229c19f6cc6f"><test>item-567d7617-5fbb-40df-8454-229c19f6cc6f</test></item></value></item></result>

2022-05-16 23:13:47 | [Mutex] notify: [retrieved:item:item-567d7617-5fbb-40df-8454-229c19f6cc6f:payload-matches:true:localhost]

2022-05-16 23:13:47 | [Mutex] received everything.

2022-05-16 23:13:47 | [Mutex] isItemNotified: retrieved:item:item-567d7617-5fbb-40df-8454-229c19f6cc6f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-16 23:13:47 |

2022-05-16 23:13:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:47 | ------------------------------------

2022-05-16 23:13:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-16 23:13:47 | 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-c415002a-8a8e-4565-83b3-bac390af10b2</value><value>node-29448056-728a-4b68-b49d-fcb22de3bfe3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-05-16 23:13:47 |

2022-05-16 23:13:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:47 | ------------------------------------

2022-05-16 23:13:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-29448056-728a-4b68-b49d-fcb22de3bfe3)</node-pattern></data>

2022-05-16 23:13:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.122s
2022-05-16 23:13:45 |

2022-05-16 23:13:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:45 | ------------------------------------

2022-05-16 23:13:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-29448056-728a-4b68-b49d-fcb22de3bfe3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-16 23:13:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.143s
2022-05-16 23:13:47 |

2022-05-16 23:13:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-16 23:13:47 | ------------------------------------

2022-05-16 23:13:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-29448056-728a-4b68-b49d-fcb22de3bfe3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-16 23:13:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>