Generated by TestNG with ReportNG at 21:14 PST on Tuesday 29 December 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 : 10.305s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.099s
2020-12-29 21:27:57 |

2020-12-29 21:27:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:27:57 | ------------------------------------

2020-12-29 21:27:57 | [Mutex] waiting for: [configured:node:node-832b08d3-077a-4c47-bd68-3f8f66fe1d16:node-53d88063-7f77-4752-b782-4dcf203e821e]

2020-12-29 21:27:57 | [Mutex] received everything.

2020-12-29 21:27:57 | [Mutex] isItemNotified: configured:node:node-832b08d3-077a-4c47-bd68-3f8f66fe1d16:node-53d88063-7f77-4752-b782-4dcf203e821e :: true

2020-12-29 21:27:58 | [Mutex] waiting for: [received:nodes:66b25215-6e60-4017-afae-72f6926a91b2:localhost]

2020-12-29 21:27:58 | [Mutex] received everything.

2020-12-29 21:27:58 | [Mutex] isItemNotified: received:node:66b25215-6e60-4017-afae-72f6926a91b2:localhost:node-832b08d3-077a-4c47-bd68-3f8f66fe1d16:Node 832b08d3-077a-4c47-bd68-3f8f66fe1d16 :: true

2020-12-29 21:27:58 | [Mutex] waiting for: [received:nodes:97987eac-51d7-4bad-8396-005dd6c4add2:localhost]

2020-12-29 21:27:58 | [Mutex] waiting for: [received:nodes:97987eac-51d7-4bad-8396-005dd6c4add2:localhost]

2020-12-29 21:27:58 | [Mutex] received everything.

2020-12-29 21:27:58 | [Mutex] isItemNotified: received:node:97987eac-51d7-4bad-8396-005dd6c4add2:localhost:node-832b08d3-077a-4c47-bd68-3f8f66fe1d16:Node 832b08d3-077a-4c47-bd68-3f8f66fe1d16 :: false

createNodes 1.596s
2020-12-29 21:27:54 |

2020-12-29 21:27:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:27:54 | ------------------------------------

2020-12-29 21:27:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-832b08d3-077a-4c47-bd68-3f8f66fe1d16</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 832b08d3-077a-4c47-bd68-3f8f66fe1d16</title></pubsub></data>

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

2020-12-29 21:27:56 | [Mutex] waiting for: [received:nodes:90039f96-983d-41cc-9556-8064af4b8e72:localhost]

2020-12-29 21:27:56 | [Mutex] waiting for: [received:nodes:90039f96-983d-41cc-9556-8064af4b8e72:localhost]

2020-12-29 21:27:56 | [Mutex] waiting for: [received:nodes:90039f96-983d-41cc-9556-8064af4b8e72:localhost]

2020-12-29 21:27:56 | [Mutex] received everything.

2020-12-29 21:27:56 | [Mutex] isItemNotified: received:node:90039f96-983d-41cc-9556-8064af4b8e72:localhost:node-832b08d3-077a-4c47-bd68-3f8f66fe1d16:Node 832b08d3-077a-4c47-bd68-3f8f66fe1d16 :: true

createSubnodes 1.023s
2020-12-29 21:27:56 |

2020-12-29 21:27:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:27:56 | ------------------------------------

2020-12-29 21:27:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-53d88063-7f77-4752-b782-4dcf203e821e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 53d88063-7f77-4752-b782-4dcf203e821e</title></pubsub></data>

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

2020-12-29 21:27:57 | [Mutex] waiting for: [received:nodes:d8652b2a-66e9-4824-b1a6-00b535482c0a:localhost]

2020-12-29 21:27:57 | [Mutex] received everything.

2020-12-29 21:27:57 | [Mutex] isItemNotified: received:node:d8652b2a-66e9-4824-b1a6-00b535482c0a:localhost:node-53d88063-7f77-4752-b782-4dcf203e821e:Node 53d88063-7f77-4752-b782-4dcf203e821e :: true

deleteNodes 1.025s
2020-12-29 21:28:02 |

2020-12-29 21:28:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:02 | ------------------------------------

2020-12-29 21:28:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-53d88063-7f77-4752-b782-4dcf203e821e</node></data>

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

2020-12-29 21:28:03 | [Mutex] waiting for: [received:nodes:02c4bfe0-d968-48fa-be44-ce82b49cfa93:localhost]

2020-12-29 21:28:03 | [Mutex] received everything.

2020-12-29 21:28:03 | [Mutex] isItemNotified: received:node:02c4bfe0-d968-48fa-be44-ce82b49cfa93:localhost:node-53d88063-7f77-4752-b782-4dcf203e821e:Node 53d88063-7f77-4752-b782-4dcf203e821e :: false

deleteSubnodes 1.126s
2020-12-29 21:28:01 |

2020-12-29 21:28:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:01 | ------------------------------------

2020-12-29 21:28:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-832b08d3-077a-4c47-bd68-3f8f66fe1d16</node></data>

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

2020-12-29 21:28:02 | [Mutex] waiting for: [received:nodes:c821f947-089a-4b96-b774-b85643595692:localhost]

