Generated by TestNG with ReportNG at 21:13 PST on Monday 23 November 2020
root@43fec6d4badf / 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.945s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2020-11-23 21:30:24 |

2020-11-23 21:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:30:24 | ------------------------------------

2020-11-23 21:30:24 | [Mutex] waiting for: [configured:node:node-9ffcc782-147d-4f37-b5e8-2e482020ac2a:node-56f56b6e-00aa-45ee-a85f-8a3ce696db85]

2020-11-23 21:30:24 | [Mutex] received everything.

2020-11-23 21:30:24 | [Mutex] isItemNotified: configured:node:node-9ffcc782-147d-4f37-b5e8-2e482020ac2a:node-56f56b6e-00aa-45ee-a85f-8a3ce696db85 :: true

2020-11-23 21:30:25 | [Mutex] waiting for: [received:nodes:51a3fe6b-3e13-462d-9cd8-a67aca7134a6:localhost]

2020-11-23 21:30:25 | [Mutex] received everything.

2020-11-23 21:30:25 | [Mutex] isItemNotified: received:node:51a3fe6b-3e13-462d-9cd8-a67aca7134a6:localhost:node-9ffcc782-147d-4f37-b5e8-2e482020ac2a:Node 9ffcc782-147d-4f37-b5e8-2e482020ac2a :: true

2020-11-23 21:30:25 | [Mutex] waiting for: [received:nodes:982b0846-38f8-4571-9be1-9ac005fe6401:localhost]

2020-11-23 21:30:25 | [Mutex] waiting for: [received:nodes:982b0846-38f8-4571-9be1-9ac005fe6401:localhost]

2020-11-23 21:30:25 | [Mutex] received everything.

2020-11-23 21:30:25 | [Mutex] isItemNotified: received:node:982b0846-38f8-4571-9be1-9ac005fe6401:localhost:node-9ffcc782-147d-4f37-b5e8-2e482020ac2a:Node 9ffcc782-147d-4f37-b5e8-2e482020ac2a :: false

createNodes 1.439s
2020-11-23 21:30:21 |

2020-11-23 21:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:30:21 | ------------------------------------

2020-11-23 21:30:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9ffcc782-147d-4f37-b5e8-2e482020ac2a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9ffcc782-147d-4f37-b5e8-2e482020ac2a</title></pubsub></data>

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

2020-11-23 21:30:23 | [Mutex] waiting for: [received:nodes:20b2065b-7ec8-4257-9a8c-13f87d1ccdef:localhost]

2020-11-23 21:30:23 | [Mutex] waiting for: [received:nodes:20b2065b-7ec8-4257-9a8c-13f87d1ccdef:localhost]

2020-11-23 21:30:23 | [Mutex] received everything.

2020-11-23 21:30:23 | [Mutex] isItemNotified: received:node:20b2065b-7ec8-4257-9a8c-13f87d1ccdef:localhost:node-9ffcc782-147d-4f37-b5e8-2e482020ac2a:Node 9ffcc782-147d-4f37-b5e8-2e482020ac2a :: true

createSubnodes 1.026s
2020-11-23 21:30:23 |

2020-11-23 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:30:23 | ------------------------------------

2020-11-23 21:30:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-56f56b6e-00aa-45ee-a85f-8a3ce696db85</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 56f56b6e-00aa-45ee-a85f-8a3ce696db85</title></pubsub></data>

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

2020-11-23 21:30:24 | [Mutex] waiting for: [received:nodes:015c2635-b6e0-4a18-b9d7-20fd66032219:localhost]

2020-11-23 21:30:24 | [Mutex] received everything.

2020-11-23 21:30:24 | [Mutex] isItemNotified: received:node:015c2635-b6e0-4a18-b9d7-20fd66032219:localhost:node-56f56b6e-00aa-45ee-a85f-8a3ce696db85:Node 56f56b6e-00aa-45ee-a85f-8a3ce696db85 :: true

deleteNodes 1.022s
2020-11-23 21:30:29 |

2020-11-23 21:30:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:30:29 | ------------------------------------

2020-11-23 21:30:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-56f56b6e-00aa-45ee-a85f-8a3ce696db85</node></data>

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

2020-11-23 21:30:30 | [Mutex] waiting for: [received:nodes:dd9d1107-3ce3-4066-b565-95893dbec508:localhost]

2020-11-23 21:30:30 | [Mutex] received everything.

2020-11-23 21:30:30 | [Mutex] isItemNotified: received:node:dd9d1107-3ce3-4066-b565-95893dbec508:localhost:node-56f56b6e-00aa-45ee-a85f-8a3ce696db85:Node 56f56b6e-00aa-45ee-a85f-8a3ce696db85 :: false

