Generated by TestNG with ReportNG at 23:03 PDT on Monday 14 September 2020
root@78ec7f12f637 / 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.243s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.141s
2020-09-14 23:20:07 |

2020-09-14 23:20:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:07 | ------------------------------------

2020-09-14 23:20:07 | [Mutex] waiting for: [configured:node:node-78b4312f-0144-48d7-b5d7-e4726d5b7b91:node-171211ad-a492-41d1-81f3-8a7e72807fb8]

2020-09-14 23:20:07 | [Mutex] received everything.

2020-09-14 23:20:07 | [Mutex] isItemNotified: configured:node:node-78b4312f-0144-48d7-b5d7-e4726d5b7b91:node-171211ad-a492-41d1-81f3-8a7e72807fb8 :: true

2020-09-14 23:20:08 | [Mutex] waiting for: [received:nodes:e613695b-9362-45ba-87ff-a54caf585a30:localhost]

2020-09-14 23:20:08 | [Mutex] waiting for: [received:nodes:e613695b-9362-45ba-87ff-a54caf585a30:localhost]

2020-09-14 23:20:08 | [Mutex] received everything.

2020-09-14 23:20:08 | [Mutex] isItemNotified: received:node:e613695b-9362-45ba-87ff-a54caf585a30:localhost:node-78b4312f-0144-48d7-b5d7-e4726d5b7b91:Node 78b4312f-0144-48d7-b5d7-e4726d5b7b91 :: true

2020-09-14 23:20:08 | [Mutex] waiting for: [received:nodes:f24ff6fd-d6bd-4424-9543-5319104a2fb5:localhost]

2020-09-14 23:20:08 | [Mutex] waiting for: [received:nodes:f24ff6fd-d6bd-4424-9543-5319104a2fb5:localhost]

2020-09-14 23:20:08 | [Mutex] waiting for: [received:nodes:f24ff6fd-d6bd-4424-9543-5319104a2fb5:localhost]

2020-09-14 23:20:08 | [Mutex] waiting for: [received:nodes:f24ff6fd-d6bd-4424-9543-5319104a2fb5:localhost]

2020-09-14 23:20:08 | [Mutex] received everything.

2020-09-14 23:20:08 | [Mutex] isItemNotified: received:node:f24ff6fd-d6bd-4424-9543-5319104a2fb5:localhost:node-78b4312f-0144-48d7-b5d7-e4726d5b7b91:Node 78b4312f-0144-48d7-b5d7-e4726d5b7b91 :: false

createNodes 1.628s
2020-09-14 23:20:04 |

2020-09-14 23:20:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:04 | ------------------------------------

2020-09-14 23:20:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-78b4312f-0144-48d7-b5d7-e4726d5b7b91</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 78b4312f-0144-48d7-b5d7-e4726d5b7b91</title></pubsub></data>

2020-09-14 23:20:05 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-14 23:20:06 | [Mutex] waiting for: [received:nodes:33687472-d635-45db-86d4-6038b488f8a7:localhost]

2020-09-14 23:20:06 | [Mutex] received everything.

2020-09-14 23:20:06 | [Mutex] isItemNotified: received:node:33687472-d635-45db-86d4-6038b488f8a7:localhost:node-78b4312f-0144-48d7-b5d7-e4726d5b7b91:Node 78b4312f-0144-48d7-b5d7-e4726d5b7b91 :: true

createSubnodes 1.034s
2020-09-14 23:20:06 |

2020-09-14 23:20:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:06 | ------------------------------------

2020-09-14 23:20:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-171211ad-a492-41d1-81f3-8a7e72807fb8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 171211ad-a492-41d1-81f3-8a7e72807fb8</title></pubsub></data>

2020-09-14 23:20:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-14 23:20:07 | [Mutex] waiting for: [received:nodes:541e03d9-8436-40d9-80e2-d894bda495c2:localhost]

2020-09-14 23:20:07 | [Mutex] received everything.

2020-09-14 23:20:07 | [Mutex] isItemNotified: received:node:541e03d9-8436-40d9-80e2-d894bda495c2:localhost:node-171211ad-a492-41d1-81f3-8a7e72807fb8:Node 171211ad-a492-41d1-81f3-8a7e72807fb8 :: true

deleteNodes 1.027s
2020-09-14 23:20:13 |

2020-09-14 23:20:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:13 | ------------------------------------

2020-09-14 23:20:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-171211ad-a492-41d1-81f3-8a7e72807fb8</node></data>

2020-09-14 23:20:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-14 23:20:14 | [Mutex] waiting for: [received:nodes:2a902db2-8c8f-49e7-9298-1a4ef3c5fd1b:localhost]

2020-09-14 23:20:14 | [Mutex] received everything.

2020-09-14 23:20:14 | [Mutex] isItemNotified: received:node:2a902db2-8c8f-49e7-9298-1a4ef3c5fd1b:localhost:node-171211ad-a492-41d1-81f3-8a7e72807fb8:Node 171211ad-a492-41d1-81f3-8a7e72807fb8 :: false

deleteSubnodes 1.117s
2020-09-14 23:20:12 |

2020-09-14 23:20:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:12 | ------------------------------------

