Generated by TestNG with ReportNG at 22:51 PDT on Monday 20 September 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.153s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2021-09-20 23:06:00 |

2021-09-20 23:06:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:06:00 | ------------------------------------

2021-09-20 23:06:00 | [Mutex] waiting for: [configured:node:node-abe3c9c8-df84-4eea-a0cf-20b24193e933:node-e6daa074-4f74-4666-b559-4b0a7927b0a7]

2021-09-20 23:06:00 | [Mutex] received everything.

2021-09-20 23:06:00 | [Mutex] isItemNotified: configured:node:node-abe3c9c8-df84-4eea-a0cf-20b24193e933:node-e6daa074-4f74-4666-b559-4b0a7927b0a7 :: true

2021-09-20 23:06:01 | [Mutex] waiting for: [received:nodes:4766ed41-5653-4a56-910e-ebff413b89db:localhost]

2021-09-20 23:06:01 | [Mutex] received everything.

2021-09-20 23:06:01 | [Mutex] isItemNotified: received:node:4766ed41-5653-4a56-910e-ebff413b89db:localhost:node-abe3c9c8-df84-4eea-a0cf-20b24193e933:Node abe3c9c8-df84-4eea-a0cf-20b24193e933 :: true

2021-09-20 23:06:01 | [Mutex] waiting for: [received:nodes:fff8891d-4a6d-4fc7-b41a-63a9cc56ed85:localhost]

2021-09-20 23:06:01 | [Mutex] received everything.

2021-09-20 23:06:01 | [Mutex] isItemNotified: received:node:fff8891d-4a6d-4fc7-b41a-63a9cc56ed85:localhost:node-abe3c9c8-df84-4eea-a0cf-20b24193e933:Node abe3c9c8-df84-4eea-a0cf-20b24193e933 :: false

createNodes 1.527s
2021-09-20 23:05:58 |

2021-09-20 23:05:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:05:58 | ------------------------------------

2021-09-20 23:05:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-abe3c9c8-df84-4eea-a0cf-20b24193e933</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node abe3c9c8-df84-4eea-a0cf-20b24193e933</title></pubsub></data>

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

2021-09-20 23:05:59 | [Mutex] waiting for: [received:nodes:e123dba9-e60e-4213-9b16-6aa39024e547:localhost]

2021-09-20 23:05:59 | [Mutex] waiting for: [received:nodes:e123dba9-e60e-4213-9b16-6aa39024e547:localhost]

2021-09-20 23:05:59 | [Mutex] waiting for: [received:nodes:e123dba9-e60e-4213-9b16-6aa39024e547:localhost]

2021-09-20 23:05:59 | [Mutex] received everything.

2021-09-20 23:05:59 | [Mutex] isItemNotified: received:node:e123dba9-e60e-4213-9b16-6aa39024e547:localhost:node-abe3c9c8-df84-4eea-a0cf-20b24193e933:Node abe3c9c8-df84-4eea-a0cf-20b24193e933 :: true

createSubnodes 1.040s
2021-09-20 23:05:59 |

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

2021-09-20 23:05:59 | ------------------------------------

2021-09-20 23:05:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e6daa074-4f74-4666-b559-4b0a7927b0a7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e6daa074-4f74-4666-b559-4b0a7927b0a7</title></pubsub></data>

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

2021-09-20 23:06:00 | [Mutex] waiting for: [received:nodes:eaea9663-0c0d-4405-9523-e1ded4ca739e:localhost]

2021-09-20 23:06:00 | [Mutex] received everything.

2021-09-20 23:06:00 | [Mutex] isItemNotified: received:node:eaea9663-0c0d-4405-9523-e1ded4ca739e:localhost:node-e6daa074-4f74-4666-b559-4b0a7927b0a7:Node e6daa074-4f74-4666-b559-4b0a7927b0a7 :: true

deleteNodes 1.026s
2021-09-20 23:06:06 |

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

2021-09-20 23:06:06 | ------------------------------------

2021-09-20 23:06:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e6daa074-4f74-4666-b559-4b0a7927b0a7</node></data>

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

2021-09-20 23:06:07 | [Mutex] waiting for: [received:nodes:ac25e451-2f1c-4f54-aefe-f0cfc369c208:localhost]

2021-09-20 23:06:07 | [Mutex] received everything.

2021-09-20 23:06:07 | [Mutex] isItemNotified: received:node:ac25e451-2f1c-4f54-aefe-f0cfc369c208:localhost:node-e6daa074-4f74-4666-b559-4b0a7927b0a7:Node e6daa074-4f74-4666-b559-4b0a7927b0a7 :: false

