Generated by TestNG with ReportNG at 22:48 PDT on Tuesday 26 July 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.585s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.092s
2022-07-26 23:02:45 |

2022-07-26 23:02:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:45 | ------------------------------------

2022-07-26 23:02:45 | [Mutex] waiting for: [configured:node:node-b9e24515-528d-4172-82e0-57367c433e41:node-bc847e1d-8671-4cc0-b2bb-5d7458422ddc]

2022-07-26 23:02:45 | [Mutex] received everything.

2022-07-26 23:02:45 | [Mutex] isItemNotified: configured:node:node-b9e24515-528d-4172-82e0-57367c433e41:node-bc847e1d-8671-4cc0-b2bb-5d7458422ddc :: true

2022-07-26 23:02:46 | [Mutex] waiting for: [received:nodes:3c5b2699-8d97-429b-9b34-512f124fdeb0:localhost]

2022-07-26 23:02:46 | [Mutex] received everything.

2022-07-26 23:02:46 | [Mutex] isItemNotified: received:node:3c5b2699-8d97-429b-9b34-512f124fdeb0:localhost:node-b9e24515-528d-4172-82e0-57367c433e41:Node b9e24515-528d-4172-82e0-57367c433e41 :: true

2022-07-26 23:02:46 | [Mutex] waiting for: [received:nodes:bda02cf1-7351-4afe-a700-19f1fe2cc678:localhost]

2022-07-26 23:02:46 | [Mutex] waiting for: [received:nodes:bda02cf1-7351-4afe-a700-19f1fe2cc678:localhost]

2022-07-26 23:02:46 | [Mutex] received everything.

2022-07-26 23:02:46 | [Mutex] isItemNotified: received:node:bda02cf1-7351-4afe-a700-19f1fe2cc678:localhost:node-b9e24515-528d-4172-82e0-57367c433e41:Node b9e24515-528d-4172-82e0-57367c433e41 :: false

createNodes 1.435s
2022-07-26 23:02:42 |

2022-07-26 23:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:42 | ------------------------------------

2022-07-26 23:02:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b9e24515-528d-4172-82e0-57367c433e41</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b9e24515-528d-4172-82e0-57367c433e41</title></pubsub></data>

2022-07-26 23:02:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-26 23:02:44 | [Mutex] waiting for: [received:nodes:eb5e9b46-e007-4c77-86a5-1e26b536bb2e:localhost]

2022-07-26 23:02:44 | [Mutex] waiting for: [received:nodes:eb5e9b46-e007-4c77-86a5-1e26b536bb2e:localhost]

2022-07-26 23:02:44 | [Mutex] received everything.

2022-07-26 23:02:44 | [Mutex] isItemNotified: received:node:eb5e9b46-e007-4c77-86a5-1e26b536bb2e:localhost:node-b9e24515-528d-4172-82e0-57367c433e41:Node b9e24515-528d-4172-82e0-57367c433e41 :: true

createSubnodes 1.033s
2022-07-26 23:02:44 |

2022-07-26 23:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:44 | ------------------------------------

2022-07-26 23:02:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bc847e1d-8671-4cc0-b2bb-5d7458422ddc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bc847e1d-8671-4cc0-b2bb-5d7458422ddc</title></pubsub></data>

2022-07-26 23:02:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-26 23:02:45 | [Mutex] waiting for: [received:nodes:f3bd37f1-4f5f-4e65-bdf8-d1d1ae32300b:localhost]

2022-07-26 23:02:45 | [Mutex] waiting for: [received:nodes:f3bd37f1-4f5f-4e65-bdf8-d1d1ae32300b:localhost]

2022-07-26 23:02:45 | [Mutex] received everything.

2022-07-26 23:02:45 | [Mutex] isItemNotified: received:node:f3bd37f1-4f5f-4e65-bdf8-d1d1ae32300b:localhost:node-bc847e1d-8671-4cc0-b2bb-5d7458422ddc:Node bc847e1d-8671-4cc0-b2bb-5d7458422ddc :: true

deleteNodes 1.016s
2022-07-26 23:02:50 |

2022-07-26 23:02:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:50 | ------------------------------------

2022-07-26 23:02:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bc847e1d-8671-4cc0-b2bb-5d7458422ddc</node></data>

2022-07-26 23:02:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-26 23:02:51 | [Mutex] waiting for: [received:nodes:920295a0-45ba-4ad2-bdd4-c8d7b3208f49:localhost]

2022-07-26 23:02:51 | [Mutex] waiting for: [received:nodes:920295a0-45ba-4ad2-bdd4-c8d7b3208f49:localhost]

2022-07-26 23:02:51 | [Mutex] received everything.

2022-07-26 23:02:51 | [Mutex] isItemNotified: received:node:920295a0-45ba-4ad2-bdd4-c8d7b3208f49:localhost:node-bc847e1d-8671-4cc0-b2bb-5d7458422ddc:Node bc847e1d-8671-4cc0-b2bb-5d7458422ddc :: false

deleteSubnodes 1.123s
2022-07-26 23:02:49 |

