Generated by TestNG with ReportNG at 22:43 PDT on Wednesday 24 March 2021
root@87f6aca6b6f2 / 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.412s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.047s
2021-03-24 22:58:15 |

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

2021-03-24 22:58:15 | ------------------------------------

2021-03-24 22:58:15 | [Mutex] waiting for: [configured:node:node-d580cc38-aee9-4163-af6a-39bac46bac68:node-34b65432-b3b7-4e98-90ac-4178c70fd3b4]

2021-03-24 22:58:15 | [Mutex] received everything.

2021-03-24 22:58:15 | [Mutex] isItemNotified: configured:node:node-d580cc38-aee9-4163-af6a-39bac46bac68:node-34b65432-b3b7-4e98-90ac-4178c70fd3b4 :: true

2021-03-24 22:58:16 | [Mutex] waiting for: [received:nodes:a6253d16-7d22-4235-a15f-7a91b0cee333:localhost]

2021-03-24 22:58:16 | [Mutex] received everything.

2021-03-24 22:58:16 | [Mutex] isItemNotified: received:node:a6253d16-7d22-4235-a15f-7a91b0cee333:localhost:node-d580cc38-aee9-4163-af6a-39bac46bac68:Node d580cc38-aee9-4163-af6a-39bac46bac68 :: true

2021-03-24 22:58:16 | [Mutex] waiting for: [received:nodes:2b947e60-3218-4aa8-95d1-ef738cd332b7:localhost]

2021-03-24 22:58:16 | [Mutex] waiting for: [received:nodes:2b947e60-3218-4aa8-95d1-ef738cd332b7:localhost]

2021-03-24 22:58:16 | [Mutex] waiting for: [received:nodes:2b947e60-3218-4aa8-95d1-ef738cd332b7:localhost]

2021-03-24 22:58:16 | [Mutex] waiting for: [received:nodes:2b947e60-3218-4aa8-95d1-ef738cd332b7:localhost]

2021-03-24 22:58:16 | [Mutex] received everything.

2021-03-24 22:58:16 | [Mutex] isItemNotified: received:node:2b947e60-3218-4aa8-95d1-ef738cd332b7:localhost:node-d580cc38-aee9-4163-af6a-39bac46bac68:Node d580cc38-aee9-4163-af6a-39bac46bac68 :: false

createNodes 1.705s
2021-03-24 22:58:13 |

2021-03-24 22:58:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:13 | ------------------------------------

2021-03-24 22:58:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d580cc38-aee9-4163-af6a-39bac46bac68</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d580cc38-aee9-4163-af6a-39bac46bac68</title></pubsub></data>

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

2021-03-24 22:58:14 | [Mutex] waiting for: [received:nodes:abb4e619-81dd-4b3f-ae1a-8db0f70a3df8:localhost]

2021-03-24 22:58:14 | [Mutex] received everything.

2021-03-24 22:58:14 | [Mutex] isItemNotified: received:node:abb4e619-81dd-4b3f-ae1a-8db0f70a3df8:localhost:node-d580cc38-aee9-4163-af6a-39bac46bac68:Node d580cc38-aee9-4163-af6a-39bac46bac68 :: true

createSubnodes 1.029s
2021-03-24 22:58:14 |

2021-03-24 22:58:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:14 | ------------------------------------

2021-03-24 22:58:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-34b65432-b3b7-4e98-90ac-4178c70fd3b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 34b65432-b3b7-4e98-90ac-4178c70fd3b4</title></pubsub></data>

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

2021-03-24 22:58:15 | [Mutex] waiting for: [received:nodes:1cd0c168-3a2f-4a42-976e-1fd80c257359:localhost]

2021-03-24 22:58:15 | [Mutex] received everything.

2021-03-24 22:58:15 | [Mutex] isItemNotified: received:node:1cd0c168-3a2f-4a42-976e-1fd80c257359:localhost:node-34b65432-b3b7-4e98-90ac-4178c70fd3b4:Node 34b65432-b3b7-4e98-90ac-4178c70fd3b4 :: true

deleteNodes 1.022s
2021-03-24 22:58:21 |

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

2021-03-24 22:58:21 | ------------------------------------

2021-03-24 22:58:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-34b65432-b3b7-4e98-90ac-4178c70fd3b4</node></data>

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

2021-03-24 22:58:22 | [Mutex] waiting for: [received:nodes:953c6bdb-b6cf-41b9-94f6-6a52dc31fb9d:localhost]

2021-03-24 22:58:22 | [Mutex] received everything.

2021-03-24 22:58:22 | [Mutex] isItemNotified: received:node:953c6bdb-b6cf-41b9-94f6-6a52dc31fb9d:localhost:node-34b65432-b3b7-4e98-90ac-4178c70fd3b4:Node 34b65432-b3b7-4e98-90ac-4178c70fd3b4 :: false

deleteSubnodes 1.190s
2021-03-24 22:58:20 |

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

2021-03-24 22:58:20 | ------------------------------------

2021-03-24 22:58:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d580cc38-aee9-4163-af6a-39bac46bac68</node></data>

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

