Generated by TestNG with ReportNG at 22:59 PDT on Sunday 27 September 2020
root@5144953a445d / 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.933s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2020-09-27 23:15:31 |

2020-09-27 23:15:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:31 | ------------------------------------

2020-09-27 23:15:31 | [Mutex] waiting for: [configured:node:node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6:node-2af23cb0-7cb8-41a8-bc73-ffc3a4370a0c]

2020-09-27 23:15:31 | [Mutex] received everything.

2020-09-27 23:15:31 | [Mutex] isItemNotified: configured:node:node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6:node-2af23cb0-7cb8-41a8-bc73-ffc3a4370a0c :: true

2020-09-27 23:15:32 | [Mutex] waiting for: [received:nodes:7d9f45b6-bb2e-4fe6-a6c8-7ed20b9b55e3:localhost]

2020-09-27 23:15:32 | [Mutex] received everything.

2020-09-27 23:15:32 | [Mutex] isItemNotified: received:node:7d9f45b6-bb2e-4fe6-a6c8-7ed20b9b55e3:localhost:node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6:Node 85007a2e-5b6d-401f-ae57-2d3d5f5886c6 :: true

2020-09-27 23:15:32 | [Mutex] waiting for: [received:nodes:6f4eb191-373a-41dc-9b4a-17da6c44f2d2:localhost]

2020-09-27 23:15:32 | [Mutex] received everything.

2020-09-27 23:15:32 | [Mutex] isItemNotified: received:node:6f4eb191-373a-41dc-9b4a-17da6c44f2d2:localhost:node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6:Node 85007a2e-5b6d-401f-ae57-2d3d5f5886c6 :: false

createNodes 1.408s
2020-09-27 23:15:29 |

2020-09-27 23:15:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:29 | ------------------------------------

2020-09-27 23:15:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 85007a2e-5b6d-401f-ae57-2d3d5f5886c6</title></pubsub></data>

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

2020-09-27 23:15:30 | [Mutex] waiting for: [received:nodes:90179ce9-d881-4a26-a6fc-b43053bab843:localhost]

2020-09-27 23:15:30 | [Mutex] waiting for: [received:nodes:90179ce9-d881-4a26-a6fc-b43053bab843:localhost]

2020-09-27 23:15:30 | [Mutex] received everything.

2020-09-27 23:15:30 | [Mutex] isItemNotified: received:node:90179ce9-d881-4a26-a6fc-b43053bab843:localhost:node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6:Node 85007a2e-5b6d-401f-ae57-2d3d5f5886c6 :: true

createSubnodes 1.025s
2020-09-27 23:15:30 |

2020-09-27 23:15:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:30 | ------------------------------------

2020-09-27 23:15:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2af23cb0-7cb8-41a8-bc73-ffc3a4370a0c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2af23cb0-7cb8-41a8-bc73-ffc3a4370a0c</title></pubsub></data>

2020-09-27 23:15: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-27 23:15:31 | [Mutex] waiting for: [received:nodes:b96ec3db-3b8b-4cb3-ab5f-1bb770806de4:localhost]

2020-09-27 23:15:31 | [Mutex] received everything.

2020-09-27 23:15:31 | [Mutex] isItemNotified: received:node:b96ec3db-3b8b-4cb3-ab5f-1bb770806de4:localhost:node-2af23cb0-7cb8-41a8-bc73-ffc3a4370a0c:Node 2af23cb0-7cb8-41a8-bc73-ffc3a4370a0c :: true

deleteNodes 1.019s
2020-09-27 23:15:37 |

2020-09-27 23:15:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:37 | ------------------------------------

2020-09-27 23:15:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2af23cb0-7cb8-41a8-bc73-ffc3a4370a0c</node></data>

2020-09-27 23:15: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-27 23:15:38 | [Mutex] waiting for: [received:nodes:cbd78888-a73e-49e9-8649-263888e9d5b7:localhost]

2020-09-27 23:15:38 | [Mutex] received everything.

2020-09-27 23:15:38 | [Mutex] isItemNotified: received:node:cbd78888-a73e-49e9-8649-263888e9d5b7:localhost:node-2af23cb0-7cb8-41a8-bc73-ffc3a4370a0c:Node 2af23cb0-7cb8-41a8-bc73-ffc3a4370a0c :: false

