Generated by TestNG with ReportNG at 16:12 PDT on Friday 25 September 2020
root@0a7dacfb9e9e / 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.831s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.128s
2020-09-25 16:30:14 |

2020-09-25 16:30:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:14 | ------------------------------------

2020-09-25 16:30:14 | [Mutex] waiting for: [configured:node:node-2e65d654-fc8e-41c8-abc9-4598f9f37957:node-88a02a9e-4a78-4a72-a7df-aec587de4973]

2020-09-25 16:30:14 | [Mutex] received everything.

2020-09-25 16:30:14 | [Mutex] isItemNotified: configured:node:node-2e65d654-fc8e-41c8-abc9-4598f9f37957:node-88a02a9e-4a78-4a72-a7df-aec587de4973 :: true

2020-09-25 16:30:15 | [Mutex] waiting for: [received:nodes:5d9ccdcc-cdc8-4a96-81cb-2007735e0b1c:localhost]

2020-09-25 16:30:15 | [Mutex] received everything.

2020-09-25 16:30:15 | [Mutex] isItemNotified: received:node:5d9ccdcc-cdc8-4a96-81cb-2007735e0b1c:localhost:node-2e65d654-fc8e-41c8-abc9-4598f9f37957:Node 2e65d654-fc8e-41c8-abc9-4598f9f37957 :: true

2020-09-25 16:30:15 | [Mutex] waiting for: [received:nodes:92452724-c040-4a03-be2f-0f8c947d1028:localhost]

2020-09-25 16:30:15 | [Mutex] received everything.

2020-09-25 16:30:15 | [Mutex] isItemNotified: received:node:92452724-c040-4a03-be2f-0f8c947d1028:localhost:node-2e65d654-fc8e-41c8-abc9-4598f9f37957:Node 2e65d654-fc8e-41c8-abc9-4598f9f37957 :: false

createNodes 1.434s
2020-09-25 16:30:12 |

2020-09-25 16:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:12 | ------------------------------------

2020-09-25 16:30:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2e65d654-fc8e-41c8-abc9-4598f9f37957</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2e65d654-fc8e-41c8-abc9-4598f9f37957</title></pubsub></data>

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

2020-09-25 16:30:13 | [Mutex] waiting for: [received:nodes:677ece73-f0e6-42df-a33e-7c624b29ef73:localhost]

2020-09-25 16:30:13 | [Mutex] received everything.

2020-09-25 16:30:13 | [Mutex] isItemNotified: received:node:677ece73-f0e6-42df-a33e-7c624b29ef73:localhost:node-2e65d654-fc8e-41c8-abc9-4598f9f37957:Node 2e65d654-fc8e-41c8-abc9-4598f9f37957 :: true

createSubnodes 1.029s
2020-09-25 16:30:13 |

2020-09-25 16:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:13 | ------------------------------------

2020-09-25 16:30:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-88a02a9e-4a78-4a72-a7df-aec587de4973</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 88a02a9e-4a78-4a72-a7df-aec587de4973</title></pubsub></data>

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

2020-09-25 16:30:14 | [Mutex] waiting for: [received:nodes:a6db65d3-4072-4761-a5ce-70a4bf329946:localhost]

2020-09-25 16:30:14 | [Mutex] waiting for: [received:nodes:a6db65d3-4072-4761-a5ce-70a4bf329946:localhost]

2020-09-25 16:30:14 | [Mutex] received everything.

2020-09-25 16:30:14 | [Mutex] isItemNotified: received:node:a6db65d3-4072-4761-a5ce-70a4bf329946:localhost:node-88a02a9e-4a78-4a72-a7df-aec587de4973:Node 88a02a9e-4a78-4a72-a7df-aec587de4973 :: true

deleteNodes 1.020s
2020-09-25 16:30:20 |

2020-09-25 16:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:20 | ------------------------------------

2020-09-25 16:30:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-88a02a9e-4a78-4a72-a7df-aec587de4973</node></data>

2020-09-25 16:30:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-25 16:30:21 | [Mutex] waiting for: [received:nodes:a424c82c-63dc-4797-981d-56a9aa1381f9:localhost]

2020-09-25 16:30:21 | [Mutex] received everything.

2020-09-25 16:30:21 | [Mutex] isItemNotified: received:node:a424c82c-63dc-4797-981d-56a9aa1381f9:localhost:node-88a02a9e-4a78-4a72-a7df-aec587de4973:Node 88a02a9e-4a78-4a72-a7df-aec587de4973 :: false

deleteSubnodes 1.107s
2020-09-25 16:30:19 |

2020-09-25 16:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:19 | ------------------------------------

2020-09-25 16:30:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2e65d654-fc8e-41c8-abc9-4598f9f37957</node></data>

2020-09-25 16:30:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-25 16:30:20 | [Mutex] waiting for: [received:nodes:d5b1f5f9-2021-4097-af60-457232274415:localhost]

