Generated by TestNG with ReportNG at 21:14 PST on Sunday 01 November 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.077s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.129s
2020-11-01 21:30:10 |

2020-11-01 21:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:10 | ------------------------------------

2020-11-01 21:30:10 | [Mutex] waiting for: [configured:node:node-161c7e71-3b61-413c-b14c-5c0cd2d88144:node-5ca0fd2e-19de-4780-9d9e-1f767b141e80]

2020-11-01 21:30:10 | [Mutex] received everything.

2020-11-01 21:30:10 | [Mutex] isItemNotified: configured:node:node-161c7e71-3b61-413c-b14c-5c0cd2d88144:node-5ca0fd2e-19de-4780-9d9e-1f767b141e80 :: true

2020-11-01 21:30:11 | [Mutex] waiting for: [received:nodes:c77f9aeb-f98a-471e-beee-a3ce67eebf1b:localhost]

2020-11-01 21:30:11 | [Mutex] waiting for: [received:nodes:c77f9aeb-f98a-471e-beee-a3ce67eebf1b:localhost]

2020-11-01 21:30:11 | [Mutex] received everything.

2020-11-01 21:30:11 | [Mutex] isItemNotified: received:node:c77f9aeb-f98a-471e-beee-a3ce67eebf1b:localhost:node-161c7e71-3b61-413c-b14c-5c0cd2d88144:Node 161c7e71-3b61-413c-b14c-5c0cd2d88144 :: true

2020-11-01 21:30:11 | [Mutex] waiting for: [received:nodes:e1a8cf4d-b5d3-4f31-8f93-4b2af0610d19:localhost]

2020-11-01 21:30:11 | [Mutex] received everything.

2020-11-01 21:30:11 | [Mutex] isItemNotified: received:node:e1a8cf4d-b5d3-4f31-8f93-4b2af0610d19:localhost:node-161c7e71-3b61-413c-b14c-5c0cd2d88144:Node 161c7e71-3b61-413c-b14c-5c0cd2d88144 :: false

createNodes 1.461s
2020-11-01 21:30:07 |

2020-11-01 21:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:07 | ------------------------------------

2020-11-01 21:30:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-161c7e71-3b61-413c-b14c-5c0cd2d88144</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 161c7e71-3b61-413c-b14c-5c0cd2d88144</title></pubsub></data>

2020-11-01 21:30:08 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-01 21:30:09 | [Mutex] waiting for: [received:nodes:187ad136-3a77-4917-974c-8a270cbc4e35:localhost]

2020-11-01 21:30:09 | [Mutex] received everything.

2020-11-01 21:30:09 | [Mutex] isItemNotified: received:node:187ad136-3a77-4917-974c-8a270cbc4e35:localhost:node-161c7e71-3b61-413c-b14c-5c0cd2d88144:Node 161c7e71-3b61-413c-b14c-5c0cd2d88144 :: true

createSubnodes 1.029s
2020-11-01 21:30:09 |

2020-11-01 21:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:09 | ------------------------------------

2020-11-01 21:30:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5ca0fd2e-19de-4780-9d9e-1f767b141e80</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5ca0fd2e-19de-4780-9d9e-1f767b141e80</title></pubsub></data>

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

2020-11-01 21:30:10 | [Mutex] waiting for: [received:nodes:45a87170-85b9-410c-806c-8bfba071ae28:localhost]

2020-11-01 21:30:10 | [Mutex] received everything.

2020-11-01 21:30:10 | [Mutex] isItemNotified: received:node:45a87170-85b9-410c-806c-8bfba071ae28:localhost:node-5ca0fd2e-19de-4780-9d9e-1f767b141e80:Node 5ca0fd2e-19de-4780-9d9e-1f767b141e80 :: true

deleteNodes 1.021s
2020-11-01 21:30:15 |

2020-11-01 21:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:15 | ------------------------------------

2020-11-01 21:30:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5ca0fd2e-19de-4780-9d9e-1f767b141e80</node></data>

2020-11-01 21:30:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-01 21:30:16 | [Mutex] waiting for: [received:nodes:16c14b88-bdb3-4218-bdea-70e1878e80c2:localhost]

2020-11-01 21:30:16 | [Mutex] received everything.

2020-11-01 21:30:16 | [Mutex] isItemNotified: received:node:16c14b88-bdb3-4218-bdea-70e1878e80c2:localhost:node-5ca0fd2e-19de-4780-9d9e-1f767b141e80:Node 5ca0fd2e-19de-4780-9d9e-1f767b141e80 :: false

deleteSubnodes 1.128s
2020-11-01 21:30:14 |

2020-11-01 21:30:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:14 | ------------------------------------

2020-11-01 21:30:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-161c7e71-3b61-413c-b14c-5c0cd2d88144</node></data>