deleteSubnodes 1.134s
2020-09-27 23:15:35 |

2020-09-27 23:15:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:35 | ------------------------------------

2020-09-27 23:15:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6</node></data>

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

2020-09-27 23:15:37 | [Mutex] waiting for: [received:nodes:e7bc2cce-f0b3-4b75-8de5-ba8a1e613d59:localhost]

2020-09-27 23:15:37 | [Mutex] received everything.

2020-09-27 23:15:37 | [Mutex] isItemNotified: received:node:e7bc2cce-f0b3-4b75-8de5-ba8a1e613d59:localhost:node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6:Node 85007a2e-5b6d-401f-ae57-2d3d5f5886c6 :: false

2020-09-27 23:15:37 | [Mutex] waiting for: [received:nodes:a0e8ab28-7a21-4d1d-abac-93f3e3d5b1c5:localhost]

2020-09-27 23:15:37 | [Mutex] received everything.

2020-09-27 23:15:37 | [Mutex] isItemNotified: received:node:a0e8ab28-7a21-4d1d-abac-93f3e3d5b1c5:localhost:node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6:Node 85007a2e-5b6d-401f-ae57-2d3d5f5886c6 :: false

publishItemsToNodes 0.188s
2020-09-27 23:15:33 |

2020-09-27 23:15:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:33 | ------------------------------------

2020-09-27 23:15:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6</node><item-id>item-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4</item-id><entry><test>item-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4</test></entry></data>

2020-09-27 23:15:34 | 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-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4</value></item-id></result>

2020-09-27 23:15:34 | [Mutex] received everything.

2020-09-27 23:15:34 | [Mutex] isItemNotified: published:item:notifieditem-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4:admin@test-domain.com :: true

retractItemsFromNodes 0.187s
2020-09-27 23:15:34 |

2020-09-27 23:15:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:34 | ------------------------------------

2020-09-27 23:15:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6</node><item-id>item-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4</item-id></data>

2020-09-27 23:15:34 | 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-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4</value></item-id></result>

2020-09-27 23:15:34 | [Mutex] received everything.

2020-09-27 23:15:34 | [Mutex] isItemNotified: retracted:item:notifieditem-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4:admin@test-domain.com :: true

retrieveItemsFromNodes 0.314s
2020-09-27 23:15:34 |

2020-09-27 23:15:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:34 | ------------------------------------

2020-09-27 23:15:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6</node><item-id>item-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4</item-id></data>

2020-09-27 23:15:34 | 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-85007a2e-5b6d-401f-ae57-2d3d5f5886c6</value></node><item-id label="Item ID" type="text-single"><value>item-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4</value></item-id><item label="Item" type="text-multi"><value><item id="item-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4"><test>item-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4</test></item></value></item></result>

2020-09-27 23:15:34 | [Mutex] notify: [retrieved:item:item-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4:payload-matches:true:localhost]

2020-09-27 23:15:34 | [Mutex] received everything.

2020-09-27 23:15:34 | [Mutex] isItemNotified: retrieved:item:item-09e0758e-bbfc-4dc4-b4e4-1dafba5901b4:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-27 23:15:34 |

2020-09-27 23:15:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:34 | ------------------------------------

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

2020-09-27 23:15:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6</value><value>node-2af23cb0-7cb8-41a8-bc73-ffc3a4370a0c</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.066s
2020-09-27 23:15:34 |

2020-09-27 23:15:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:34 | ------------------------------------

2020-09-27 23:15:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6)</node-pattern></data>

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

subscribeNodes 1.134s
2020-09-27 23:15:32 |

2020-09-27 23:15:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:32 | ------------------------------------

2020-09-27 23:15:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-27 23:15:32 | 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-27 23:15:34 |

2020-09-27 23:15:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-27 23:15:34 | ------------------------------------

2020-09-27 23:15:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-85007a2e-5b6d-401f-ae57-2d3d5f5886c6</node><jids><value>admin@test-domain.com</value></jids></data>

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