Generated by TestNG with ReportNG at 22:14 PDT on Wednesday 06 October 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.313s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.148s
2021-10-06 22:29:49 |

2021-10-06 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:49 | ------------------------------------

2021-10-06 22:29:49 | [Mutex] waiting for: [configured:node:node-ab4f8185-d0ad-45b7-b28e-c86067d54440:node-42b2c9d5-693c-4e15-912b-a9529a2b732a]

2021-10-06 22:29:49 | [Mutex] received everything.

2021-10-06 22:29:49 | [Mutex] isItemNotified: configured:node:node-ab4f8185-d0ad-45b7-b28e-c86067d54440:node-42b2c9d5-693c-4e15-912b-a9529a2b732a :: true

2021-10-06 22:29:50 | [Mutex] waiting for: [received:nodes:7d41168a-c9c0-4b05-8f47-4a745d1e1347:localhost]

2021-10-06 22:29:50 | [Mutex] waiting for: [received:nodes:7d41168a-c9c0-4b05-8f47-4a745d1e1347:localhost]

2021-10-06 22:29:50 | [Mutex] received everything.

2021-10-06 22:29:50 | [Mutex] isItemNotified: received:node:7d41168a-c9c0-4b05-8f47-4a745d1e1347:localhost:node-ab4f8185-d0ad-45b7-b28e-c86067d54440:Node ab4f8185-d0ad-45b7-b28e-c86067d54440 :: true

2021-10-06 22:29:50 | [Mutex] waiting for: [received:nodes:1892d72c-1036-4fa3-9f4a-85de3eac18aa:localhost]

2021-10-06 22:29:50 | [Mutex] waiting for: [received:nodes:1892d72c-1036-4fa3-9f4a-85de3eac18aa:localhost]

2021-10-06 22:29:50 | [Mutex] waiting for: [received:nodes:1892d72c-1036-4fa3-9f4a-85de3eac18aa:localhost]

2021-10-06 22:29:50 | [Mutex] received everything.

2021-10-06 22:29:50 | [Mutex] isItemNotified: received:node:1892d72c-1036-4fa3-9f4a-85de3eac18aa:localhost:node-ab4f8185-d0ad-45b7-b28e-c86067d54440:Node ab4f8185-d0ad-45b7-b28e-c86067d54440 :: false

createNodes 1.594s
2021-10-06 22:29:46 |

2021-10-06 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:46 | ------------------------------------

2021-10-06 22:29:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ab4f8185-d0ad-45b7-b28e-c86067d54440</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ab4f8185-d0ad-45b7-b28e-c86067d54440</title></pubsub></data>

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

2021-10-06 22:29:48 | [Mutex] waiting for: [received:nodes:0d19d669-478b-4575-8339-f7b133b62a04:localhost]

2021-10-06 22:29:48 | [Mutex] waiting for: [received:nodes:0d19d669-478b-4575-8339-f7b133b62a04:localhost]

2021-10-06 22:29:48 | [Mutex] received everything.

2021-10-06 22:29:48 | [Mutex] isItemNotified: received:node:0d19d669-478b-4575-8339-f7b133b62a04:localhost:node-ab4f8185-d0ad-45b7-b28e-c86067d54440:Node ab4f8185-d0ad-45b7-b28e-c86067d54440 :: true

createSubnodes 1.037s
2021-10-06 22:29:48 |

2021-10-06 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:48 | ------------------------------------

2021-10-06 22:29:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-42b2c9d5-693c-4e15-912b-a9529a2b732a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 42b2c9d5-693c-4e15-912b-a9529a2b732a</title></pubsub></data>

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

2021-10-06 22:29:49 | [Mutex] waiting for: [received:nodes:5eed2ad9-ab61-4408-85fd-404626513185:localhost]

2021-10-06 22:29:49 | [Mutex] waiting for: [received:nodes:5eed2ad9-ab61-4408-85fd-404626513185:localhost]

2021-10-06 22:29:49 | [Mutex] received everything.

2021-10-06 22:29:49 | [Mutex] isItemNotified: received:node:5eed2ad9-ab61-4408-85fd-404626513185:localhost:node-42b2c9d5-693c-4e15-912b-a9529a2b732a:Node 42b2c9d5-693c-4e15-912b-a9529a2b732a :: true

deleteNodes 1.020s
2021-10-06 22:29:55 |

2021-10-06 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:55 | ------------------------------------

2021-10-06 22:29:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-42b2c9d5-693c-4e15-912b-a9529a2b732a</node></data>

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

2021-10-06 22:29:56 | [Mutex] waiting for: [received:nodes:c4975100-5601-487f-8f9f-27acbacd47d1:localhost]

2021-10-06 22:29:56 | [Mutex] received everything.

2021-10-06 22:29:56 | [Mutex] isItemNotified: received:node:c4975100-5601-487f-8f9f-27acbacd47d1:localhost:node-42b2c9d5-693c-4e15-912b-a9529a2b732a:Node 42b2c9d5-693c-4e15-912b-a9529a2b732a :: false

