Generated by TestNG with ReportNG at 22:26 PDT on Thursday 24 June 2021
root@f29ef40080b5 / 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.350s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.132s
2021-06-24 22:41:35 |

2021-06-24 22:41:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:35 | ------------------------------------

2021-06-24 22:41:35 | [Mutex] waiting for: [configured:node:node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301:node-783b991f-2663-4970-8923-6039bf6f82df]

2021-06-24 22:41:35 | [Mutex] received everything.

2021-06-24 22:41:35 | [Mutex] isItemNotified: configured:node:node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301:node-783b991f-2663-4970-8923-6039bf6f82df :: true

2021-06-24 22:41:36 | [Mutex] waiting for: [received:nodes:5d7ca8a7-c086-4750-bea4-cd506c6ad38c:localhost]

2021-06-24 22:41:36 | [Mutex] received everything.

2021-06-24 22:41:36 | [Mutex] isItemNotified: received:node:5d7ca8a7-c086-4750-bea4-cd506c6ad38c:localhost:node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301:Node 6d407ba1-b2ed-47c6-b8bd-3b7015ffe301 :: true

2021-06-24 22:41:36 | [Mutex] waiting for: [received:nodes:36615eeb-415d-44f2-94f0-b0a938576913:localhost]

2021-06-24 22:41:36 | [Mutex] received everything.

2021-06-24 22:41:36 | [Mutex] isItemNotified: received:node:36615eeb-415d-44f2-94f0-b0a938576913:localhost:node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301:Node 6d407ba1-b2ed-47c6-b8bd-3b7015ffe301 :: false

createNodes 1.540s
2021-06-24 22:41:33 |

2021-06-24 22:41:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:33 | ------------------------------------

2021-06-24 22:41:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6d407ba1-b2ed-47c6-b8bd-3b7015ffe301</title></pubsub></data>

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

2021-06-24 22:41:34 | [Mutex] waiting for: [received:nodes:42dcb4db-1567-45d3-86fe-f9f2c2b50f62:localhost]

2021-06-24 22:41:34 | [Mutex] received everything.

2021-06-24 22:41:34 | [Mutex] isItemNotified: received:node:42dcb4db-1567-45d3-86fe-f9f2c2b50f62:localhost:node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301:Node 6d407ba1-b2ed-47c6-b8bd-3b7015ffe301 :: true

createSubnodes 1.034s
2021-06-24 22:41:34 |

2021-06-24 22:41:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:34 | ------------------------------------

2021-06-24 22:41:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-783b991f-2663-4970-8923-6039bf6f82df</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 783b991f-2663-4970-8923-6039bf6f82df</title></pubsub></data>

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

2021-06-24 22:41:35 | [Mutex] waiting for: [received:nodes:6dfc1fe4-b1bd-41a7-bc5f-3bc3ded12946:localhost]

2021-06-24 22:41:35 | [Mutex] received everything.

2021-06-24 22:41:35 | [Mutex] isItemNotified: received:node:6dfc1fe4-b1bd-41a7-bc5f-3bc3ded12946:localhost:node-783b991f-2663-4970-8923-6039bf6f82df:Node 783b991f-2663-4970-8923-6039bf6f82df :: true

deleteNodes 1.021s
2021-06-24 22:41:41 |

2021-06-24 22:41:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:41 | ------------------------------------

2021-06-24 22:41:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-783b991f-2663-4970-8923-6039bf6f82df</node></data>

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

2021-06-24 22:41:42 | [Mutex] waiting for: [received:nodes:73cc03be-538c-40c4-86da-030c50d4c675:localhost]

2021-06-24 22:41:42 | [Mutex] waiting for: [received:nodes:73cc03be-538c-40c4-86da-030c50d4c675:localhost]

2021-06-24 22:41:42 | [Mutex] received everything.

2021-06-24 22:41:42 | [Mutex] isItemNotified: received:node:73cc03be-538c-40c4-86da-030c50d4c675:localhost:node-783b991f-2663-4970-8923-6039bf6f82df:Node 783b991f-2663-4970-8923-6039bf6f82df :: false

