Generated by TestNG with ReportNG at 22:44 PDT on Sunday 18 October 2020
root@87f6aca6b6f2 / 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.207s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.133s
2020-10-18 22:59:51 |

2020-10-18 22:59:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:51 | ------------------------------------

2020-10-18 22:59:51 | [Mutex] waiting for: [configured:node:node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5:node-c4c7c0e7-c230-45b8-92af-7c3df886b907]

2020-10-18 22:59:51 | [Mutex] received everything.

2020-10-18 22:59:51 | [Mutex] isItemNotified: configured:node:node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5:node-c4c7c0e7-c230-45b8-92af-7c3df886b907 :: true

2020-10-18 22:59:52 | [Mutex] waiting for: [received:nodes:75b3d21b-6f21-4b74-b2bc-f7b6882688e3:localhost]

2020-10-18 22:59:52 | [Mutex] received everything.

2020-10-18 22:59:52 | [Mutex] isItemNotified: received:node:75b3d21b-6f21-4b74-b2bc-f7b6882688e3:localhost:node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5:Node 9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5 :: true

2020-10-18 22:59:52 | [Mutex] waiting for: [received:nodes:4bd26911-9e08-4136-b599-2f5780d63897:localhost]

2020-10-18 22:59:52 | [Mutex] received everything.

2020-10-18 22:59:52 | [Mutex] isItemNotified: received:node:4bd26911-9e08-4136-b599-2f5780d63897:localhost:node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5:Node 9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5 :: false

createNodes 1.473s
2020-10-18 22:59:48 |

2020-10-18 22:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:48 | ------------------------------------

2020-10-18 22:59:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5</title></pubsub></data>

2020-10-18 22:59:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-18 22:59:50 | [Mutex] waiting for: [received:nodes:c40fd241-0929-48ff-b33d-155f4315bce5:localhost]

2020-10-18 22:59:50 | [Mutex] received everything.

2020-10-18 22:59:50 | [Mutex] isItemNotified: received:node:c40fd241-0929-48ff-b33d-155f4315bce5:localhost:node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5:Node 9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5 :: true

createSubnodes 1.034s
2020-10-18 22:59:50 |

2020-10-18 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:50 | ------------------------------------

2020-10-18 22:59:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c4c7c0e7-c230-45b8-92af-7c3df886b907</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c4c7c0e7-c230-45b8-92af-7c3df886b907</title></pubsub></data>

2020-10-18 22:59:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-18 22:59:51 | [Mutex] waiting for: [received:nodes:d6d87348-410b-436b-8e67-b835e2340c07:localhost]

2020-10-18 22:59:51 | [Mutex] received everything.

2020-10-18 22:59:51 | [Mutex] isItemNotified: received:node:d6d87348-410b-436b-8e67-b835e2340c07:localhost:node-c4c7c0e7-c230-45b8-92af-7c3df886b907:Node c4c7c0e7-c230-45b8-92af-7c3df886b907 :: true

deleteNodes 1.025s
2020-10-18 22:59:56 |

2020-10-18 22:59:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:56 | ------------------------------------

2020-10-18 22:59:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c4c7c0e7-c230-45b8-92af-7c3df886b907</node></data>

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

2020-10-18 22:59:57 | [Mutex] waiting for: [received:nodes:7f7ab2ac-05b0-4e87-b234-91a5009992e1:localhost]

2020-10-18 22:59:57 | [Mutex] received everything.

2020-10-18 22:59:57 | [Mutex] isItemNotified: received:node:7f7ab2ac-05b0-4e87-b234-91a5009992e1:localhost:node-c4c7c0e7-c230-45b8-92af-7c3df886b907:Node c4c7c0e7-c230-45b8-92af-7c3df886b907 :: false

deleteSubnodes 1.126s
2020-10-18 22:59:55 |

2020-10-18 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:55 | ------------------------------------

2020-10-18 22:59:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5</node></data>

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

2020-10-18 22:59:56 | [Mutex] waiting for: [received:nodes:ae0574f3-0261-4993-8eb1-4dc2de814452:localhost]

2020-10-18 22:59:56 | [Mutex] waiting for: [received:nodes:ae0574f3-0261-4993-8eb1-4dc2de814452:localhost]