2020-09-25 16:30:20 | [Mutex] received everything.

2020-09-25 16:30:20 | [Mutex] isItemNotified: received:node:d5b1f5f9-2021-4097-af60-457232274415:localhost:node-2e65d654-fc8e-41c8-abc9-4598f9f37957:Node 2e65d654-fc8e-41c8-abc9-4598f9f37957 :: false

2020-09-25 16:30:20 | [Mutex] waiting for: [received:nodes:93266be7-7e3a-4985-8a6c-d9df1ce2c54b:localhost]

2020-09-25 16:30:20 | [Mutex] received everything.

2020-09-25 16:30:20 | [Mutex] isItemNotified: received:node:93266be7-7e3a-4985-8a6c-d9df1ce2c54b:localhost:node-2e65d654-fc8e-41c8-abc9-4598f9f37957:Node 2e65d654-fc8e-41c8-abc9-4598f9f37957 :: false

publishItemsToNodes 0.221s
2020-09-25 16:30:16 |

2020-09-25 16:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:16 | ------------------------------------

2020-09-25 16:30:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2e65d654-fc8e-41c8-abc9-4598f9f37957</node><item-id>item-501f8f4a-4f4e-408d-bbb2-e87e628cb186</item-id><entry><test>item-501f8f4a-4f4e-408d-bbb2-e87e628cb186</test></entry></data>

2020-09-25 16:30:17 | 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-501f8f4a-4f4e-408d-bbb2-e87e628cb186</value></item-id></result>

2020-09-25 16:30:17 | [Mutex] received everything.

2020-09-25 16:30:17 | [Mutex] isItemNotified: published:item:notifieditem-501f8f4a-4f4e-408d-bbb2-e87e628cb186:admin@test-domain.com :: true

retractItemsFromNodes 0.200s
2020-09-25 16:30:17 |

2020-09-25 16:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:17 | ------------------------------------

2020-09-25 16:30:17 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2e65d654-fc8e-41c8-abc9-4598f9f37957</node><item-id>item-501f8f4a-4f4e-408d-bbb2-e87e628cb186</item-id></data>

2020-09-25 16:30:17 | 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-501f8f4a-4f4e-408d-bbb2-e87e628cb186</value></item-id></result>

2020-09-25 16:30:17 | [Mutex] received everything.

2020-09-25 16:30:17 | [Mutex] isItemNotified: retracted:item:notifieditem-501f8f4a-4f4e-408d-bbb2-e87e628cb186:admin@test-domain.com :: true

retrieveItemsFromNodes 0.227s
2020-09-25 16:30:17 |

2020-09-25 16:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:17 | ------------------------------------

2020-09-25 16:30:17 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2e65d654-fc8e-41c8-abc9-4598f9f37957</node><item-id>item-501f8f4a-4f4e-408d-bbb2-e87e628cb186</item-id></data>

2020-09-25 16:30:17 | 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-2e65d654-fc8e-41c8-abc9-4598f9f37957</value></node><item-id type="text-single" label="Item ID"><value>item-501f8f4a-4f4e-408d-bbb2-e87e628cb186</value></item-id><item type="text-multi" label="Item"><value><item id="item-501f8f4a-4f4e-408d-bbb2-e87e628cb186"><test>item-501f8f4a-4f4e-408d-bbb2-e87e628cb186</test></item></value></item></result>

2020-09-25 16:30:17 | [Mutex] notify: [retrieved:item:item-501f8f4a-4f4e-408d-bbb2-e87e628cb186:payload-matches:true:localhost]

2020-09-25 16:30:17 | [Mutex] received everything.

2020-09-25 16:30:17 | [Mutex] isItemNotified: retrieved:item:item-501f8f4a-4f4e-408d-bbb2-e87e628cb186:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-25 16:30:17 |

2020-09-25 16:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:17 | ------------------------------------

2020-09-25 16:30:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-25 16:30:17 | 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-2e65d654-fc8e-41c8-abc9-4598f9f37957</value><value>node-88a02a9e-4a78-4a72-a7df-aec587de4973</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-25 16:30:17 |

2020-09-25 16:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:17 | ------------------------------------

2020-09-25 16:30:17 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2e65d654-fc8e-41c8-abc9-4598f9f37957)</node-pattern></data>

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

subscribeNodes 1.136s
2020-09-25 16:30:15 |

2020-09-25 16:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:15 | ------------------------------------

2020-09-25 16:30:15 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2e65d654-fc8e-41c8-abc9-4598f9f37957</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.263s
2020-09-25 16:30:17 |

2020-09-25 16:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 16:30:17 | ------------------------------------

2020-09-25 16:30:17 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2e65d654-fc8e-41c8-abc9-4598f9f37957</node><jids><value>admin@test-domain.com</value></jids></data>

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