Generated by TestNG with ReportNG at 22:13 PDT on Tuesday 28 September 2021
root@785cf647a4ab / 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.480s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.153s
2021-09-28 22:28:21 |

2021-09-28 22:28:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:21 | ------------------------------------

2021-09-28 22:28:21 | [Mutex] waiting for: [configured:node:node-b565658d-7993-453e-8b11-2cd85a534c33:node-e6d8d22f-523a-4c0b-a7a0-cdbc9b412e33]

2021-09-28 22:28:22 | [Mutex] received everything.

2021-09-28 22:28:22 | [Mutex] isItemNotified: configured:node:node-b565658d-7993-453e-8b11-2cd85a534c33:node-e6d8d22f-523a-4c0b-a7a0-cdbc9b412e33 :: true

2021-09-28 22:28:23 | [Mutex] waiting for: [received:nodes:66f651be-360a-46fd-9e11-e9331d924ec8:localhost]

2021-09-28 22:28:23 | [Mutex] received everything.

2021-09-28 22:28:23 | [Mutex] isItemNotified: received:node:66f651be-360a-46fd-9e11-e9331d924ec8:localhost:node-b565658d-7993-453e-8b11-2cd85a534c33:Node b565658d-7993-453e-8b11-2cd85a534c33 :: true

2021-09-28 22:28:23 | [Mutex] waiting for: [received:nodes:8b27e43d-c8c6-4ec7-b95e-c4e3f7017764:localhost]

2021-09-28 22:28:23 | [Mutex] received everything.

2021-09-28 22:28:23 | [Mutex] isItemNotified: received:node:8b27e43d-c8c6-4ec7-b95e-c4e3f7017764:localhost:node-b565658d-7993-453e-8b11-2cd85a534c33:Node b565658d-7993-453e-8b11-2cd85a534c33 :: false

createNodes 1.617s
2021-09-28 22:28:19 |

2021-09-28 22:28:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:19 | ------------------------------------

2021-09-28 22:28:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b565658d-7993-453e-8b11-2cd85a534c33</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b565658d-7993-453e-8b11-2cd85a534c33</title></pubsub></data>

2021-09-28 22:28:19 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 22:28:20 | [Mutex] waiting for: [received:nodes:e9f9c5cd-470b-4586-81d8-e043a17e9883:localhost]

2021-09-28 22:28:20 | [Mutex] received everything.

2021-09-28 22:28:20 | [Mutex] isItemNotified: received:node:e9f9c5cd-470b-4586-81d8-e043a17e9883:localhost:node-b565658d-7993-453e-8b11-2cd85a534c33:Node b565658d-7993-453e-8b11-2cd85a534c33 :: true

createSubnodes 1.034s
2021-09-28 22:28:20 |

2021-09-28 22:28:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:20 | ------------------------------------

2021-09-28 22:28:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e6d8d22f-523a-4c0b-a7a0-cdbc9b412e33</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e6d8d22f-523a-4c0b-a7a0-cdbc9b412e33</title></pubsub></data>

2021-09-28 22:28:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 22:28:21 | [Mutex] waiting for: [received:nodes:a0031b7f-d1d9-43c6-9d8d-f07cba427221:localhost]

2021-09-28 22:28:21 | [Mutex] received everything.

2021-09-28 22:28:21 | [Mutex] isItemNotified: received:node:a0031b7f-d1d9-43c6-9d8d-f07cba427221:localhost:node-e6d8d22f-523a-4c0b-a7a0-cdbc9b412e33:Node e6d8d22f-523a-4c0b-a7a0-cdbc9b412e33 :: true

deleteNodes 1.020s
2021-09-28 22:28:27 |

2021-09-28 22:28:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:27 | ------------------------------------

2021-09-28 22:28:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e6d8d22f-523a-4c0b-a7a0-cdbc9b412e33</node></data>

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

2021-09-28 22:28:28 | [Mutex] waiting for: [received:nodes:a041555d-b0ce-4788-8916-5c803c2ab6b4:localhost]

2021-09-28 22:28:28 | [Mutex] received everything.

2021-09-28 22:28:28 | [Mutex] isItemNotified: received:node:a041555d-b0ce-4788-8916-5c803c2ab6b4:localhost:node-e6d8d22f-523a-4c0b-a7a0-cdbc9b412e33:Node e6d8d22f-523a-4c0b-a7a0-cdbc9b412e33 :: false

deleteSubnodes 1.152s
2021-09-28 22:28:26 |

2021-09-28 22:28:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:26 | ------------------------------------

2021-09-28 22:28:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b565658d-7993-453e-8b11-2cd85a534c33</node></data>

2021-09-28 22:28:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 22:28:27 | [Mutex] waiting for: [received:nodes:a2e57da9-baf5-433b-b9d5-92bd20d99dee:localhost]