deleteSubnodes 1.137s
2021-09-20 23:06:05 |

2021-09-20 23:06:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:06:05 | ------------------------------------

2021-09-20 23:06:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-abe3c9c8-df84-4eea-a0cf-20b24193e933</node></data>

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

2021-09-20 23:06:06 | [Mutex] waiting for: [received:nodes:cda270d5-2365-4bb6-9776-1422fcd8f29f:localhost]

2021-09-20 23:06:06 | [Mutex] received everything.

2021-09-20 23:06:06 | [Mutex] isItemNotified: received:node:cda270d5-2365-4bb6-9776-1422fcd8f29f:localhost:node-abe3c9c8-df84-4eea-a0cf-20b24193e933:Node abe3c9c8-df84-4eea-a0cf-20b24193e933 :: false

2021-09-20 23:06:06 | [Mutex] waiting for: [received:nodes:4047465f-c7fc-4c0c-89f7-a358a7d0fc83:localhost]

2021-09-20 23:06:06 | [Mutex] received everything.

2021-09-20 23:06:06 | [Mutex] isItemNotified: received:node:4047465f-c7fc-4c0c-89f7-a358a7d0fc83:localhost:node-abe3c9c8-df84-4eea-a0cf-20b24193e933:Node abe3c9c8-df84-4eea-a0cf-20b24193e933 :: false

publishItemsToNodes 0.248s
2021-09-20 23:06:02 |

2021-09-20 23:06:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:06:02 | ------------------------------------

2021-09-20 23:06:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-abe3c9c8-df84-4eea-a0cf-20b24193e933</node><item-id>item-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2</item-id><entry><test>item-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2</test></entry></data>

2021-09-20 23:06:03 | 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-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2</value></item-id></result>

2021-09-20 23:06:03 | [Mutex] received everything.

2021-09-20 23:06:03 | [Mutex] isItemNotified: published:item:notifieditem-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2:admin@test-domain.com :: true

retractItemsFromNodes 0.222s
2021-09-20 23:06:03 |

2021-09-20 23:06:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:06:03 | ------------------------------------

2021-09-20 23:06:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-abe3c9c8-df84-4eea-a0cf-20b24193e933</node><item-id>item-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2</item-id></data>

2021-09-20 23:06:03 | 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-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2</value></item-id></result>

2021-09-20 23:06:03 | [Mutex] received everything.

2021-09-20 23:06:03 | [Mutex] isItemNotified: retracted:item:notifieditem-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.330s
2021-09-20 23:06:03 |

2021-09-20 23:06:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:06:03 | ------------------------------------

2021-09-20 23:06:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-abe3c9c8-df84-4eea-a0cf-20b24193e933</node><item-id>item-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2</item-id></data>

2021-09-20 23:06:03 | 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-abe3c9c8-df84-4eea-a0cf-20b24193e933</value></node><item-id label="Item ID" type="text-single"><value>item-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2</value></item-id><item label="Item" type="text-multi"><value><item id="item-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2"><test>item-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2</test></item></value></item></result>

2021-09-20 23:06:03 | [Mutex] notify: [retrieved:item:item-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2:payload-matches:true:localhost]

2021-09-20 23:06:03 | [Mutex] received everything.

2021-09-20 23:06:03 | [Mutex] isItemNotified: retrieved:item:item-ee5c8b6b-6b4d-472d-8a18-0e5746e816d2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.053s
2021-09-20 23:06:03 |

2021-09-20 23:06:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:06:03 | ------------------------------------

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

2021-09-20 23:06:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-e6daa074-4f74-4666-b559-4b0a7927b0a7</value><value>node-abe3c9c8-df84-4eea-a0cf-20b24193e933</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2021-09-20 23:06:03 |

2021-09-20 23:06:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:06:03 | ------------------------------------

2021-09-20 23:06:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-abe3c9c8-df84-4eea-a0cf-20b24193e933)</node-pattern></data>

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

subscribeNodes 1.213s
2021-09-20 23:06:01 |

2021-09-20 23:06:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:06:01 | ------------------------------------

2021-09-20 23:06:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-abe3c9c8-df84-4eea-a0cf-20b24193e933</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.355s
2021-09-20 23:06:03 |

2021-09-20 23:06:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-20 23:06:03 | ------------------------------------

2021-09-20 23:06:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-abe3c9c8-df84-4eea-a0cf-20b24193e933</node><jids><value>admin@test-domain.com</value></jids></data>

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