Generated by TestNG with ReportNG at 22:42 PDT on Friday 11 September 2020
root@7fc44405bb09 / 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.920s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.091s
2020-09-11 22:58:14 |

2020-09-11 22:58:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:14 | ------------------------------------

2020-09-11 22:58:14 | [Mutex] waiting for: [configured:node:node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3:node-0df161b9-a2b6-4f7e-bae9-77a1493f1c5c]

2020-09-11 22:58:14 | [Mutex] received everything.

2020-09-11 22:58:14 | [Mutex] isItemNotified: configured:node:node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3:node-0df161b9-a2b6-4f7e-bae9-77a1493f1c5c :: true

2020-09-11 22:58:15 | [Mutex] waiting for: [received:nodes:89fa2379-356b-4a4e-bf9b-434947ae72fd:localhost]

2020-09-11 22:58:15 | [Mutex] received everything.

2020-09-11 22:58:15 | [Mutex] isItemNotified: received:node:89fa2379-356b-4a4e-bf9b-434947ae72fd:localhost:node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3:Node 13c46ad1-7f6e-4fde-a083-9ef7d866b0b3 :: true

2020-09-11 22:58:15 | [Mutex] waiting for: [received:nodes:112c4bdb-7111-4756-9e0b-879a8c6dbf71:localhost]

2020-09-11 22:58:15 | [Mutex] received everything.

2020-09-11 22:58:15 | [Mutex] isItemNotified: received:node:112c4bdb-7111-4756-9e0b-879a8c6dbf71:localhost:node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3:Node 13c46ad1-7f6e-4fde-a083-9ef7d866b0b3 :: false

createNodes 1.519s
2020-09-11 22:58:12 |

2020-09-11 22:58:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:12 | ------------------------------------

2020-09-11 22:58:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 13c46ad1-7f6e-4fde-a083-9ef7d866b0b3</title></pubsub></data>

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

2020-09-11 22:58:13 | [Mutex] waiting for: [received:nodes:bdce0d9d-5a21-4dea-a079-e7b4afc8e849:localhost]

2020-09-11 22:58:13 | [Mutex] received everything.

2020-09-11 22:58:13 | [Mutex] isItemNotified: received:node:bdce0d9d-5a21-4dea-a079-e7b4afc8e849:localhost:node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3:Node 13c46ad1-7f6e-4fde-a083-9ef7d866b0b3 :: true

createSubnodes 1.033s
2020-09-11 22:58:13 |

2020-09-11 22:58:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:13 | ------------------------------------

2020-09-11 22:58:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0df161b9-a2b6-4f7e-bae9-77a1493f1c5c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0df161b9-a2b6-4f7e-bae9-77a1493f1c5c</title></pubsub></data>

2020-09-11 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>

2020-09-11 22:58:14 | [Mutex] waiting for: [received:nodes:8f08f083-b0fd-4880-86b8-9214fc7c62b8:localhost]

2020-09-11 22:58:14 | [Mutex] received everything.

2020-09-11 22:58:14 | [Mutex] isItemNotified: received:node:8f08f083-b0fd-4880-86b8-9214fc7c62b8:localhost:node-0df161b9-a2b6-4f7e-bae9-77a1493f1c5c:Node 0df161b9-a2b6-4f7e-bae9-77a1493f1c5c :: true

deleteNodes 1.024s
2020-09-11 22:58:20 |

2020-09-11 22:58:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:20 | ------------------------------------

2020-09-11 22:58:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0df161b9-a2b6-4f7e-bae9-77a1493f1c5c</node></data>

2020-09-11 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>

2020-09-11 22:58:21 | [Mutex] waiting for: [received:nodes:64eeb078-52b2-40f2-b2a4-876c9b6967a2:localhost]

2020-09-11 22:58:21 | [Mutex] waiting for: [received:nodes:64eeb078-52b2-40f2-b2a4-876c9b6967a2:localhost]

2020-09-11 22:58:21 | [Mutex] received everything.

2020-09-11 22:58:21 | [Mutex] isItemNotified: received:node:64eeb078-52b2-40f2-b2a4-876c9b6967a2:localhost:node-0df161b9-a2b6-4f7e-bae9-77a1493f1c5c:Node 0df161b9-a2b6-4f7e-bae9-77a1493f1c5c :: false

deleteSubnodes 1.144s
2020-09-11 22:58:18 |

2020-09-11 22:58:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:18 | ------------------------------------

2020-09-11 22:58:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3</node></data>

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

