Generated by TestNG with ReportNG at 21:13 PST on Wednesday 11 November 2020
root@43fec6d4badf / 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.976s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2020-11-11 21:29:30 |

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

2020-11-11 21:29:30 | ------------------------------------

2020-11-11 21:29:30 | [Mutex] waiting for: [configured:node:node-ac2aefe1-4a96-486c-bce7-61e5225a3f08:node-a12afcf9-8499-4304-9cc8-603638f6fd80]

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

2020-11-11 21:29:30 | [Mutex] isItemNotified: configured:node:node-ac2aefe1-4a96-486c-bce7-61e5225a3f08:node-a12afcf9-8499-4304-9cc8-603638f6fd80 :: true

2020-11-11 21:29:31 | [Mutex] waiting for: [received:nodes:0612d185-6106-4e5b-8cff-5a022482cb5c:localhost]

2020-11-11 21:29:31 | [Mutex] received everything.

2020-11-11 21:29:31 | [Mutex] isItemNotified: received:node:0612d185-6106-4e5b-8cff-5a022482cb5c:localhost:node-ac2aefe1-4a96-486c-bce7-61e5225a3f08:Node ac2aefe1-4a96-486c-bce7-61e5225a3f08 :: true

2020-11-11 21:29:31 | [Mutex] waiting for: [received:nodes:dce628c4-44f6-416a-ac74-57040ef9c59d:localhost]

2020-11-11 21:29:31 | [Mutex] received everything.

2020-11-11 21:29:31 | [Mutex] isItemNotified: received:node:dce628c4-44f6-416a-ac74-57040ef9c59d:localhost:node-ac2aefe1-4a96-486c-bce7-61e5225a3f08:Node ac2aefe1-4a96-486c-bce7-61e5225a3f08 :: false

createNodes 1.451s
2020-11-11 21:29:27 |

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

2020-11-11 21:29:27 | ------------------------------------

2020-11-11 21:29:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ac2aefe1-4a96-486c-bce7-61e5225a3f08</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ac2aefe1-4a96-486c-bce7-61e5225a3f08</title></pubsub></data>

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

2020-11-11 21:29:29 | [Mutex] waiting for: [received:nodes:0349941b-0740-4521-aed9-8baffc22f78c:localhost]

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

2020-11-11 21:29:29 | [Mutex] isItemNotified: received:node:0349941b-0740-4521-aed9-8baffc22f78c:localhost:node-ac2aefe1-4a96-486c-bce7-61e5225a3f08:Node ac2aefe1-4a96-486c-bce7-61e5225a3f08 :: true

createSubnodes 1.037s
2020-11-11 21:29:29 |

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

2020-11-11 21:29:29 | ------------------------------------

2020-11-11 21:29:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a12afcf9-8499-4304-9cc8-603638f6fd80</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a12afcf9-8499-4304-9cc8-603638f6fd80</title></pubsub></data>

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

2020-11-11 21:29:30 | [Mutex] waiting for: [received:nodes:1a468705-5495-4959-a320-ecd88443388c:localhost]

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

2020-11-11 21:29:30 | [Mutex] isItemNotified: received:node:1a468705-5495-4959-a320-ecd88443388c:localhost:node-a12afcf9-8499-4304-9cc8-603638f6fd80:Node a12afcf9-8499-4304-9cc8-603638f6fd80 :: true

deleteNodes 1.018s
2020-11-11 21:29:35 |

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

2020-11-11 21:29:35 | ------------------------------------

2020-11-11 21:29:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a12afcf9-8499-4304-9cc8-603638f6fd80</node></data>

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

2020-11-11 21:29:36 | [Mutex] waiting for: [received:nodes:8fabc82c-e2b0-493d-ace2-4f4c88c8f370:localhost]

2020-11-11 21:29:36 | [Mutex] received everything.

2020-11-11 21:29:36 | [Mutex] isItemNotified: received:node:8fabc82c-e2b0-493d-ace2-4f4c88c8f370:localhost:node-a12afcf9-8499-4304-9cc8-603638f6fd80:Node a12afcf9-8499-4304-9cc8-603638f6fd80 :: false

deleteSubnodes 1.111s
2020-11-11 21:29:34 |

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

2020-11-11 21:29:34 | ------------------------------------

2020-11-11 21:29:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ac2aefe1-4a96-486c-bce7-61e5225a3f08</node></data>

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

2020-11-11 21:29:35 | [Mutex] waiting for: [received:nodes:a34fe59d-46b1-4bf7-a78d-442984182917:localhost]

2020-11-11 21:29:35 | [Mutex] received everything.