2021-09-28 22:28:27 | [Mutex] waiting for: [received:nodes:a2e57da9-baf5-433b-b9d5-92bd20d99dee:localhost]

2021-09-28 22:28:27 | [Mutex] received everything.

2021-09-28 22:28:27 | [Mutex] isItemNotified: received:node:a2e57da9-baf5-433b-b9d5-92bd20d99dee:localhost:node-b565658d-7993-453e-8b11-2cd85a534c33:Node b565658d-7993-453e-8b11-2cd85a534c33 :: false

2021-09-28 22:28:27 | [Mutex] waiting for: [received:nodes:664fe4ae-be07-47da-b46c-9ef166d1f5d9:localhost]

2021-09-28 22:28:27 | [Mutex] received everything.

2021-09-28 22:28:27 | [Mutex] isItemNotified: received:node:664fe4ae-be07-47da-b46c-9ef166d1f5d9:localhost:node-b565658d-7993-453e-8b11-2cd85a534c33:Node b565658d-7993-453e-8b11-2cd85a534c33 :: false

publishItemsToNodes 0.236s
2021-09-28 22:28:24 |

2021-09-28 22:28:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:24 | ------------------------------------

2021-09-28 22:28:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b565658d-7993-453e-8b11-2cd85a534c33</node><item-id>item-0c05cbd2-903d-452a-bb88-2bf301e2e206</item-id><entry><test>item-0c05cbd2-903d-452a-bb88-2bf301e2e206</test></entry></data>

2021-09-28 22:28:24 | 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-0c05cbd2-903d-452a-bb88-2bf301e2e206</value></item-id></result>

2021-09-28 22:28:24 | [Mutex] received everything.

2021-09-28 22:28:24 | [Mutex] isItemNotified: published:item:notifieditem-0c05cbd2-903d-452a-bb88-2bf301e2e206:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2021-09-28 22:28:25 |

2021-09-28 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:25 | ------------------------------------

2021-09-28 22:28:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b565658d-7993-453e-8b11-2cd85a534c33</node><item-id>item-0c05cbd2-903d-452a-bb88-2bf301e2e206</item-id></data>

2021-09-28 22:28:25 | 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-0c05cbd2-903d-452a-bb88-2bf301e2e206</value></item-id></result>

2021-09-28 22:28:25 | [Mutex] received everything.

2021-09-28 22:28:25 | [Mutex] isItemNotified: retracted:item:notifieditem-0c05cbd2-903d-452a-bb88-2bf301e2e206:admin@test-domain.com :: true

retrieveItemsFromNodes 0.403s
2021-09-28 22:28:24 |

2021-09-28 22:28:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:24 | ------------------------------------

2021-09-28 22:28:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b565658d-7993-453e-8b11-2cd85a534c33</node><item-id>item-0c05cbd2-903d-452a-bb88-2bf301e2e206</item-id></data>

2021-09-28 22:28:24 | 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-b565658d-7993-453e-8b11-2cd85a534c33</value></node><item-id type="text-single" label="Item ID"><value>item-0c05cbd2-903d-452a-bb88-2bf301e2e206</value></item-id><item type="text-multi" label="Item"><value><item id="item-0c05cbd2-903d-452a-bb88-2bf301e2e206"><test>item-0c05cbd2-903d-452a-bb88-2bf301e2e206</test></item></value></item></result>

2021-09-28 22:28:24 | [Mutex] notify: [retrieved:item:item-0c05cbd2-903d-452a-bb88-2bf301e2e206:payload-matches:true:localhost]

2021-09-28 22:28:24 | [Mutex] received everything.

2021-09-28 22:28:24 | [Mutex] isItemNotified: retrieved:item:item-0c05cbd2-903d-452a-bb88-2bf301e2e206:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-09-28 22:28:24 |

2021-09-28 22:28:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:24 | ------------------------------------

2021-09-28 22:28:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-28 22:28:25 | 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-e6d8d22f-523a-4c0b-a7a0-cdbc9b412e33</value><value>node-b565658d-7993-453e-8b11-2cd85a534c33</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-09-28 22:28:25 |

2021-09-28 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:25 | ------------------------------------

2021-09-28 22:28:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b565658d-7993-453e-8b11-2cd85a534c33)</node-pattern></data>

2021-09-28 22:28:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.182s
2021-09-28 22:28:23 |

2021-09-28 22:28:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:23 | ------------------------------------

2021-09-28 22:28:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b565658d-7993-453e-8b11-2cd85a534c33</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.351s
2021-09-28 22:28:25 |

2021-09-28 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:28:25 | ------------------------------------

2021-09-28 22:28:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b565658d-7993-453e-8b11-2cd85a534c33</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-28 22:28:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>