Generated by TestNG with ReportNG at 21:41 PST on Wednesday 27 January 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.310s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.158s
2021-01-27 21:56:42 |

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

2021-01-27 21:56:42 | ------------------------------------

2021-01-27 21:56:42 | [Mutex] waiting for: [configured:node:node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4:node-b307ed06-f9fb-4cb8-9f71-623b70b778ba]

2021-01-27 21:56:42 | [Mutex] received everything.

2021-01-27 21:56:42 | [Mutex] isItemNotified: configured:node:node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4:node-b307ed06-f9fb-4cb8-9f71-623b70b778ba :: true

2021-01-27 21:56:43 | [Mutex] waiting for: [received:nodes:f7814217-ac46-4d68-8eb2-0c79e3a6a732:localhost]

2021-01-27 21:56:43 | [Mutex] received everything.

2021-01-27 21:56:43 | [Mutex] isItemNotified: received:node:f7814217-ac46-4d68-8eb2-0c79e3a6a732:localhost:node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4:Node 5e82eafe-e30c-4aba-9ebd-d27d7e4382e4 :: true

2021-01-27 21:56:43 | [Mutex] waiting for: [received:nodes:1d6f25f9-0e5b-431c-9546-3d11079baad2:localhost]

2021-01-27 21:56:43 | [Mutex] received everything.

2021-01-27 21:56:43 | [Mutex] isItemNotified: received:node:1d6f25f9-0e5b-431c-9546-3d11079baad2:localhost:node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4:Node 5e82eafe-e30c-4aba-9ebd-d27d7e4382e4 :: false

createNodes 1.489s
2021-01-27 21:56:39 |

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

2021-01-27 21:56:39 | ------------------------------------

2021-01-27 21:56:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5e82eafe-e30c-4aba-9ebd-d27d7e4382e4</title></pubsub></data>

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

2021-01-27 21:56:41 | [Mutex] waiting for: [received:nodes:34b60afc-21f3-4998-a693-f5a6f955c93f:localhost]

2021-01-27 21:56:41 | [Mutex] received everything.

2021-01-27 21:56:41 | [Mutex] isItemNotified: received:node:34b60afc-21f3-4998-a693-f5a6f955c93f:localhost:node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4:Node 5e82eafe-e30c-4aba-9ebd-d27d7e4382e4 :: true

createSubnodes 1.027s
2021-01-27 21:56:41 |

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

2021-01-27 21:56:41 | ------------------------------------

2021-01-27 21:56:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b307ed06-f9fb-4cb8-9f71-623b70b778ba</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b307ed06-f9fb-4cb8-9f71-623b70b778ba</title></pubsub></data>

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

2021-01-27 21:56:42 | [Mutex] waiting for: [received:nodes:a8bf23cd-0fa5-4316-a122-a772a02c32b7:localhost]

2021-01-27 21:56:42 | [Mutex] received everything.

2021-01-27 21:56:42 | [Mutex] isItemNotified: received:node:a8bf23cd-0fa5-4316-a122-a772a02c32b7:localhost:node-b307ed06-f9fb-4cb8-9f71-623b70b778ba:Node b307ed06-f9fb-4cb8-9f71-623b70b778ba :: true

deleteNodes 1.022s
2021-01-27 21:56:48 |

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

2021-01-27 21:56:48 | ------------------------------------

2021-01-27 21:56:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b307ed06-f9fb-4cb8-9f71-623b70b778ba</node></data>

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

2021-01-27 21:56:49 | [Mutex] waiting for: [received:nodes:8ccc7b57-922a-46c8-90aa-4e36b9b2ed38:localhost]

2021-01-27 21:56:49 | [Mutex] waiting for: [received:nodes:8ccc7b57-922a-46c8-90aa-4e36b9b2ed38:localhost]

2021-01-27 21:56:49 | [Mutex] received everything.

2021-01-27 21:56:49 | [Mutex] isItemNotified: received:node:8ccc7b57-922a-46c8-90aa-4e36b9b2ed38:localhost:node-b307ed06-f9fb-4cb8-9f71-623b70b778ba:Node b307ed06-f9fb-4cb8-9f71-623b70b778ba :: false

deleteSubnodes 1.141s
2021-01-27 21:56:46 |

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

2021-01-27 21:56:46 | ------------------------------------

2021-01-27 21:56:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4</node></data>

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

2021-01-27 21:56:48 | [Mutex] waiting for: [received:nodes:97985ffa-32e6-4f6b-82bd-15f280ababf9:localhost]

