Generated by TestNG with ReportNG at 21:48 PST on Wednesday 23 February 2022
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.297s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2022-02-23 22:03:40 |

2022-02-23 22:03:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:40 | ------------------------------------

2022-02-23 22:03:40 | [Mutex] waiting for: [configured:node:node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b:node-afe48462-7525-4b26-b120-7a9fe72bbd32]

2022-02-23 22:03:40 | [Mutex] received everything.

2022-02-23 22:03:40 | [Mutex] isItemNotified: configured:node:node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b:node-afe48462-7525-4b26-b120-7a9fe72bbd32 :: true

2022-02-23 22:03:41 | [Mutex] waiting for: [received:nodes:89017649-00f7-49e6-a304-82ca2a5c28ec:localhost]

2022-02-23 22:03:41 | [Mutex] received everything.

2022-02-23 22:03:41 | [Mutex] isItemNotified: received:node:89017649-00f7-49e6-a304-82ca2a5c28ec:localhost:node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b:Node 3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b :: true

2022-02-23 22:03:41 | [Mutex] waiting for: [received:nodes:b859769f-c7c4-4c89-97c0-5257bc236c68:localhost]

2022-02-23 22:03:41 | [Mutex] received everything.

2022-02-23 22:03:41 | [Mutex] isItemNotified: received:node:b859769f-c7c4-4c89-97c0-5257bc236c68:localhost:node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b:Node 3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b :: false

createNodes 1.676s
2022-02-23 22:03:37 |

2022-02-23 22:03:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:37 | ------------------------------------

2022-02-23 22:03:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b</title></pubsub></data>

2022-02-23 22:03:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-23 22:03:39 | [Mutex] waiting for: [received:nodes:e6f287ef-af3c-4639-9a30-4e55d222fd96:localhost]

2022-02-23 22:03:39 | [Mutex] received everything.

2022-02-23 22:03:39 | [Mutex] isItemNotified: received:node:e6f287ef-af3c-4639-9a30-4e55d222fd96:localhost:node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b:Node 3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b :: true

createSubnodes 1.034s
2022-02-23 22:03:39 |

2022-02-23 22:03:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:39 | ------------------------------------

2022-02-23 22:03:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-afe48462-7525-4b26-b120-7a9fe72bbd32</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node afe48462-7525-4b26-b120-7a9fe72bbd32</title></pubsub></data>

2022-02-23 22:03:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-23 22:03:40 | [Mutex] waiting for: [received:nodes:2e321ee9-d3b1-4c99-8a99-7a2dab2b7d58:localhost]

2022-02-23 22:03:40 | [Mutex] received everything.

2022-02-23 22:03:40 | [Mutex] isItemNotified: received:node:2e321ee9-d3b1-4c99-8a99-7a2dab2b7d58:localhost:node-afe48462-7525-4b26-b120-7a9fe72bbd32:Node afe48462-7525-4b26-b120-7a9fe72bbd32 :: true

deleteNodes 1.020s
2022-02-23 22:03:45 |

2022-02-23 22:03:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:45 | ------------------------------------

2022-02-23 22:03:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-afe48462-7525-4b26-b120-7a9fe72bbd32</node></data>

2022-02-23 22:03:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-23 22:03:46 | [Mutex] waiting for: [received:nodes:d4990ac8-5882-4c72-a302-0cf6d9960418:localhost]

2022-02-23 22:03:46 | [Mutex] received everything.

2022-02-23 22:03:46 | [Mutex] isItemNotified: received:node:d4990ac8-5882-4c72-a302-0cf6d9960418:localhost:node-afe48462-7525-4b26-b120-7a9fe72bbd32:Node afe48462-7525-4b26-b120-7a9fe72bbd32 :: false

deleteSubnodes 1.137s
2022-02-23 22:03:44 |

2022-02-23 22:03:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:44 | ------------------------------------

2022-02-23 22:03:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b</node></data>

2022-02-23 22:03:44 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-23 22:03:45 | [Mutex] waiting for: [received:nodes:03dc470c-ed52-4706-a89c-fcf3dc220ac3:localhost]

2022-02-23 22:03:45 | [Mutex] waiting for: [received:nodes:03dc470c-ed52-4706-a89c-fcf3dc220ac3:localhost]