2022-07-26 23:02:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:49 | ------------------------------------

2022-07-26 23:02:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b9e24515-528d-4172-82e0-57367c433e41</node></data>

2022-07-26 23:02:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-26 23:02:50 | [Mutex] waiting for: [received:nodes:d1e9fbfe-ff6b-476f-901b-ca72a34c7129:localhost]

2022-07-26 23:02:50 | [Mutex] waiting for: [received:nodes:d1e9fbfe-ff6b-476f-901b-ca72a34c7129:localhost]

2022-07-26 23:02:50 | [Mutex] received everything.

2022-07-26 23:02:50 | [Mutex] isItemNotified: received:node:d1e9fbfe-ff6b-476f-901b-ca72a34c7129:localhost:node-b9e24515-528d-4172-82e0-57367c433e41:Node b9e24515-528d-4172-82e0-57367c433e41 :: false

2022-07-26 23:02:50 | [Mutex] waiting for: [received:nodes:2ccddd03-5f16-48e3-8753-b1e4369ad2a5:localhost]

2022-07-26 23:02:50 | [Mutex] received everything.

2022-07-26 23:02:50 | [Mutex] isItemNotified: received:node:2ccddd03-5f16-48e3-8753-b1e4369ad2a5:localhost:node-b9e24515-528d-4172-82e0-57367c433e41:Node b9e24515-528d-4172-82e0-57367c433e41 :: false

publishItemsToNodes 0.229s
2022-07-26 23:02:47 |

2022-07-26 23:02:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:47 | ------------------------------------

2022-07-26 23:02:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b9e24515-528d-4172-82e0-57367c433e41</node><item-id>item-dfed0610-1591-40e9-8209-fa96b01f91e7</item-id><entry><test>item-dfed0610-1591-40e9-8209-fa96b01f91e7</test></entry></data>

2022-07-26 23:02:47 | 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-dfed0610-1591-40e9-8209-fa96b01f91e7</value></item-id></result>

2022-07-26 23:02:47 | [Mutex] received everything.

2022-07-26 23:02:47 | [Mutex] isItemNotified: published:item:notifieditem-dfed0610-1591-40e9-8209-fa96b01f91e7:admin@test-domain.com :: true

retractItemsFromNodes 0.323s
2022-07-26 23:02:48 |

2022-07-26 23:02:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:48 | ------------------------------------

2022-07-26 23:02:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b9e24515-528d-4172-82e0-57367c433e41</node><item-id>item-dfed0610-1591-40e9-8209-fa96b01f91e7</item-id></data>

2022-07-26 23:02:48 | 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-dfed0610-1591-40e9-8209-fa96b01f91e7</value></item-id></result>

2022-07-26 23:02:48 | [Mutex] received everything.

2022-07-26 23:02:48 | [Mutex] isItemNotified: retracted:item:notifieditem-dfed0610-1591-40e9-8209-fa96b01f91e7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.265s
2022-07-26 23:02:47 |

2022-07-26 23:02:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:47 | ------------------------------------

2022-07-26 23:02:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b9e24515-528d-4172-82e0-57367c433e41</node><item-id>item-dfed0610-1591-40e9-8209-fa96b01f91e7</item-id></data>

2022-07-26 23:02:47 | 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-b9e24515-528d-4172-82e0-57367c433e41</value></node><item-id type="text-single" label="Item ID"><value>item-dfed0610-1591-40e9-8209-fa96b01f91e7</value></item-id><item type="text-multi" label="Item"><value><item id="item-dfed0610-1591-40e9-8209-fa96b01f91e7"><test>item-dfed0610-1591-40e9-8209-fa96b01f91e7</test></item></value></item></result>

2022-07-26 23:02:47 | [Mutex] notify: [retrieved:item:item-dfed0610-1591-40e9-8209-fa96b01f91e7:payload-matches:true:localhost]

2022-07-26 23:02:47 | [Mutex] received everything.

2022-07-26 23:02:47 | [Mutex] isItemNotified: retrieved:item:item-dfed0610-1591-40e9-8209-fa96b01f91e7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-26 23:02:47 |

2022-07-26 23:02:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:47 | ------------------------------------

2022-07-26 23:02:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-26 23:02:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-bc847e1d-8671-4cc0-b2bb-5d7458422ddc</value><value>test</value><value>node-b9e24515-528d-4172-82e0-57367c433e41</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-26 23:02:47 |

2022-07-26 23:02:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:47 | ------------------------------------

2022-07-26 23:02:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b9e24515-528d-4172-82e0-57367c433e41)</node-pattern></data>

2022-07-26 23:02:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.107s
2022-07-26 23:02:46 |

2022-07-26 23:02:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:46 | ------------------------------------

2022-07-26 23:02:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b9e24515-528d-4172-82e0-57367c433e41</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-26 23:02:46 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.183s
2022-07-26 23:02:48 |

2022-07-26 23:02:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-26 23:02:48 | ------------------------------------

2022-07-26 23:02:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b9e24515-528d-4172-82e0-57367c433e41</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-26 23:02:48 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>