2021-03-24 22:58:21 | [Mutex] waiting for: [received:nodes:64414d6f-04bd-4ebb-96f2-968c688c2c07:localhost]

2021-03-24 22:58:21 | [Mutex] waiting for: [received:nodes:64414d6f-04bd-4ebb-96f2-968c688c2c07:localhost]

2021-03-24 22:58:21 | [Mutex] received everything.

2021-03-24 22:58:21 | [Mutex] isItemNotified: received:node:64414d6f-04bd-4ebb-96f2-968c688c2c07:localhost:node-d580cc38-aee9-4163-af6a-39bac46bac68:Node d580cc38-aee9-4163-af6a-39bac46bac68 :: false

2021-03-24 22:58:21 | [Mutex] waiting for: [received:nodes:67576852-3c4b-4e87-a926-25b71f1a7455:localhost]

2021-03-24 22:58:21 | [Mutex] received everything.

2021-03-24 22:58:21 | [Mutex] isItemNotified: received:node:67576852-3c4b-4e87-a926-25b71f1a7455:localhost:node-d580cc38-aee9-4163-af6a-39bac46bac68:Node d580cc38-aee9-4163-af6a-39bac46bac68 :: false

publishItemsToNodes 0.267s
2021-03-24 22:58:17 |

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

2021-03-24 22:58:17 | ------------------------------------

2021-03-24 22:58:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d580cc38-aee9-4163-af6a-39bac46bac68</node><item-id>item-b3aec6fb-8d8f-436d-ad23-6d490495e384</item-id><entry><test>item-b3aec6fb-8d8f-436d-ad23-6d490495e384</test></entry></data>

2021-03-24 22:58:18 | 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-b3aec6fb-8d8f-436d-ad23-6d490495e384</value></item-id></result>

2021-03-24 22:58:18 | [Mutex] received everything.

2021-03-24 22:58:18 | [Mutex] isItemNotified: published:item:notifieditem-b3aec6fb-8d8f-436d-ad23-6d490495e384:admin@test-domain.com :: true

retractItemsFromNodes 0.282s
2021-03-24 22:58:18 |

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

2021-03-24 22:58:18 | ------------------------------------

2021-03-24 22:58:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d580cc38-aee9-4163-af6a-39bac46bac68</node><item-id>item-b3aec6fb-8d8f-436d-ad23-6d490495e384</item-id></data>

2021-03-24 22:58:18 | 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-b3aec6fb-8d8f-436d-ad23-6d490495e384</value></item-id></result>

2021-03-24 22:58:18 | [Mutex] received everything.

2021-03-24 22:58:18 | [Mutex] isItemNotified: retracted:item:notifieditem-b3aec6fb-8d8f-436d-ad23-6d490495e384:admin@test-domain.com :: true

retrieveItemsFromNodes 0.298s
2021-03-24 22:58:18 |

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

2021-03-24 22:58:18 | ------------------------------------

2021-03-24 22:58:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d580cc38-aee9-4163-af6a-39bac46bac68</node><item-id>item-b3aec6fb-8d8f-436d-ad23-6d490495e384</item-id></data>

2021-03-24 22:58:18 | 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-d580cc38-aee9-4163-af6a-39bac46bac68</value></node><item-id label="Item ID" type="text-single"><value>item-b3aec6fb-8d8f-436d-ad23-6d490495e384</value></item-id><item label="Item" type="text-multi"><value><item id="item-b3aec6fb-8d8f-436d-ad23-6d490495e384"><test>item-b3aec6fb-8d8f-436d-ad23-6d490495e384</test></item></value></item></result>

2021-03-24 22:58:18 | [Mutex] notify: [retrieved:item:item-b3aec6fb-8d8f-436d-ad23-6d490495e384:payload-matches:true:localhost]

2021-03-24 22:58:18 | [Mutex] received everything.

2021-03-24 22:58:18 | [Mutex] isItemNotified: retrieved:item:item-b3aec6fb-8d8f-436d-ad23-6d490495e384:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-24 22:58:18 |

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

2021-03-24 22:58:18 | ------------------------------------

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

2021-03-24 22:58:18 | 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-34b65432-b3b7-4e98-90ac-4178c70fd3b4</value><value>node-d580cc38-aee9-4163-af6a-39bac46bac68</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-03-24 22:58:18 |

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

2021-03-24 22:58:18 | ------------------------------------

2021-03-24 22:58:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d580cc38-aee9-4163-af6a-39bac46bac68)</node-pattern></data>

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

subscribeNodes 1.151s
2021-03-24 22:58:16 |

2021-03-24 22:58:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:58:16 | ------------------------------------

2021-03-24 22:58:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d580cc38-aee9-4163-af6a-39bac46bac68</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.272s
2021-03-24 22:58:18 |

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

2021-03-24 22:58:18 | ------------------------------------

2021-03-24 22:58:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d580cc38-aee9-4163-af6a-39bac46bac68</node><jids><value>admin@test-domain.com</value></jids></data>

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