2020-11-11 21:29:35 | [Mutex] isItemNotified: received:node:a34fe59d-46b1-4bf7-a78d-442984182917:localhost:node-ac2aefe1-4a96-486c-bce7-61e5225a3f08:Node ac2aefe1-4a96-486c-bce7-61e5225a3f08 :: false

2020-11-11 21:29:35 | [Mutex] waiting for: [received:nodes:8464febe-4ef9-4287-b92e-efdf3f4d25d4:localhost]

2020-11-11 21:29:35 | [Mutex] received everything.

2020-11-11 21:29:35 | [Mutex] isItemNotified: received:node:8464febe-4ef9-4287-b92e-efdf3f4d25d4:localhost:node-ac2aefe1-4a96-486c-bce7-61e5225a3f08:Node ac2aefe1-4a96-486c-bce7-61e5225a3f08 :: false

publishItemsToNodes 0.271s
2020-11-11 21:29:32 |

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

2020-11-11 21:29:32 | ------------------------------------

2020-11-11 21:29:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ac2aefe1-4a96-486c-bce7-61e5225a3f08</node><item-id>item-f6120f64-6ba2-4535-8947-8e4bcfcb588b</item-id><entry><test>item-f6120f64-6ba2-4535-8947-8e4bcfcb588b</test></entry></data>

2020-11-11 21:29:32 | 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-f6120f64-6ba2-4535-8947-8e4bcfcb588b</value></item-id></result>

2020-11-11 21:29:32 | [Mutex] received everything.

2020-11-11 21:29:32 | [Mutex] isItemNotified: published:item:notifieditem-f6120f64-6ba2-4535-8947-8e4bcfcb588b:admin@test-domain.com :: true

retractItemsFromNodes 0.192s
2020-11-11 21:29:33 |

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

2020-11-11 21:29:33 | ------------------------------------

2020-11-11 21:29:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ac2aefe1-4a96-486c-bce7-61e5225a3f08</node><item-id>item-f6120f64-6ba2-4535-8947-8e4bcfcb588b</item-id></data>

2020-11-11 21:29:33 | 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-f6120f64-6ba2-4535-8947-8e4bcfcb588b</value></item-id></result>

2020-11-11 21:29:33 | [Mutex] received everything.

2020-11-11 21:29:33 | [Mutex] isItemNotified: retracted:item:notifieditem-f6120f64-6ba2-4535-8947-8e4bcfcb588b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.244s
2020-11-11 21:29:32 |

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

2020-11-11 21:29:32 | ------------------------------------

2020-11-11 21:29:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ac2aefe1-4a96-486c-bce7-61e5225a3f08</node><item-id>item-f6120f64-6ba2-4535-8947-8e4bcfcb588b</item-id></data>

2020-11-11 21:29:33 | 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-ac2aefe1-4a96-486c-bce7-61e5225a3f08</value></node><item-id type="text-single" label="Item ID"><value>item-f6120f64-6ba2-4535-8947-8e4bcfcb588b</value></item-id><item type="text-multi" label="Item"><value><item id="item-f6120f64-6ba2-4535-8947-8e4bcfcb588b"><test>item-f6120f64-6ba2-4535-8947-8e4bcfcb588b</test></item></value></item></result>

2020-11-11 21:29:33 | [Mutex] notify: [retrieved:item:item-f6120f64-6ba2-4535-8947-8e4bcfcb588b:payload-matches:true:localhost]

2020-11-11 21:29:33 | [Mutex] received everything.

2020-11-11 21:29:33 | [Mutex] isItemNotified: retrieved:item:item-f6120f64-6ba2-4535-8947-8e4bcfcb588b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-11 21:29:33 |

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

2020-11-11 21:29:33 | ------------------------------------

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

2020-11-11 21:29:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-ac2aefe1-4a96-486c-bce7-61e5225a3f08</value><value>node-a12afcf9-8499-4304-9cc8-603638f6fd80</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-11-11 21:29:33 |

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

2020-11-11 21:29:33 | ------------------------------------

2020-11-11 21:29:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ac2aefe1-4a96-486c-bce7-61e5225a3f08)</node-pattern></data>

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

subscribeNodes 1.187s
2020-11-11 21:29:31 |

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

2020-11-11 21:29:31 | ------------------------------------

2020-11-11 21:29:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ac2aefe1-4a96-486c-bce7-61e5225a3f08</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.307s
2020-11-11 21:29:33 |

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

2020-11-11 21:29:33 | ------------------------------------

2020-11-11 21:29:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ac2aefe1-4a96-486c-bce7-61e5225a3f08</node><jids><value>admin@test-domain.com</value></jids></data>

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