Generated by TestNG with ReportNG at 22:31 PDT on Monday 21 September 2020
root@b34f6c1e9012 / 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 : 9.823s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2020-09-21 22:47:32 |

2020-09-21 22:47:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:32 | ------------------------------------

2020-09-21 22:47:32 | [Mutex] waiting for: [configured:node:node-0a6728ef-536a-424f-8d71-fba30d798329:node-151f9f1d-3ea2-4f33-82e5-e01001d6ff50]

2020-09-21 22:47:32 | [Mutex] received everything.

2020-09-21 22:47:32 | [Mutex] isItemNotified: configured:node:node-0a6728ef-536a-424f-8d71-fba30d798329:node-151f9f1d-3ea2-4f33-82e5-e01001d6ff50 :: true

2020-09-21 22:47:33 | [Mutex] waiting for: [received:nodes:0ce24f95-0efe-48b3-97c9-5d0f0856b0b4:localhost]

2020-09-21 22:47:33 | [Mutex] received everything.

2020-09-21 22:47:33 | [Mutex] isItemNotified: received:node:0ce24f95-0efe-48b3-97c9-5d0f0856b0b4:localhost:node-0a6728ef-536a-424f-8d71-fba30d798329:Node 0a6728ef-536a-424f-8d71-fba30d798329 :: true

2020-09-21 22:47:33 | [Mutex] waiting for: [received:nodes:2409d3af-0a4b-461b-bd91-6ba42ea071f4:localhost]

2020-09-21 22:47:33 | [Mutex] received everything.

2020-09-21 22:47:33 | [Mutex] isItemNotified: received:node:2409d3af-0a4b-461b-bd91-6ba42ea071f4:localhost:node-0a6728ef-536a-424f-8d71-fba30d798329:Node 0a6728ef-536a-424f-8d71-fba30d798329 :: false

createNodes 1.546s
2020-09-21 22:47:30 |

2020-09-21 22:47:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:30 | ------------------------------------

2020-09-21 22:47:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0a6728ef-536a-424f-8d71-fba30d798329</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0a6728ef-536a-424f-8d71-fba30d798329</title></pubsub></data>

2020-09-21 22:47:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-21 22:47:31 | [Mutex] waiting for: [received:nodes:e72d0838-f462-47c3-ac6b-3db85d5c4f1b:localhost]

2020-09-21 22:47:31 | [Mutex] received everything.

2020-09-21 22:47:31 | [Mutex] isItemNotified: received:node:e72d0838-f462-47c3-ac6b-3db85d5c4f1b:localhost:node-0a6728ef-536a-424f-8d71-fba30d798329:Node 0a6728ef-536a-424f-8d71-fba30d798329 :: true

createSubnodes 1.023s
2020-09-21 22:47:31 |

2020-09-21 22:47:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:31 | ------------------------------------

2020-09-21 22:47:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-151f9f1d-3ea2-4f33-82e5-e01001d6ff50</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 151f9f1d-3ea2-4f33-82e5-e01001d6ff50</title></pubsub></data>

2020-09-21 22:47:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-21 22:47:32 | [Mutex] waiting for: [received:nodes:bacd6e5a-f582-4f73-98b6-27a51e803af6:localhost]

2020-09-21 22:47:32 | [Mutex] received everything.

2020-09-21 22:47:32 | [Mutex] isItemNotified: received:node:bacd6e5a-f582-4f73-98b6-27a51e803af6:localhost:node-151f9f1d-3ea2-4f33-82e5-e01001d6ff50:Node 151f9f1d-3ea2-4f33-82e5-e01001d6ff50 :: true

deleteNodes 1.018s
2020-09-21 22:47:38 |

2020-09-21 22:47:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:38 | ------------------------------------

2020-09-21 22:47:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-151f9f1d-3ea2-4f33-82e5-e01001d6ff50</node></data>

2020-09-21 22:47:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-21 22:47:39 | [Mutex] waiting for: [received:nodes:7e2fd651-005f-4782-b562-00c1f84c305b:localhost]

2020-09-21 22:47:39 | [Mutex] received everything.

2020-09-21 22:47:39 | [Mutex] isItemNotified: received:node:7e2fd651-005f-4782-b562-00c1f84c305b:localhost:node-151f9f1d-3ea2-4f33-82e5-e01001d6ff50:Node 151f9f1d-3ea2-4f33-82e5-e01001d6ff50 :: false

deleteSubnodes 1.106s
2020-09-21 22:47:36 |

2020-09-21 22:47:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:36 | ------------------------------------

2020-09-21 22:47:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0a6728ef-536a-424f-8d71-fba30d798329</node></data>