deleteSubnodes 1.125s
2020-11-23 21:30:28 |

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

2020-11-23 21:30:28 | ------------------------------------

2020-11-23 21:30:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9ffcc782-147d-4f37-b5e8-2e482020ac2a</node></data>

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

2020-11-23 21:30:29 | [Mutex] waiting for: [received:nodes:d7b395f4-1c80-4c1a-b182-cf56be59935e:localhost]

2020-11-23 21:30:29 | [Mutex] waiting for: [received:nodes:d7b395f4-1c80-4c1a-b182-cf56be59935e:localhost]

2020-11-23 21:30:29 | [Mutex] received everything.

2020-11-23 21:30:29 | [Mutex] isItemNotified: received:node:d7b395f4-1c80-4c1a-b182-cf56be59935e:localhost:node-9ffcc782-147d-4f37-b5e8-2e482020ac2a:Node 9ffcc782-147d-4f37-b5e8-2e482020ac2a :: false

2020-11-23 21:30:29 | [Mutex] waiting for: [received:nodes:1a7cd8ce-7572-4684-b44b-78b086cdf4d2:localhost]

2020-11-23 21:30:29 | [Mutex] received everything.

2020-11-23 21:30:29 | [Mutex] isItemNotified: received:node:1a7cd8ce-7572-4684-b44b-78b086cdf4d2:localhost:node-9ffcc782-147d-4f37-b5e8-2e482020ac2a:Node 9ffcc782-147d-4f37-b5e8-2e482020ac2a :: false

publishItemsToNodes 0.238s
2020-11-23 21:30:26 |

2020-11-23 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:30:26 | ------------------------------------

2020-11-23 21:30:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9ffcc782-147d-4f37-b5e8-2e482020ac2a</node><item-id>item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd</item-id><entry><test>item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd</test></entry></data>

2020-11-23 21:30:26 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd</value></item-id></result>

2020-11-23 21:30:26 | [Mutex] received everything.

2020-11-23 21:30:26 | [Mutex] isItemNotified: published:item:notifieditem-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd:admin@test-domain.com :: true

retractItemsFromNodes 0.202s
2020-11-23 21:30:26 |

2020-11-23 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:30:26 | ------------------------------------

2020-11-23 21:30:26 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9ffcc782-147d-4f37-b5e8-2e482020ac2a</node><item-id>item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd</item-id></data>

2020-11-23 21:30:27 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd</value></item-id></result>

2020-11-23 21:30:27 | [Mutex] received everything.

2020-11-23 21:30:27 | [Mutex] isItemNotified: retracted:item:notifieditem-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.297s
2020-11-23 21:30:26 |

2020-11-23 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:30:26 | ------------------------------------

2020-11-23 21:30:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9ffcc782-147d-4f37-b5e8-2e482020ac2a</node><item-id>item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd</item-id></data>

2020-11-23 21:30:26 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-9ffcc782-147d-4f37-b5e8-2e482020ac2a</value></node><item-id type="text-single" label="Item ID"><value>item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd</value></item-id><item type="text-multi" label="Item"><value><item id="item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd"><test>item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd</test></item></value></item></result>

2020-11-23 21:30:26 | [Mutex] notify: [retrieved:item:item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd:payload-matches:true:localhost]

2020-11-23 21:30:26 | [Mutex] received everything.

2020-11-23 21:30:26 | [Mutex] isItemNotified: retrieved:item:item-89e6b087-a1a8-49f4-b3a0-ace6c04fe3cd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-23 21:30:26 |

2020-11-23 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:30:26 | ------------------------------------

2020-11-23 21:30:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-23 21:30:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-56f56b6e-00aa-45ee-a85f-8a3ce696db85</value><value>node-9ffcc782-147d-4f37-b5e8-2e482020ac2a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-11-23 21:30:26 |

2020-11-23 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:30:26 | ------------------------------------

2020-11-23 21:30:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9ffcc782-147d-4f37-b5e8-2e482020ac2a)</node-pattern></data>

2020-11-23 21:30:26 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.095s
2020-11-23 21:30:25 |

2020-11-23 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-23 21:30:25 | ------------------------------------

2020-11-23 21:30:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9ffcc782-147d-4f37-b5e8-2e482020ac2a</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-23 21:30:25 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.264s
2020-11-23 21:30:27 |

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

2020-11-23 21:30:27 | ------------------------------------

2020-11-23 21:30:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9ffcc782-147d-4f37-b5e8-2e482020ac2a</node><jids><value>admin@test-domain.com</value></jids></data>

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