Generated by TestNG with ReportNG at 23:32 PDT on Friday 28 August 2020
root@3513606298cd / 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.090s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.117s
2020-08-28 23:47:15 |

2020-08-28 23:47:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:15 | ------------------------------------

2020-08-28 23:47:15 | [Mutex] waiting for: [configured:node:node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c:node-a18135c6-c613-484a-bd0a-b01e29747a4a]

2020-08-28 23:47:15 | [Mutex] received everything.

2020-08-28 23:47:15 | [Mutex] isItemNotified: configured:node:node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c:node-a18135c6-c613-484a-bd0a-b01e29747a4a :: true

2020-08-28 23:47:16 | [Mutex] waiting for: [received:nodes:3396e96e-724f-45d1-bf93-de3d0e3c2770:localhost]

2020-08-28 23:47:16 | [Mutex] received everything.

2020-08-28 23:47:16 | [Mutex] isItemNotified: received:node:3396e96e-724f-45d1-bf93-de3d0e3c2770:localhost:node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c:Node 36dbfba3-0d2c-4116-adb2-14d2b4e96f3c :: true

2020-08-28 23:47:16 | [Mutex] waiting for: [received:nodes:7af9da77-b6eb-4711-b262-757bd7583212:localhost]

2020-08-28 23:47:16 | [Mutex] waiting for: [received:nodes:7af9da77-b6eb-4711-b262-757bd7583212:localhost]

2020-08-28 23:47:16 | [Mutex] received everything.

2020-08-28 23:47:16 | [Mutex] isItemNotified: received:node:7af9da77-b6eb-4711-b262-757bd7583212:localhost:node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c:Node 36dbfba3-0d2c-4116-adb2-14d2b4e96f3c :: false

createNodes 1.533s
2020-08-28 23:47:12 |

2020-08-28 23:47:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:12 | ------------------------------------

2020-08-28 23:47:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 36dbfba3-0d2c-4116-adb2-14d2b4e96f3c</title></pubsub></data>

2020-08-28 23:47:13 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-08-28 23:47:14 | [Mutex] waiting for: [received:nodes:2315b276-7576-4b03-bcd1-c6dc128e1530:localhost]

2020-08-28 23:47:14 | [Mutex] waiting for: [received:nodes:2315b276-7576-4b03-bcd1-c6dc128e1530:localhost]

2020-08-28 23:47:14 | [Mutex] waiting for: [received:nodes:2315b276-7576-4b03-bcd1-c6dc128e1530:localhost]

2020-08-28 23:47:14 | [Mutex] received everything.

2020-08-28 23:47:14 | [Mutex] isItemNotified: received:node:2315b276-7576-4b03-bcd1-c6dc128e1530:localhost:node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c:Node 36dbfba3-0d2c-4116-adb2-14d2b4e96f3c :: true

createSubnodes 1.024s
2020-08-28 23:47:14 |

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

2020-08-28 23:47:14 | ------------------------------------

2020-08-28 23:47:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a18135c6-c613-484a-bd0a-b01e29747a4a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a18135c6-c613-484a-bd0a-b01e29747a4a</title></pubsub></data>

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

2020-08-28 23:47:15 | [Mutex] waiting for: [received:nodes:1addccc1-a7df-437d-9700-3d7f0b4f6d01:localhost]

2020-08-28 23:47:15 | [Mutex] received everything.

2020-08-28 23:47:15 | [Mutex] isItemNotified: received:node:1addccc1-a7df-437d-9700-3d7f0b4f6d01:localhost:node-a18135c6-c613-484a-bd0a-b01e29747a4a:Node a18135c6-c613-484a-bd0a-b01e29747a4a :: true

deleteNodes 1.019s
2020-08-28 23:47:21 |

2020-08-28 23:47:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:21 | ------------------------------------

2020-08-28 23:47:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a18135c6-c613-484a-bd0a-b01e29747a4a</node></data>

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

2020-08-28 23:47:22 | [Mutex] waiting for: [received:nodes:018157b1-73ec-438f-b9e6-ea1c9dcf59ee:localhost]

2020-08-28 23:47:22 | [Mutex] received everything.

2020-08-28 23:47:22 | [Mutex] isItemNotified: received:node:018157b1-73ec-438f-b9e6-ea1c9dcf59ee:localhost:node-a18135c6-c613-484a-bd0a-b01e29747a4a:Node a18135c6-c613-484a-bd0a-b01e29747a4a :: false

deleteSubnodes 1.104s
2020-08-28 23:47:19 |

2020-08-28 23:47:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:19 | ------------------------------------