2020-09-14 23:20:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-78b4312f-0144-48d7-b5d7-e4726d5b7b91</node></data>

2020-09-14 23:20:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-14 23:20:13 | [Mutex] waiting for: [received:nodes:59e8da2e-16e0-42a1-a18c-bc5c1e97be8f:localhost]

2020-09-14 23:20:13 | [Mutex] received everything.

2020-09-14 23:20:13 | [Mutex] isItemNotified: received:node:59e8da2e-16e0-42a1-a18c-bc5c1e97be8f:localhost:node-78b4312f-0144-48d7-b5d7-e4726d5b7b91:Node 78b4312f-0144-48d7-b5d7-e4726d5b7b91 :: false

2020-09-14 23:20:13 | [Mutex] waiting for: [received:nodes:56b21b5d-a164-493f-aeea-3ea500a74dc9:localhost]

2020-09-14 23:20:13 | [Mutex] received everything.

2020-09-14 23:20:13 | [Mutex] isItemNotified: received:node:56b21b5d-a164-493f-aeea-3ea500a74dc9:localhost:node-78b4312f-0144-48d7-b5d7-e4726d5b7b91:Node 78b4312f-0144-48d7-b5d7-e4726d5b7b91 :: false

publishItemsToNodes 0.254s
2020-09-14 23:20:09 |

2020-09-14 23:20:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:09 | ------------------------------------

2020-09-14 23:20:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-78b4312f-0144-48d7-b5d7-e4726d5b7b91</node><item-id>item-5e27d912-e19a-4e46-ae46-74a537b0ce3d</item-id><entry><test>item-5e27d912-e19a-4e46-ae46-74a537b0ce3d</test></entry></data>

2020-09-14 23:20:10 | 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-5e27d912-e19a-4e46-ae46-74a537b0ce3d</value></item-id></result>

2020-09-14 23:20:10 | [Mutex] waiting for: [published:item:notifieditem-5e27d912-e19a-4e46-ae46-74a537b0ce3d:admin@test-domain.com]

2020-09-14 23:20:10 | [Mutex] received everything.

2020-09-14 23:20:10 | [Mutex] isItemNotified: published:item:notifieditem-5e27d912-e19a-4e46-ae46-74a537b0ce3d:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2020-09-14 23:20:10 |

2020-09-14 23:20:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:10 | ------------------------------------

2020-09-14 23:20:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-78b4312f-0144-48d7-b5d7-e4726d5b7b91</node><item-id>item-5e27d912-e19a-4e46-ae46-74a537b0ce3d</item-id></data>

2020-09-14 23:20:10 | 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-5e27d912-e19a-4e46-ae46-74a537b0ce3d</value></item-id></result>

2020-09-14 23:20:10 | [Mutex] received everything.

2020-09-14 23:20:10 | [Mutex] isItemNotified: retracted:item:notifieditem-5e27d912-e19a-4e46-ae46-74a537b0ce3d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.301s
2020-09-14 23:20:10 |

2020-09-14 23:20:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:10 | ------------------------------------

2020-09-14 23:20:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-78b4312f-0144-48d7-b5d7-e4726d5b7b91</node><item-id>item-5e27d912-e19a-4e46-ae46-74a537b0ce3d</item-id></data>

2020-09-14 23:20:10 | 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-78b4312f-0144-48d7-b5d7-e4726d5b7b91</value></node><item-id label="Item ID" type="text-single"><value>item-5e27d912-e19a-4e46-ae46-74a537b0ce3d</value></item-id><item label="Item" type="text-multi"><value><item id="item-5e27d912-e19a-4e46-ae46-74a537b0ce3d"><test>item-5e27d912-e19a-4e46-ae46-74a537b0ce3d</test></item></value></item></result>

2020-09-14 23:20:10 | [Mutex] notify: [retrieved:item:item-5e27d912-e19a-4e46-ae46-74a537b0ce3d:payload-matches:true:localhost]

2020-09-14 23:20:10 | [Mutex] received everything.

2020-09-14 23:20:10 | [Mutex] isItemNotified: retrieved:item:item-5e27d912-e19a-4e46-ae46-74a537b0ce3d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-14 23:20:10 |

2020-09-14 23:20:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:10 | ------------------------------------

2020-09-14 23:20:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-14 23:20:10 | 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-171211ad-a492-41d1-81f3-8a7e72807fb8</value><value>node-78b4312f-0144-48d7-b5d7-e4726d5b7b91</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2020-09-14 23:20:10 |

2020-09-14 23:20:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:10 | ------------------------------------

2020-09-14 23:20:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-78b4312f-0144-48d7-b5d7-e4726d5b7b91)</node-pattern></data>

2020-09-14 23:20:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.118s
2020-09-14 23:20:08 |

2020-09-14 23:20:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:08 | ------------------------------------

2020-09-14 23:20:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-78b4312f-0144-48d7-b5d7-e4726d5b7b91</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-14 23:20:08 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.303s
2020-09-14 23:20:10 |

2020-09-14 23:20:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-14 23:20:10 | ------------------------------------

2020-09-14 23:20:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-78b4312f-0144-48d7-b5d7-e4726d5b7b91</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-14 23:20:11 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>