Generated by TestNG with ReportNG at 22:43 PDT on Tuesday 25 May 2021
root@b2c2a8eba6e6 / 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.303s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.154s
2021-05-25 22:59:06 |

2021-05-25 22:59:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:06 | ------------------------------------

2021-05-25 22:59:06 | [Mutex] waiting for: [configured:node:node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5:node-f8622a8d-a2cf-4dcd-a97d-f375e1310a71]

2021-05-25 22:59:06 | [Mutex] received everything.

2021-05-25 22:59:06 | [Mutex] isItemNotified: configured:node:node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5:node-f8622a8d-a2cf-4dcd-a97d-f375e1310a71 :: true

2021-05-25 22:59:07 | [Mutex] waiting for: [received:nodes:10db34a0-195b-4e3a-82dc-1695f768280d:localhost]

2021-05-25 22:59:07 | [Mutex] received everything.

2021-05-25 22:59:07 | [Mutex] isItemNotified: received:node:10db34a0-195b-4e3a-82dc-1695f768280d:localhost:node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5:Node 5c4f90ba-4773-4327-9fd0-2fb98c869ab5 :: true

2021-05-25 22:59:07 | [Mutex] waiting for: [received:nodes:6aedbbf5-4447-42ad-8abc-19932f328776:localhost]

2021-05-25 22:59:07 | [Mutex] received everything.

2021-05-25 22:59:07 | [Mutex] isItemNotified: received:node:6aedbbf5-4447-42ad-8abc-19932f328776:localhost:node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5:Node 5c4f90ba-4773-4327-9fd0-2fb98c869ab5 :: false

createNodes 1.445s
2021-05-25 22:59:03 |

2021-05-25 22:59:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:03 | ------------------------------------

2021-05-25 22:59:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5c4f90ba-4773-4327-9fd0-2fb98c869ab5</title></pubsub></data>

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

2021-05-25 22:59:05 | [Mutex] waiting for: [received:nodes:e619835f-4128-46dd-ac08-d743f9190507:localhost]

2021-05-25 22:59:05 | [Mutex] received everything.

2021-05-25 22:59:05 | [Mutex] isItemNotified: received:node:e619835f-4128-46dd-ac08-d743f9190507:localhost:node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5:Node 5c4f90ba-4773-4327-9fd0-2fb98c869ab5 :: true

createSubnodes 1.034s
2021-05-25 22:59:05 |

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

2021-05-25 22:59:05 | ------------------------------------

2021-05-25 22:59:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f8622a8d-a2cf-4dcd-a97d-f375e1310a71</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f8622a8d-a2cf-4dcd-a97d-f375e1310a71</title></pubsub></data>

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

2021-05-25 22:59:06 | [Mutex] waiting for: [received:nodes:92c56155-1779-49cc-a489-fca3f4c3bde1:localhost]

2021-05-25 22:59:06 | [Mutex] received everything.

2021-05-25 22:59:06 | [Mutex] isItemNotified: received:node:92c56155-1779-49cc-a489-fca3f4c3bde1:localhost:node-f8622a8d-a2cf-4dcd-a97d-f375e1310a71:Node f8622a8d-a2cf-4dcd-a97d-f375e1310a71 :: true

deleteNodes 1.024s
2021-05-25 22:59:12 |

2021-05-25 22:59:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:12 | ------------------------------------

2021-05-25 22:59:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f8622a8d-a2cf-4dcd-a97d-f375e1310a71</node></data>

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

2021-05-25 22:59:13 | [Mutex] waiting for: [received:nodes:cb6235b0-679f-49f6-91a2-f4b523054c4a:localhost]

2021-05-25 22:59:13 | [Mutex] received everything.

2021-05-25 22:59:13 | [Mutex] isItemNotified: received:node:cb6235b0-679f-49f6-91a2-f4b523054c4a:localhost:node-f8622a8d-a2cf-4dcd-a97d-f375e1310a71:Node f8622a8d-a2cf-4dcd-a97d-f375e1310a71 :: false

deleteSubnodes 1.141s
2021-05-25 22:59:10 |

2021-05-25 22:59:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:10 | ------------------------------------

2021-05-25 22:59:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5</node></data>

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

2021-05-25 22:59:12 | [Mutex] waiting for: [received:nodes:3ae079fc-476c-4e6a-96c1-9e03fbc064a2:localhost]

2021-05-25 22:59:12 | [Mutex] waiting for: [received:nodes:3ae079fc-476c-4e6a-96c1-9e03fbc064a2:localhost]