deleteSubnodes 1.136s
2021-06-24 22:41:40 |

2021-06-24 22:41:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:40 | ------------------------------------

2021-06-24 22:41:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301</node></data>

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

2021-06-24 22:41:41 | [Mutex] waiting for: [received:nodes:e1c5632a-89e5-4edf-93dd-e6fef2578ecc:localhost]

2021-06-24 22:41:41 | [Mutex] waiting for: [received:nodes:e1c5632a-89e5-4edf-93dd-e6fef2578ecc:localhost]

2021-06-24 22:41:41 | [Mutex] received everything.

2021-06-24 22:41:41 | [Mutex] isItemNotified: received:node:e1c5632a-89e5-4edf-93dd-e6fef2578ecc:localhost:node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301:Node 6d407ba1-b2ed-47c6-b8bd-3b7015ffe301 :: false

2021-06-24 22:41:41 | [Mutex] waiting for: [received:nodes:2190cf75-310d-41a4-9c81-a4824c9a3480:localhost]

2021-06-24 22:41:41 | [Mutex] received everything.

2021-06-24 22:41:41 | [Mutex] isItemNotified: received:node:2190cf75-310d-41a4-9c81-a4824c9a3480:localhost:node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301:Node 6d407ba1-b2ed-47c6-b8bd-3b7015ffe301 :: false

publishItemsToNodes 0.251s
2021-06-24 22:41:38 |

2021-06-24 22:41:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:38 | ------------------------------------

2021-06-24 22:41:38 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301</node><item-id>item-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f</item-id><entry><test>item-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f</test></entry></data>

2021-06-24 22:41:38 | 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-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f</value></item-id></result>

2021-06-24 22:41:38 | [Mutex] received everything.

2021-06-24 22:41:38 | [Mutex] isItemNotified: published:item:notifieditem-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f:admin@test-domain.com :: true

retractItemsFromNodes 0.196s
2021-06-24 22:41:38 |

2021-06-24 22:41:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:38 | ------------------------------------

2021-06-24 22:41:38 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301</node><item-id>item-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f</item-id></data>

2021-06-24 22:41:38 | 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-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f</value></item-id></result>

2021-06-24 22:41:38 | [Mutex] waiting for: [retracted:item:notifieditem-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f:admin@test-domain.com]

2021-06-24 22:41:38 | [Mutex] received everything.

2021-06-24 22:41:38 | [Mutex] isItemNotified: retracted:item:notifieditem-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.310s
2021-06-24 22:41:38 |

2021-06-24 22:41:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:38 | ------------------------------------

2021-06-24 22:41:38 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301</node><item-id>item-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f</item-id></data>

2021-06-24 22:41:38 | 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-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301</value></node><item-id label="Item ID" type="text-single"><value>item-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f</value></item-id><item label="Item" type="text-multi"><value><item id="item-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f"><test>item-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f</test></item></value></item></result>

2021-06-24 22:41:38 | [Mutex] notify: [retrieved:item:item-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f:payload-matches:true:localhost]

2021-06-24 22:41:38 | [Mutex] received everything.

2021-06-24 22:41:38 | [Mutex] isItemNotified: retrieved:item:item-9f506674-8f5f-4a6b-a62d-7fa1c5c02f2f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-06-24 22:41:38 |

2021-06-24 22:41:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:38 | ------------------------------------

2021-06-24 22:41:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-24 22:41:38 | 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-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301</value><value>node-783b991f-2663-4970-8923-6039bf6f82df</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-06-24 22:41:38 |

2021-06-24 22:41:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:38 | ------------------------------------

2021-06-24 22:41:38 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301)</node-pattern></data>

2021-06-24 22:41:38 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.235s
2021-06-24 22:41:36 |

2021-06-24 22:41:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:36 | ------------------------------------

2021-06-24 22:41:36 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-24 22:41:37 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.370s
2021-06-24 22:41:38 |

2021-06-24 22:41:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-24 22:41:38 | ------------------------------------

2021-06-24 22:41:38 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6d407ba1-b2ed-47c6-b8bd-3b7015ffe301</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-24 22:41:39 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>