2020-10-18 22:59:56 | [Mutex] received everything.

2020-10-18 22:59:56 | [Mutex] isItemNotified: received:node:ae0574f3-0261-4993-8eb1-4dc2de814452:localhost:node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5:Node 9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5 :: false

2020-10-18 22:59:56 | [Mutex] waiting for: [received:nodes:4d6ad0be-9964-48b3-901d-54b4d21445b3:localhost]

2020-10-18 22:59:56 | [Mutex] received everything.

2020-10-18 22:59:56 | [Mutex] isItemNotified: received:node:4d6ad0be-9964-48b3-901d-54b4d21445b3:localhost:node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5:Node 9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5 :: false

publishItemsToNodes 0.245s
2020-10-18 22:59:53 |

2020-10-18 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:53 | ------------------------------------

2020-10-18 22:59:53 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5</node><item-id>item-2bb8bafd-3500-47b1-b03b-e0d875dc9551</item-id><entry><test>item-2bb8bafd-3500-47b1-b03b-e0d875dc9551</test></entry></data>

2020-10-18 22:59:53 | 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-2bb8bafd-3500-47b1-b03b-e0d875dc9551</value></item-id></result>

2020-10-18 22:59:53 | [Mutex] received everything.

2020-10-18 22:59:53 | [Mutex] isItemNotified: published:item:notifieditem-2bb8bafd-3500-47b1-b03b-e0d875dc9551:admin@test-domain.com :: true

retractItemsFromNodes 0.318s
2020-10-18 22:59:54 |

2020-10-18 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:54 | ------------------------------------

2020-10-18 22:59:54 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5</node><item-id>item-2bb8bafd-3500-47b1-b03b-e0d875dc9551</item-id></data>

2020-10-18 22:59:54 | 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-2bb8bafd-3500-47b1-b03b-e0d875dc9551</value></item-id></result>

2020-10-18 22:59:54 | [Mutex] waiting for: [retracted:item:notifieditem-2bb8bafd-3500-47b1-b03b-e0d875dc9551:admin@test-domain.com]

2020-10-18 22:59:54 | [Mutex] received everything.

2020-10-18 22:59:54 | [Mutex] isItemNotified: retracted:item:notifieditem-2bb8bafd-3500-47b1-b03b-e0d875dc9551:admin@test-domain.com :: true

retrieveItemsFromNodes 0.299s
2020-10-18 22:59:53 |

2020-10-18 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:53 | ------------------------------------

2020-10-18 22:59:53 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5</node><item-id>item-2bb8bafd-3500-47b1-b03b-e0d875dc9551</item-id></data>

2020-10-18 22:59:53 | 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-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5</value></node><item-id type="text-single" label="Item ID"><value>item-2bb8bafd-3500-47b1-b03b-e0d875dc9551</value></item-id><item type="text-multi" label="Item"><value><item id="item-2bb8bafd-3500-47b1-b03b-e0d875dc9551"><test>item-2bb8bafd-3500-47b1-b03b-e0d875dc9551</test></item></value></item></result>

2020-10-18 22:59:53 | [Mutex] notify: [retrieved:item:item-2bb8bafd-3500-47b1-b03b-e0d875dc9551:payload-matches:true:localhost]

2020-10-18 22:59:53 | [Mutex] received everything.

2020-10-18 22:59:53 | [Mutex] isItemNotified: retrieved:item:item-2bb8bafd-3500-47b1-b03b-e0d875dc9551:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-18 22:59:53 |

2020-10-18 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:53 | ------------------------------------

2020-10-18 22:59:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-18 22:59:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-c4c7c0e7-c230-45b8-92af-7c3df886b907</value><value>test</value><value>node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-10-18 22:59:54 |

2020-10-18 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:54 | ------------------------------------

2020-10-18 22:59:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5)</node-pattern></data>

2020-10-18 22:59:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.152s
2020-10-18 22:59:52 |

2020-10-18 22:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:52 | ------------------------------------

2020-10-18 22:59:52 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-18 22:59:52 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.272s
2020-10-18 22:59:54 |

2020-10-18 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-18 22:59:54 | ------------------------------------

2020-10-18 22:59:54 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9ac4fb91-79a8-47c8-acd6-e1d28e82bbb5</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-18 22:59:54 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>