2022-02-23 22:03:45 | [Mutex] received everything.

2022-02-23 22:03:45 | [Mutex] isItemNotified: received:node:03dc470c-ed52-4706-a89c-fcf3dc220ac3:localhost:node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b:Node 3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b :: false

2022-02-23 22:03:45 | [Mutex] waiting for: [received:nodes:247d54fc-7a92-4736-98f9-a5977955bcd6:localhost]

2022-02-23 22:03:45 | [Mutex] received everything.

2022-02-23 22:03:45 | [Mutex] isItemNotified: received:node:247d54fc-7a92-4736-98f9-a5977955bcd6:localhost:node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b:Node 3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b :: false

publishItemsToNodes 0.240s
2022-02-23 22:03:42 |

2022-02-23 22:03:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:42 | ------------------------------------

2022-02-23 22:03:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b</node><item-id>item-7611ed39-3cfb-4f4b-b597-aaf50a0e0149</item-id><entry><test>item-7611ed39-3cfb-4f4b-b597-aaf50a0e0149</test></entry></data>

2022-02-23 22:03:42 | 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-7611ed39-3cfb-4f4b-b597-aaf50a0e0149</value></item-id></result>

2022-02-23 22:03:42 | [Mutex] waiting for: [published:item:notifieditem-7611ed39-3cfb-4f4b-b597-aaf50a0e0149:admin@test-domain.com]

2022-02-23 22:03:42 | [Mutex] received everything.

2022-02-23 22:03:42 | [Mutex] isItemNotified: published:item:notifieditem-7611ed39-3cfb-4f4b-b597-aaf50a0e0149:admin@test-domain.com :: true

retractItemsFromNodes 0.271s
2022-02-23 22:03:43 |

2022-02-23 22:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:43 | ------------------------------------

2022-02-23 22:03:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b</node><item-id>item-7611ed39-3cfb-4f4b-b597-aaf50a0e0149</item-id></data>

2022-02-23 22:03:43 | 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-7611ed39-3cfb-4f4b-b597-aaf50a0e0149</value></item-id></result>

2022-02-23 22:03:43 | [Mutex] received everything.

2022-02-23 22:03:43 | [Mutex] isItemNotified: retracted:item:notifieditem-7611ed39-3cfb-4f4b-b597-aaf50a0e0149:admin@test-domain.com :: true

retrieveItemsFromNodes 0.260s
2022-02-23 22:03:42 |

2022-02-23 22:03:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:42 | ------------------------------------

2022-02-23 22:03:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b</node><item-id>item-7611ed39-3cfb-4f4b-b597-aaf50a0e0149</item-id></data>

2022-02-23 22:03:43 | 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-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b</value></node><item-id label="Item ID" type="text-single"><value>item-7611ed39-3cfb-4f4b-b597-aaf50a0e0149</value></item-id><item label="Item" type="text-multi"><value><item id="item-7611ed39-3cfb-4f4b-b597-aaf50a0e0149"><test>item-7611ed39-3cfb-4f4b-b597-aaf50a0e0149</test></item></value></item></result>

2022-02-23 22:03:43 | [Mutex] notify: [retrieved:item:item-7611ed39-3cfb-4f4b-b597-aaf50a0e0149:payload-matches:true:localhost]

2022-02-23 22:03:43 | [Mutex] received everything.

2022-02-23 22:03:43 | [Mutex] isItemNotified: retrieved:item:item-7611ed39-3cfb-4f4b-b597-aaf50a0e0149:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-23 22:03:43 |

2022-02-23 22:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:43 | ------------------------------------

2022-02-23 22:03:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-23 22:03:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-afe48462-7525-4b26-b120-7a9fe72bbd32</value><value>test</value><value>node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-23 22:03:43 |

2022-02-23 22:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:43 | ------------------------------------

2022-02-23 22:03:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b)</node-pattern></data>

2022-02-23 22:03:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.224s
2022-02-23 22:03:41 |

2022-02-23 22:03:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:41 | ------------------------------------

2022-02-23 22:03:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.283s
2022-02-23 22:03:43 |

2022-02-23 22:03:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 22:03:43 | ------------------------------------

2022-02-23 22:03:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3d3f127b-2fd3-4c6d-a5e5-b3ebf08cec9b</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-23 22:03:43 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>