2020-09-11 22:58:19 | [Mutex] waiting for: [received:nodes:2e728043-6688-40cf-9c8b-d1c8e67683ac:localhost]

2020-09-11 22:58:20 | [Mutex] received everything.

2020-09-11 22:58:20 | [Mutex] isItemNotified: received:node:2e728043-6688-40cf-9c8b-d1c8e67683ac:localhost:node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3:Node 13c46ad1-7f6e-4fde-a083-9ef7d866b0b3 :: false

2020-09-11 22:58:20 | [Mutex] waiting for: [received:nodes:ba20c625-21b6-4986-b4fe-741b347834e5:localhost]

2020-09-11 22:58:20 | [Mutex] received everything.

2020-09-11 22:58:20 | [Mutex] isItemNotified: received:node:ba20c625-21b6-4986-b4fe-741b347834e5:localhost:node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3:Node 13c46ad1-7f6e-4fde-a083-9ef7d866b0b3 :: false

publishItemsToNodes 0.210s
2020-09-11 22:58:16 |

2020-09-11 22:58:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:16 | ------------------------------------

2020-09-11 22:58:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3</node><item-id>item-2d22b735-9a38-48c8-9a5f-29b6315138ee</item-id><entry><test>item-2d22b735-9a38-48c8-9a5f-29b6315138ee</test></entry></data>

2020-09-11 22:58:17 | 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-2d22b735-9a38-48c8-9a5f-29b6315138ee</value></item-id></result>

2020-09-11 22:58:17 | [Mutex] waiting for: [published:item:notifieditem-2d22b735-9a38-48c8-9a5f-29b6315138ee:admin@test-domain.com]

2020-09-11 22:58:17 | [Mutex] received everything.

2020-09-11 22:58:17 | [Mutex] isItemNotified: published:item:notifieditem-2d22b735-9a38-48c8-9a5f-29b6315138ee:admin@test-domain.com :: true

retractItemsFromNodes 0.222s
2020-09-11 22:58:17 |

2020-09-11 22:58:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:17 | ------------------------------------

2020-09-11 22:58:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3</node><item-id>item-2d22b735-9a38-48c8-9a5f-29b6315138ee</item-id></data>

2020-09-11 22:58:17 | 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-2d22b735-9a38-48c8-9a5f-29b6315138ee</value></item-id></result>

2020-09-11 22:58:17 | [Mutex] received everything.

2020-09-11 22:58:17 | [Mutex] isItemNotified: retracted:item:notifieditem-2d22b735-9a38-48c8-9a5f-29b6315138ee:admin@test-domain.com :: true

retrieveItemsFromNodes 0.213s
2020-09-11 22:58:17 |

2020-09-11 22:58:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:17 | ------------------------------------

2020-09-11 22:58:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3</node><item-id>item-2d22b735-9a38-48c8-9a5f-29b6315138ee</item-id></data>

2020-09-11 22:58:17 | 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-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3</value></node><item-id label="Item ID" type="text-single"><value>item-2d22b735-9a38-48c8-9a5f-29b6315138ee</value></item-id><item label="Item" type="text-multi"><value><item id="item-2d22b735-9a38-48c8-9a5f-29b6315138ee"><test>item-2d22b735-9a38-48c8-9a5f-29b6315138ee</test></item></value></item></result>

2020-09-11 22:58:17 | [Mutex] notify: [retrieved:item:item-2d22b735-9a38-48c8-9a5f-29b6315138ee:payload-matches:true:localhost]

2020-09-11 22:58:17 | [Mutex] received everything.

2020-09-11 22:58:17 | [Mutex] isItemNotified: retrieved:item:item-2d22b735-9a38-48c8-9a5f-29b6315138ee:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-09-11 22:58:17 |

2020-09-11 22:58:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:17 | ------------------------------------

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

2020-09-11 22:58:17 | 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-0df161b9-a2b6-4f7e-bae9-77a1493f1c5c</value><value>node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-09-11 22:58:17 |

2020-09-11 22:58:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:17 | ------------------------------------

2020-09-11 22:58:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3)</node-pattern></data>

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

subscribeNodes 1.182s
2020-09-11 22:58:15 |

2020-09-11 22:58:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:15 | ------------------------------------

2020-09-11 22:58:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.199s
2020-09-11 22:58:17 |

2020-09-11 22:58:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-11 22:58:17 | ------------------------------------

2020-09-11 22:58:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-13c46ad1-7f6e-4fde-a083-9ef7d866b0b3</node><jids><value>admin@test-domain.com</value></jids></data>

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