2020-12-29 21:28:02 | [Mutex] received everything.

2020-12-29 21:28:02 | [Mutex] isItemNotified: received:node:c821f947-089a-4b96-b774-b85643595692:localhost:node-832b08d3-077a-4c47-bd68-3f8f66fe1d16:Node 832b08d3-077a-4c47-bd68-3f8f66fe1d16 :: false

2020-12-29 21:28:02 | [Mutex] waiting for: [received:nodes:d89cd777-04c8-4e58-b5f3-1ee0097a4272:localhost]

2020-12-29 21:28:02 | [Mutex] received everything.

2020-12-29 21:28:02 | [Mutex] isItemNotified: received:node:d89cd777-04c8-4e58-b5f3-1ee0097a4272:localhost:node-832b08d3-077a-4c47-bd68-3f8f66fe1d16:Node 832b08d3-077a-4c47-bd68-3f8f66fe1d16 :: false

publishItemsToNodes 0.212s
2020-12-29 21:27:59 |

2020-12-29 21:27:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:27:59 | ------------------------------------

2020-12-29 21:27:59 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-832b08d3-077a-4c47-bd68-3f8f66fe1d16</node><item-id>item-5b5a19ec-b087-482e-8345-59bb30f5a1c0</item-id><entry><test>item-5b5a19ec-b087-482e-8345-59bb30f5a1c0</test></entry></data>

2020-12-29 21:27:59 | 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-5b5a19ec-b087-482e-8345-59bb30f5a1c0</value></item-id></result>

2020-12-29 21:27:59 | [Mutex] waiting for: [published:item:notifieditem-5b5a19ec-b087-482e-8345-59bb30f5a1c0:admin@test-domain.com]

2020-12-29 21:27:59 | [Mutex] received everything.

2020-12-29 21:27:59 | [Mutex] isItemNotified: published:item:notifieditem-5b5a19ec-b087-482e-8345-59bb30f5a1c0:admin@test-domain.com :: true

retractItemsFromNodes 0.276s
2020-12-29 21:27:59 |

2020-12-29 21:27:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:27:59 | ------------------------------------

2020-12-29 21:27:59 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-832b08d3-077a-4c47-bd68-3f8f66fe1d16</node><item-id>item-5b5a19ec-b087-482e-8345-59bb30f5a1c0</item-id></data>

2020-12-29 21:28:00 | 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-5b5a19ec-b087-482e-8345-59bb30f5a1c0</value></item-id></result>

2020-12-29 21:28:00 | [Mutex] received everything.

2020-12-29 21:28:00 | [Mutex] isItemNotified: retracted:item:notifieditem-5b5a19ec-b087-482e-8345-59bb30f5a1c0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.243s
2020-12-29 21:27:59 |

2020-12-29 21:27:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:27:59 | ------------------------------------

2020-12-29 21:27:59 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-832b08d3-077a-4c47-bd68-3f8f66fe1d16</node><item-id>item-5b5a19ec-b087-482e-8345-59bb30f5a1c0</item-id></data>

2020-12-29 21:27:59 | 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-832b08d3-077a-4c47-bd68-3f8f66fe1d16</value></node><item-id label="Item ID" type="text-single"><value>item-5b5a19ec-b087-482e-8345-59bb30f5a1c0</value></item-id><item label="Item" type="text-multi"><value><item id="item-5b5a19ec-b087-482e-8345-59bb30f5a1c0"><test>item-5b5a19ec-b087-482e-8345-59bb30f5a1c0</test></item></value></item></result>

2020-12-29 21:27:59 | [Mutex] notify: [retrieved:item:item-5b5a19ec-b087-482e-8345-59bb30f5a1c0:payload-matches:true:localhost]

2020-12-29 21:27:59 | [Mutex] received everything.

2020-12-29 21:27:59 | [Mutex] isItemNotified: retrieved:item:item-5b5a19ec-b087-482e-8345-59bb30f5a1c0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-12-29 21:27:59 |

2020-12-29 21:27:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:27:59 | ------------------------------------

2020-12-29 21:27:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-12-29 21:27:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-53d88063-7f77-4752-b782-4dcf203e821e</value><value>test</value><value>node-832b08d3-077a-4c47-bd68-3f8f66fe1d16</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-12-29 21:27:59 |

2020-12-29 21:27:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:27:59 | ------------------------------------

2020-12-29 21:27:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-832b08d3-077a-4c47-bd68-3f8f66fe1d16)</node-pattern></data>

2020-12-29 21:27:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.142s
2020-12-29 21:27:58 |

2020-12-29 21:27:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:27:58 | ------------------------------------

2020-12-29 21:27:58 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-832b08d3-077a-4c47-bd68-3f8f66fe1d16</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-29 21:27:58 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.315s
2020-12-29 21:28:00 |

2020-12-29 21:28:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-12-29 21:28:00 | ------------------------------------

2020-12-29 21:28:00 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-832b08d3-077a-4c47-bd68-3f8f66fe1d16</node><jids><value>admin@test-domain.com</value></jids></data>

2020-12-29 21:28:00 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>