2021-01-27 21:56:48 | [Mutex] received everything.

2021-01-27 21:56:48 | [Mutex] isItemNotified: received:node:97985ffa-32e6-4f6b-82bd-15f280ababf9:localhost:node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4:Node 5e82eafe-e30c-4aba-9ebd-d27d7e4382e4 :: false

2021-01-27 21:56:48 | [Mutex] waiting for: [received:nodes:bb2e890a-47a8-4d07-825c-4b3f54bfec0a:localhost]

2021-01-27 21:56:48 | [Mutex] received everything.

2021-01-27 21:56:48 | [Mutex] isItemNotified: received:node:bb2e890a-47a8-4d07-825c-4b3f54bfec0a:localhost:node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4:Node 5e82eafe-e30c-4aba-9ebd-d27d7e4382e4 :: false

publishItemsToNodes 0.222s
2021-01-27 21:56:44 |

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

2021-01-27 21:56:44 | ------------------------------------

2021-01-27 21:56:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4</node><item-id>item-9050b52f-bd28-4982-9960-aa05d340f83a</item-id><entry><test>item-9050b52f-bd28-4982-9960-aa05d340f83a</test></entry></data>

2021-01-27 21:56:44 | 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-9050b52f-bd28-4982-9960-aa05d340f83a</value></item-id></result>

2021-01-27 21:56:44 | [Mutex] waiting for: [published:item:notifieditem-9050b52f-bd28-4982-9960-aa05d340f83a:admin@test-domain.com]

2021-01-27 21:56:44 | [Mutex] received everything.

2021-01-27 21:56:44 | [Mutex] isItemNotified: published:item:notifieditem-9050b52f-bd28-4982-9960-aa05d340f83a:admin@test-domain.com :: true

retractItemsFromNodes 0.330s
2021-01-27 21:56:45 |

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

2021-01-27 21:56:45 | ------------------------------------

2021-01-27 21:56:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4</node><item-id>item-9050b52f-bd28-4982-9960-aa05d340f83a</item-id></data>

2021-01-27 21:56:45 | 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-9050b52f-bd28-4982-9960-aa05d340f83a</value></item-id></result>

2021-01-27 21:56:45 | [Mutex] waiting for: [retracted:item:notifieditem-9050b52f-bd28-4982-9960-aa05d340f83a:admin@test-domain.com]

2021-01-27 21:56:45 | [Mutex] received everything.

2021-01-27 21:56:45 | [Mutex] isItemNotified: retracted:item:notifieditem-9050b52f-bd28-4982-9960-aa05d340f83a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.312s
2021-01-27 21:56:44 |

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

2021-01-27 21:56:44 | ------------------------------------

2021-01-27 21:56:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4</node><item-id>item-9050b52f-bd28-4982-9960-aa05d340f83a</item-id></data>

2021-01-27 21:56:45 | 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-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4</value></node><item-id label="Item ID" type="text-single"><value>item-9050b52f-bd28-4982-9960-aa05d340f83a</value></item-id><item label="Item" type="text-multi"><value><item id="item-9050b52f-bd28-4982-9960-aa05d340f83a"><test>item-9050b52f-bd28-4982-9960-aa05d340f83a</test></item></value></item></result>

2021-01-27 21:56:45 | [Mutex] notify: [retrieved:item:item-9050b52f-bd28-4982-9960-aa05d340f83a:payload-matches:true:localhost]

2021-01-27 21:56:45 | [Mutex] received everything.

2021-01-27 21:56:45 | [Mutex] isItemNotified: retrieved:item:item-9050b52f-bd28-4982-9960-aa05d340f83a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-01-27 21:56:45 |

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

2021-01-27 21:56:45 | ------------------------------------

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

2021-01-27 21:56:45 | 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-b307ed06-f9fb-4cb8-9f71-623b70b778ba</value><value>node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-01-27 21:56:45 |

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

2021-01-27 21:56:45 | ------------------------------------

2021-01-27 21:56:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4)</node-pattern></data>

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

subscribeNodes 1.159s
2021-01-27 21:56:43 |

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

2021-01-27 21:56:43 | ------------------------------------

2021-01-27 21:56:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.368s
2021-01-27 21:56:45 |

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

2021-01-27 21:56:45 | ------------------------------------

2021-01-27 21:56:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5e82eafe-e30c-4aba-9ebd-d27d7e4382e4</node><jids><value>admin@test-domain.com</value></jids></data>

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