2020-11-01 21:30:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-01 21:30:15 | [Mutex] waiting for: [received:nodes:e3e00424-85ad-4f5f-8637-b87503555cbf:localhost]

2020-11-01 21:30:15 | [Mutex] received everything.

2020-11-01 21:30:15 | [Mutex] isItemNotified: received:node:e3e00424-85ad-4f5f-8637-b87503555cbf:localhost:node-161c7e71-3b61-413c-b14c-5c0cd2d88144:Node 161c7e71-3b61-413c-b14c-5c0cd2d88144 :: false

2020-11-01 21:30:15 | [Mutex] waiting for: [received:nodes:cb235928-37ba-48a6-8d79-219c536d032a:localhost]

2020-11-01 21:30:15 | [Mutex] received everything.

2020-11-01 21:30:15 | [Mutex] isItemNotified: received:node:cb235928-37ba-48a6-8d79-219c536d032a:localhost:node-161c7e71-3b61-413c-b14c-5c0cd2d88144:Node 161c7e71-3b61-413c-b14c-5c0cd2d88144 :: false

publishItemsToNodes 0.278s
2020-11-01 21:30:12 |

2020-11-01 21:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:12 | ------------------------------------

2020-11-01 21:30:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-161c7e71-3b61-413c-b14c-5c0cd2d88144</node><item-id>item-22cf3c4b-ce7c-4b30-97a4-54874d110651</item-id><entry><test>item-22cf3c4b-ce7c-4b30-97a4-54874d110651</test></entry></data>

2020-11-01 21:30:12 | 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-22cf3c4b-ce7c-4b30-97a4-54874d110651</value></item-id></result>

2020-11-01 21:30:12 | [Mutex] received everything.

2020-11-01 21:30:12 | [Mutex] isItemNotified: published:item:notifieditem-22cf3c4b-ce7c-4b30-97a4-54874d110651:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2020-11-01 21:30:13 |

2020-11-01 21:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:13 | ------------------------------------

2020-11-01 21:30:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-161c7e71-3b61-413c-b14c-5c0cd2d88144</node><item-id>item-22cf3c4b-ce7c-4b30-97a4-54874d110651</item-id></data>

2020-11-01 21:30:13 | 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-22cf3c4b-ce7c-4b30-97a4-54874d110651</value></item-id></result>

2020-11-01 21:30:13 | [Mutex] received everything.

2020-11-01 21:30:13 | [Mutex] isItemNotified: retracted:item:notifieditem-22cf3c4b-ce7c-4b30-97a4-54874d110651:admin@test-domain.com :: true

retrieveItemsFromNodes 0.335s
2020-11-01 21:30:12 |

2020-11-01 21:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:12 | ------------------------------------

2020-11-01 21:30:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-161c7e71-3b61-413c-b14c-5c0cd2d88144</node><item-id>item-22cf3c4b-ce7c-4b30-97a4-54874d110651</item-id></data>

2020-11-01 21:30:13 | 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-161c7e71-3b61-413c-b14c-5c0cd2d88144</value></node><item-id type="text-single" label="Item ID"><value>item-22cf3c4b-ce7c-4b30-97a4-54874d110651</value></item-id><item type="text-multi" label="Item"><value><item id="item-22cf3c4b-ce7c-4b30-97a4-54874d110651"><test>item-22cf3c4b-ce7c-4b30-97a4-54874d110651</test></item></value></item></result>

2020-11-01 21:30:13 | [Mutex] notify: [retrieved:item:item-22cf3c4b-ce7c-4b30-97a4-54874d110651:payload-matches:true:localhost]

2020-11-01 21:30:13 | [Mutex] received everything.

2020-11-01 21:30:13 | [Mutex] isItemNotified: retrieved:item:item-22cf3c4b-ce7c-4b30-97a4-54874d110651:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-11-01 21:30:13 |

2020-11-01 21:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:13 | ------------------------------------

2020-11-01 21:30:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-01 21:30:13 | 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-161c7e71-3b61-413c-b14c-5c0cd2d88144</value><value>node-5ca0fd2e-19de-4780-9d9e-1f767b141e80</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-11-01 21:30:13 |

2020-11-01 21:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:13 | ------------------------------------

2020-11-01 21:30:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-161c7e71-3b61-413c-b14c-5c0cd2d88144)</node-pattern></data>

2020-11-01 21:30:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.102s
2020-11-01 21:30:11 |

2020-11-01 21:30:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:11 | ------------------------------------

2020-11-01 21:30:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-161c7e71-3b61-413c-b14c-5c0cd2d88144</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.251s
2020-11-01 21:30:13 |

2020-11-01 21:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-01 21:30:13 | ------------------------------------

2020-11-01 21:30:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-161c7e71-3b61-413c-b14c-5c0cd2d88144</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-01 21:30:13 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>