Generated by TestNG with ReportNG at 22:23 PDT on Wednesday 01 June 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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.675s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2022-06-01 22:37:39 |

2022-06-01 22:37:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:39 | ------------------------------------

2022-06-01 22:37:39 | [Mutex] waiting for: [configured:node:node-840f4af5-a050-4ef7-9cb5-98209a28a19a:node-43187b2b-6eff-4aab-8590-b787e4ab5760]

2022-06-01 22:37:39 | [Mutex] received everything.

2022-06-01 22:37:39 | [Mutex] isItemNotified: configured:node:node-840f4af5-a050-4ef7-9cb5-98209a28a19a:node-43187b2b-6eff-4aab-8590-b787e4ab5760 :: true

2022-06-01 22:37:40 | [Mutex] waiting for: [received:nodes:84f7b512-cf44-4216-993c-e95a27a2ef55:localhost]

2022-06-01 22:37:40 | [Mutex] received everything.

2022-06-01 22:37:40 | [Mutex] isItemNotified: received:node:84f7b512-cf44-4216-993c-e95a27a2ef55:localhost:node-840f4af5-a050-4ef7-9cb5-98209a28a19a:Node 840f4af5-a050-4ef7-9cb5-98209a28a19a :: true

2022-06-01 22:37:40 | [Mutex] waiting for: [received:nodes:ca2ab801-6465-4869-a46d-1afc55df7115:localhost]

2022-06-01 22:37:40 | [Mutex] received everything.

2022-06-01 22:37:40 | [Mutex] isItemNotified: received:node:ca2ab801-6465-4869-a46d-1afc55df7115:localhost:node-840f4af5-a050-4ef7-9cb5-98209a28a19a:Node 840f4af5-a050-4ef7-9cb5-98209a28a19a :: false

createNodes 1.515s
2022-06-01 22:37:37 |

2022-06-01 22:37:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:37 | ------------------------------------

2022-06-01 22:37:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-840f4af5-a050-4ef7-9cb5-98209a28a19a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 840f4af5-a050-4ef7-9cb5-98209a28a19a</title></pubsub></data>

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

2022-06-01 22:37:38 | [Mutex] waiting for: [received:nodes:2a7c3005-c380-485a-bb4d-a1b706a087c8:localhost]

2022-06-01 22:37:38 | [Mutex] received everything.

2022-06-01 22:37:38 | [Mutex] isItemNotified: received:node:2a7c3005-c380-485a-bb4d-a1b706a087c8:localhost:node-840f4af5-a050-4ef7-9cb5-98209a28a19a:Node 840f4af5-a050-4ef7-9cb5-98209a28a19a :: true

createSubnodes 1.026s
2022-06-01 22:37:38 |

2022-06-01 22:37:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:38 | ------------------------------------

2022-06-01 22:37:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-43187b2b-6eff-4aab-8590-b787e4ab5760</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 43187b2b-6eff-4aab-8590-b787e4ab5760</title></pubsub></data>

2022-06-01 22:37:38 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-01 22:37:39 | [Mutex] waiting for: [received:nodes:7f2acd51-099f-452b-b488-cf7bff4396c0:localhost]

2022-06-01 22:37:39 | [Mutex] received everything.

2022-06-01 22:37:39 | [Mutex] isItemNotified: received:node:7f2acd51-099f-452b-b488-cf7bff4396c0:localhost:node-43187b2b-6eff-4aab-8590-b787e4ab5760:Node 43187b2b-6eff-4aab-8590-b787e4ab5760 :: true

deleteNodes 1.018s
2022-06-01 22:37:45 |

2022-06-01 22:37:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:45 | ------------------------------------

2022-06-01 22:37:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-43187b2b-6eff-4aab-8590-b787e4ab5760</node></data>

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

2022-06-01 22:37:46 | [Mutex] waiting for: [received:nodes:a49b2d20-5228-4c7c-bcf7-677b9993fc86:localhost]

2022-06-01 22:37:46 | [Mutex] received everything.

2022-06-01 22:37:46 | [Mutex] isItemNotified: received:node:a49b2d20-5228-4c7c-bcf7-677b9993fc86:localhost:node-43187b2b-6eff-4aab-8590-b787e4ab5760:Node 43187b2b-6eff-4aab-8590-b787e4ab5760 :: false

deleteSubnodes 1.145s
2022-06-01 22:37:44 |

2022-06-01 22:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:44 | ------------------------------------

2022-06-01 22:37:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-840f4af5-a050-4ef7-9cb5-98209a28a19a</node></data>

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

2022-06-01 22:37:45 | [Mutex] waiting for: [received:nodes:b1f6a39a-bf64-49f5-b032-b768886fd1c1:localhost]