2021-05-25 22:59:12 | [Mutex] received everything.

2021-05-25 22:59:12 | [Mutex] isItemNotified: received:node:3ae079fc-476c-4e6a-96c1-9e03fbc064a2:localhost:node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5:Node 5c4f90ba-4773-4327-9fd0-2fb98c869ab5 :: false

2021-05-25 22:59:12 | [Mutex] waiting for: [received:nodes:5b28b3bf-ade9-41d4-ab58-6995a9092f30:localhost]

2021-05-25 22:59:12 | [Mutex] received everything.

2021-05-25 22:59:12 | [Mutex] isItemNotified: received:node:5b28b3bf-ade9-41d4-ab58-6995a9092f30:localhost:node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5:Node 5c4f90ba-4773-4327-9fd0-2fb98c869ab5 :: false

publishItemsToNodes 0.198s
2021-05-25 22:59:08 |

2021-05-25 22:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:08 | ------------------------------------

2021-05-25 22:59:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5</node><item-id>item-a51af3a6-1f41-4e33-a53b-f83ce9c0e573</item-id><entry><test>item-a51af3a6-1f41-4e33-a53b-f83ce9c0e573</test></entry></data>

2021-05-25 22:59:08 | 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-a51af3a6-1f41-4e33-a53b-f83ce9c0e573</value></item-id></result>

2021-05-25 22:59:08 | [Mutex] received everything.

2021-05-25 22:59:08 | [Mutex] isItemNotified: published:item:notifieditem-a51af3a6-1f41-4e33-a53b-f83ce9c0e573:admin@test-domain.com :: true

retractItemsFromNodes 0.379s
2021-05-25 22:59:09 |

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

2021-05-25 22:59:09 | ------------------------------------

2021-05-25 22:59:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5</node><item-id>item-a51af3a6-1f41-4e33-a53b-f83ce9c0e573</item-id></data>

2021-05-25 22:59:09 | 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-a51af3a6-1f41-4e33-a53b-f83ce9c0e573</value></item-id></result>

2021-05-25 22:59:09 | [Mutex] waiting for: [retracted:item:notifieditem-a51af3a6-1f41-4e33-a53b-f83ce9c0e573:admin@test-domain.com]

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

2021-05-25 22:59:09 | [Mutex] isItemNotified: retracted:item:notifieditem-a51af3a6-1f41-4e33-a53b-f83ce9c0e573:admin@test-domain.com :: true

retrieveItemsFromNodes 0.294s
2021-05-25 22:59:08 |

2021-05-25 22:59:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:08 | ------------------------------------

2021-05-25 22:59:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5</node><item-id>item-a51af3a6-1f41-4e33-a53b-f83ce9c0e573</item-id></data>

2021-05-25 22:59:09 | 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-5c4f90ba-4773-4327-9fd0-2fb98c869ab5</value></node><item-id type="text-single" label="Item ID"><value>item-a51af3a6-1f41-4e33-a53b-f83ce9c0e573</value></item-id><item type="text-multi" label="Item"><value><item id="item-a51af3a6-1f41-4e33-a53b-f83ce9c0e573"><test>item-a51af3a6-1f41-4e33-a53b-f83ce9c0e573</test></item></value></item></result>

2021-05-25 22:59:09 | [Mutex] notify: [retrieved:item:item-a51af3a6-1f41-4e33-a53b-f83ce9c0e573:payload-matches:true:localhost]

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

2021-05-25 22:59:09 | [Mutex] isItemNotified: retrieved:item:item-a51af3a6-1f41-4e33-a53b-f83ce9c0e573:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-05-25 22:59:09 |

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

2021-05-25 22:59:09 | ------------------------------------

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

2021-05-25 22:59:09 | 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-f8622a8d-a2cf-4dcd-a97d-f375e1310a71</value><value>node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-05-25 22:59:09 |

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

2021-05-25 22:59:09 | ------------------------------------

2021-05-25 22:59:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5)</node-pattern></data>

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

subscribeNodes 1.209s
2021-05-25 22:59:07 |

2021-05-25 22:59:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-25 22:59:07 | ------------------------------------

2021-05-25 22:59:07 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.323s
2021-05-25 22:59:09 |

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

2021-05-25 22:59:09 | ------------------------------------

2021-05-25 22:59:09 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5c4f90ba-4773-4327-9fd0-2fb98c869ab5</node><jids><value>admin@test-domain.com</value></jids></data>

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