deleteSubnodes 1.153s
2021-10-06 22:29:53 |

2021-10-06 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:53 | ------------------------------------

2021-10-06 22:29:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ab4f8185-d0ad-45b7-b28e-c86067d54440</node></data>

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

2021-10-06 22:29:55 | [Mutex] waiting for: [received:nodes:7c76fe9b-e552-452a-9733-ff29ef8fe05f:localhost]

2021-10-06 22:29:55 | [Mutex] received everything.

2021-10-06 22:29:55 | [Mutex] isItemNotified: received:node:7c76fe9b-e552-452a-9733-ff29ef8fe05f:localhost:node-ab4f8185-d0ad-45b7-b28e-c86067d54440:Node ab4f8185-d0ad-45b7-b28e-c86067d54440 :: false

2021-10-06 22:29:55 | [Mutex] waiting for: [received:nodes:9c9b3913-8a14-4cb1-823a-c26bfaf42d1a:localhost]

2021-10-06 22:29:55 | [Mutex] received everything.

2021-10-06 22:29:55 | [Mutex] isItemNotified: received:node:9c9b3913-8a14-4cb1-823a-c26bfaf42d1a:localhost:node-ab4f8185-d0ad-45b7-b28e-c86067d54440:Node ab4f8185-d0ad-45b7-b28e-c86067d54440 :: false

publishItemsToNodes 0.242s
2021-10-06 22:29:51 |

2021-10-06 22:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:51 | ------------------------------------

2021-10-06 22:29:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ab4f8185-d0ad-45b7-b28e-c86067d54440</node><item-id>item-49409ea5-2669-4675-ad16-02c8be575343</item-id><entry><test>item-49409ea5-2669-4675-ad16-02c8be575343</test></entry></data>

2021-10-06 22:29:52 | 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-49409ea5-2669-4675-ad16-02c8be575343</value></item-id></result>

2021-10-06 22:29:52 | [Mutex] received everything.

2021-10-06 22:29:52 | [Mutex] isItemNotified: published:item:notifieditem-49409ea5-2669-4675-ad16-02c8be575343:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2021-10-06 22:29:52 |

2021-10-06 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:52 | ------------------------------------

2021-10-06 22:29:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ab4f8185-d0ad-45b7-b28e-c86067d54440</node><item-id>item-49409ea5-2669-4675-ad16-02c8be575343</item-id></data>

2021-10-06 22:29:52 | 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-49409ea5-2669-4675-ad16-02c8be575343</value></item-id></result>

2021-10-06 22:29:52 | [Mutex] received everything.

2021-10-06 22:29:52 | [Mutex] isItemNotified: retracted:item:notifieditem-49409ea5-2669-4675-ad16-02c8be575343:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2021-10-06 22:29:52 |

2021-10-06 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:52 | ------------------------------------

2021-10-06 22:29:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ab4f8185-d0ad-45b7-b28e-c86067d54440</node><item-id>item-49409ea5-2669-4675-ad16-02c8be575343</item-id></data>

2021-10-06 22:29:52 | 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-ab4f8185-d0ad-45b7-b28e-c86067d54440</value></node><item-id label="Item ID" type="text-single"><value>item-49409ea5-2669-4675-ad16-02c8be575343</value></item-id><item label="Item" type="text-multi"><value><item id="item-49409ea5-2669-4675-ad16-02c8be575343"><test>item-49409ea5-2669-4675-ad16-02c8be575343</test></item></value></item></result>

2021-10-06 22:29:52 | [Mutex] notify: [retrieved:item:item-49409ea5-2669-4675-ad16-02c8be575343:payload-matches:true:localhost]

2021-10-06 22:29:52 | [Mutex] received everything.

2021-10-06 22:29:52 | [Mutex] isItemNotified: retrieved:item:item-49409ea5-2669-4675-ad16-02c8be575343:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-10-06 22:29:52 |

2021-10-06 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:52 | ------------------------------------

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

2021-10-06 22:29:52 | 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-42b2c9d5-693c-4e15-912b-a9529a2b732a</value><value>node-ab4f8185-d0ad-45b7-b28e-c86067d54440</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-10-06 22:29:52 |

2021-10-06 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:52 | ------------------------------------

2021-10-06 22:29:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ab4f8185-d0ad-45b7-b28e-c86067d54440)</node-pattern></data>

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

subscribeNodes 1.172s
2021-10-06 22:29:50 |

2021-10-06 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:50 | ------------------------------------

2021-10-06 22:29:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ab4f8185-d0ad-45b7-b28e-c86067d54440</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.243s
2021-10-06 22:29:52 |

2021-10-06 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-06 22:29:52 | ------------------------------------

2021-10-06 22:29:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ab4f8185-d0ad-45b7-b28e-c86067d54440</node><jids><value>admin@test-domain.com</value></jids></data>

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