2022-06-01 22:37:45 | [Mutex] received everything.

2022-06-01 22:37:45 | [Mutex] isItemNotified: received:node:b1f6a39a-bf64-49f5-b032-b768886fd1c1:localhost:node-840f4af5-a050-4ef7-9cb5-98209a28a19a:Node 840f4af5-a050-4ef7-9cb5-98209a28a19a :: false

2022-06-01 22:37:45 | [Mutex] waiting for: [received:nodes:c508a821-a083-4642-a375-003a62450729:localhost]

2022-06-01 22:37:45 | [Mutex] received everything.

2022-06-01 22:37:45 | [Mutex] isItemNotified: received:node:c508a821-a083-4642-a375-003a62450729:localhost:node-840f4af5-a050-4ef7-9cb5-98209a28a19a:Node 840f4af5-a050-4ef7-9cb5-98209a28a19a :: false

publishItemsToNodes 0.223s
2022-06-01 22:37:42 |

2022-06-01 22:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:42 | ------------------------------------

2022-06-01 22:37:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-840f4af5-a050-4ef7-9cb5-98209a28a19a</node><item-id>item-01847f18-a59c-4b14-9030-08f43bd54020</item-id><entry><test>item-01847f18-a59c-4b14-9030-08f43bd54020</test></entry></data>

2022-06-01 22:37:42 | 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-01847f18-a59c-4b14-9030-08f43bd54020</value></item-id></result>

2022-06-01 22:37:42 | [Mutex] waiting for: [published:item:notifieditem-01847f18-a59c-4b14-9030-08f43bd54020:admin@test-domain.com]

2022-06-01 22:37:42 | [Mutex] received everything.

2022-06-01 22:37:42 | [Mutex] isItemNotified: published:item:notifieditem-01847f18-a59c-4b14-9030-08f43bd54020:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2022-06-01 22:37:42 |

2022-06-01 22:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:42 | ------------------------------------

2022-06-01 22:37:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-840f4af5-a050-4ef7-9cb5-98209a28a19a</node><item-id>item-01847f18-a59c-4b14-9030-08f43bd54020</item-id></data>

2022-06-01 22:37:42 | 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-01847f18-a59c-4b14-9030-08f43bd54020</value></item-id></result>

2022-06-01 22:37:42 | [Mutex] received everything.

2022-06-01 22:37:42 | [Mutex] isItemNotified: retracted:item:notifieditem-01847f18-a59c-4b14-9030-08f43bd54020:admin@test-domain.com :: true

retrieveItemsFromNodes 0.273s
2022-06-01 22:37:42 |

2022-06-01 22:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:42 | ------------------------------------

2022-06-01 22:37:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-840f4af5-a050-4ef7-9cb5-98209a28a19a</node><item-id>item-01847f18-a59c-4b14-9030-08f43bd54020</item-id></data>

2022-06-01 22:37:42 | 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-840f4af5-a050-4ef7-9cb5-98209a28a19a</value></node><item-id label="Item ID" type="text-single"><value>item-01847f18-a59c-4b14-9030-08f43bd54020</value></item-id><item label="Item" type="text-multi"><value><item id="item-01847f18-a59c-4b14-9030-08f43bd54020"><test>item-01847f18-a59c-4b14-9030-08f43bd54020</test></item></value></item></result>

2022-06-01 22:37:42 | [Mutex] notify: [retrieved:item:item-01847f18-a59c-4b14-9030-08f43bd54020:payload-matches:true:localhost]

2022-06-01 22:37:42 | [Mutex] received everything.

2022-06-01 22:37:42 | [Mutex] isItemNotified: retrieved:item:item-01847f18-a59c-4b14-9030-08f43bd54020:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-01 22:37:42 |

2022-06-01 22:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:42 | ------------------------------------

2022-06-01 22:37:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-01 22:37:42 | 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-43187b2b-6eff-4aab-8590-b787e4ab5760</value><value>node-840f4af5-a050-4ef7-9cb5-98209a28a19a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.056s
2022-06-01 22:37:42 |

2022-06-01 22:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:42 | ------------------------------------

2022-06-01 22:37:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-840f4af5-a050-4ef7-9cb5-98209a28a19a)</node-pattern></data>

2022-06-01 22:37:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.150s
2022-06-01 22:37:40 |

2022-06-01 22:37:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:40 | ------------------------------------

2022-06-01 22:37:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-840f4af5-a050-4ef7-9cb5-98209a28a19a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.223s
2022-06-01 22:37:42 |

2022-06-01 22:37:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 22:37:42 | ------------------------------------

2022-06-01 22:37:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-840f4af5-a050-4ef7-9cb5-98209a28a19a</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-01 22:37:43 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>