2020-09-21 22:47:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-21 22:47:38 | [Mutex] waiting for: [received:nodes:7f5fa163-26f9-4b63-865d-7bab54b20769:localhost]

2020-09-21 22:47:38 | [Mutex] received everything.

2020-09-21 22:47:38 | [Mutex] isItemNotified: received:node:7f5fa163-26f9-4b63-865d-7bab54b20769:localhost:node-0a6728ef-536a-424f-8d71-fba30d798329:Node 0a6728ef-536a-424f-8d71-fba30d798329 :: false

2020-09-21 22:47:38 | [Mutex] waiting for: [received:nodes:4444fb6b-d501-45fa-ab36-d35064bafe2a:localhost]

2020-09-21 22:47:38 | [Mutex] received everything.

2020-09-21 22:47:38 | [Mutex] isItemNotified: received:node:4444fb6b-d501-45fa-ab36-d35064bafe2a:localhost:node-0a6728ef-536a-424f-8d71-fba30d798329:Node 0a6728ef-536a-424f-8d71-fba30d798329 :: false

publishItemsToNodes 0.177s
2020-09-21 22:47:34 |

2020-09-21 22:47:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:34 | ------------------------------------

2020-09-21 22:47:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0a6728ef-536a-424f-8d71-fba30d798329</node><item-id>item-5edc09a9-6459-4e71-bdf4-7a698f97037f</item-id><entry><test>item-5edc09a9-6459-4e71-bdf4-7a698f97037f</test></entry></data>

2020-09-21 22:47:35 | 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-5edc09a9-6459-4e71-bdf4-7a698f97037f</value></item-id></result>

2020-09-21 22:47:35 | [Mutex] received everything.

2020-09-21 22:47:35 | [Mutex] isItemNotified: published:item:notifieditem-5edc09a9-6459-4e71-bdf4-7a698f97037f:admin@test-domain.com :: true

retractItemsFromNodes 0.195s
2020-09-21 22:47:35 |

2020-09-21 22:47:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:35 | ------------------------------------

2020-09-21 22:47:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0a6728ef-536a-424f-8d71-fba30d798329</node><item-id>item-5edc09a9-6459-4e71-bdf4-7a698f97037f</item-id></data>

2020-09-21 22:47:35 | 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-5edc09a9-6459-4e71-bdf4-7a698f97037f</value></item-id></result>

2020-09-21 22:47:35 | [Mutex] received everything.

2020-09-21 22:47:35 | [Mutex] isItemNotified: retracted:item:notifieditem-5edc09a9-6459-4e71-bdf4-7a698f97037f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.282s
2020-09-21 22:47:35 |

2020-09-21 22:47:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:35 | ------------------------------------

2020-09-21 22:47:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0a6728ef-536a-424f-8d71-fba30d798329</node><item-id>item-5edc09a9-6459-4e71-bdf4-7a698f97037f</item-id></data>

2020-09-21 22:47:35 | 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-0a6728ef-536a-424f-8d71-fba30d798329</value></node><item-id label="Item ID" type="text-single"><value>item-5edc09a9-6459-4e71-bdf4-7a698f97037f</value></item-id><item label="Item" type="text-multi"><value><item id="item-5edc09a9-6459-4e71-bdf4-7a698f97037f"><test>item-5edc09a9-6459-4e71-bdf4-7a698f97037f</test></item></value></item></result>

2020-09-21 22:47:35 | [Mutex] notify: [retrieved:item:item-5edc09a9-6459-4e71-bdf4-7a698f97037f:payload-matches:true:localhost]

2020-09-21 22:47:35 | [Mutex] received everything.

2020-09-21 22:47:35 | [Mutex] isItemNotified: retrieved:item:item-5edc09a9-6459-4e71-bdf4-7a698f97037f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-21 22:47:35 |

2020-09-21 22:47:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:35 | ------------------------------------

2020-09-21 22:47:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-21 22:47:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-0a6728ef-536a-424f-8d71-fba30d798329</value><value>test</value><value>node-151f9f1d-3ea2-4f33-82e5-e01001d6ff50</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-09-21 22:47:35 |

2020-09-21 22:47:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:35 | ------------------------------------

2020-09-21 22:47:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0a6728ef-536a-424f-8d71-fba30d798329)</node-pattern></data>

2020-09-21 22:47:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.096s
2020-09-21 22:47:33 |

2020-09-21 22:47:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:33 | ------------------------------------

2020-09-21 22:47:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0a6728ef-536a-424f-8d71-fba30d798329</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-21 22:47:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.228s
2020-09-21 22:47:35 |

2020-09-21 22:47:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-21 22:47:35 | ------------------------------------

2020-09-21 22:47:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0a6728ef-536a-424f-8d71-fba30d798329</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-21 22:47:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>