2020-08-28 23:47:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c</node></data>

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

2020-08-28 23:47:21 | [Mutex] waiting for: [received:nodes:8e0e4a0d-8d2c-4bdd-9b06-a407a22a290f:localhost]

2020-08-28 23:47:21 | [Mutex] received everything.

2020-08-28 23:47:21 | [Mutex] isItemNotified: received:node:8e0e4a0d-8d2c-4bdd-9b06-a407a22a290f:localhost:node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c:Node 36dbfba3-0d2c-4116-adb2-14d2b4e96f3c :: false

2020-08-28 23:47:21 | [Mutex] waiting for: [received:nodes:fc700fcd-1ffb-45ab-be5c-15cdd0eb177e:localhost]

2020-08-28 23:47:21 | [Mutex] received everything.

2020-08-28 23:47:21 | [Mutex] isItemNotified: received:node:fc700fcd-1ffb-45ab-be5c-15cdd0eb177e:localhost:node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c:Node 36dbfba3-0d2c-4116-adb2-14d2b4e96f3c :: false

publishItemsToNodes 0.181s
2020-08-28 23:47:17 |

2020-08-28 23:47:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:17 | ------------------------------------

2020-08-28 23:47:17 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c</node><item-id>item-0c396e0e-1f44-44b8-a4eb-eec733118b4a</item-id><entry><test>item-0c396e0e-1f44-44b8-a4eb-eec733118b4a</test></entry></data>

2020-08-28 23:47: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-0c396e0e-1f44-44b8-a4eb-eec733118b4a</value></item-id></result>

2020-08-28 23:47:17 | [Mutex] waiting for: [published:item:notifieditem-0c396e0e-1f44-44b8-a4eb-eec733118b4a:admin@test-domain.com]

2020-08-28 23:47:17 | [Mutex] received everything.

2020-08-28 23:47:17 | [Mutex] isItemNotified: published:item:notifieditem-0c396e0e-1f44-44b8-a4eb-eec733118b4a:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2020-08-28 23:47:18 |

2020-08-28 23:47:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:18 | ------------------------------------

2020-08-28 23:47:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c</node><item-id>item-0c396e0e-1f44-44b8-a4eb-eec733118b4a</item-id></data>

2020-08-28 23:47:18 | 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-0c396e0e-1f44-44b8-a4eb-eec733118b4a</value></item-id></result>

2020-08-28 23:47:18 | [Mutex] received everything.

2020-08-28 23:47:18 | [Mutex] isItemNotified: retracted:item:notifieditem-0c396e0e-1f44-44b8-a4eb-eec733118b4a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.354s
2020-08-28 23:47:17 |

2020-08-28 23:47:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:17 | ------------------------------------

2020-08-28 23:47:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c</node><item-id>item-0c396e0e-1f44-44b8-a4eb-eec733118b4a</item-id></data>

2020-08-28 23:47:18 | 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-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c</value></node><item-id label="Item ID" type="text-single"><value>item-0c396e0e-1f44-44b8-a4eb-eec733118b4a</value></item-id><item label="Item" type="text-multi"><value><item id="item-0c396e0e-1f44-44b8-a4eb-eec733118b4a"><test>item-0c396e0e-1f44-44b8-a4eb-eec733118b4a</test></item></value></item></result>

2020-08-28 23:47:18 | [Mutex] notify: [retrieved:item:item-0c396e0e-1f44-44b8-a4eb-eec733118b4a:payload-matches:true:localhost]

2020-08-28 23:47:18 | [Mutex] received everything.

2020-08-28 23:47:18 | [Mutex] isItemNotified: retrieved:item:item-0c396e0e-1f44-44b8-a4eb-eec733118b4a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2020-08-28 23:47:18 |

2020-08-28 23:47:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:18 | ------------------------------------

2020-08-28 23:47:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-08-28 23:47:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c</value><value>test</value><value>node-a18135c6-c613-484a-bd0a-b01e29747a4a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-08-28 23:47:18 |

2020-08-28 23:47:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:18 | ------------------------------------

2020-08-28 23:47:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c)</node-pattern></data>

2020-08-28 23:47:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.133s
2020-08-28 23:47:16 |

2020-08-28 23:47:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:16 | ------------------------------------

2020-08-28 23:47:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.287s
2020-08-28 23:47:18 |

2020-08-28 23:47:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-08-28 23:47:18 | ------------------------------------

2020-08-28 23:47:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-36dbfba3-0d2c-4116-adb2-14d2b4e96f3c</node><jids><value>admin@test-domain.com</value></jids></data>

2020-08-28 23:47:18 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>