Generated by TestNG with ReportNG at 21:18 PST on Wednesday 16 February 2022
root@785cf647a4ab / 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.706s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.156s
2022-02-16 21:33:33 |

2022-02-16 21:33:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:33 | ------------------------------------

2022-02-16 21:33:33 | [Mutex] waiting for: [configured:node:node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76:node-cee3aac8-2ceb-4bc6-882e-214df818df18]

2022-02-16 21:33:33 | [Mutex] received everything.

2022-02-16 21:33:33 | [Mutex] isItemNotified: configured:node:node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76:node-cee3aac8-2ceb-4bc6-882e-214df818df18 :: true

2022-02-16 21:33:34 | [Mutex] waiting for: [received:nodes:68b0041e-0562-404b-baef-bfd8611bea3b:localhost]

2022-02-16 21:33:34 | [Mutex] received everything.

2022-02-16 21:33:34 | [Mutex] isItemNotified: received:node:68b0041e-0562-404b-baef-bfd8611bea3b:localhost:node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76:Node 66fa56b1-fc0f-40ee-b75b-5b59272dcf76 :: true

2022-02-16 21:33:34 | [Mutex] waiting for: [received:nodes:3f290145-c7fe-49d1-a761-a09cf06d4df9:localhost]

2022-02-16 21:33:34 | [Mutex] received everything.

2022-02-16 21:33:34 | [Mutex] isItemNotified: received:node:3f290145-c7fe-49d1-a761-a09cf06d4df9:localhost:node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76:Node 66fa56b1-fc0f-40ee-b75b-5b59272dcf76 :: false

createNodes 1.816s
2022-02-16 21:33:30 |

2022-02-16 21:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:30 | ------------------------------------

2022-02-16 21:33:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 66fa56b1-fc0f-40ee-b75b-5b59272dcf76</title></pubsub></data>

2022-02-16 21:33:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 21:33:32 | [Mutex] waiting for: [received:nodes:22d81fbe-eea5-441d-8567-876e2c5b137b:localhost]

2022-02-16 21:33:32 | [Mutex] received everything.

2022-02-16 21:33:32 | [Mutex] isItemNotified: received:node:22d81fbe-eea5-441d-8567-876e2c5b137b:localhost:node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76:Node 66fa56b1-fc0f-40ee-b75b-5b59272dcf76 :: true

createSubnodes 1.036s
2022-02-16 21:33:32 |

2022-02-16 21:33:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:32 | ------------------------------------

2022-02-16 21:33:32 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-cee3aac8-2ceb-4bc6-882e-214df818df18</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cee3aac8-2ceb-4bc6-882e-214df818df18</title></pubsub></data>

2022-02-16 21:33:32 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 21:33:33 | [Mutex] waiting for: [received:nodes:cab354aa-aa5a-445f-b5e5-c3a15a55b2c4:localhost]

2022-02-16 21:33:33 | [Mutex] received everything.

2022-02-16 21:33:33 | [Mutex] isItemNotified: received:node:cab354aa-aa5a-445f-b5e5-c3a15a55b2c4:localhost:node-cee3aac8-2ceb-4bc6-882e-214df818df18:Node cee3aac8-2ceb-4bc6-882e-214df818df18 :: true

deleteNodes 1.026s
2022-02-16 21:33:39 |

2022-02-16 21:33:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:39 | ------------------------------------

2022-02-16 21:33:39 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-cee3aac8-2ceb-4bc6-882e-214df818df18</node></data>

2022-02-16 21:33:39 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 21:33:40 | [Mutex] waiting for: [received:nodes:dd45b1ff-dbb1-4c2e-a6fe-da0fdef58bb6:localhost]

2022-02-16 21:33:40 | [Mutex] received everything.

2022-02-16 21:33:40 | [Mutex] isItemNotified: received:node:dd45b1ff-dbb1-4c2e-a6fe-da0fdef58bb6:localhost:node-cee3aac8-2ceb-4bc6-882e-214df818df18:Node cee3aac8-2ceb-4bc6-882e-214df818df18 :: false

deleteSubnodes 1.157s
2022-02-16 21:33:38 |

2022-02-16 21:33:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:38 | ------------------------------------

2022-02-16 21:33:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76</node></data>

2022-02-16 21:33:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-16 21:33:39 | [Mutex] waiting for: [received:nodes:c7cc9c73-e5d3-41bd-838d-0f19a52cd77e:localhost]

2022-02-16 21:33:39 | [Mutex] received everything.

2022-02-16 21:33:39 | [Mutex] isItemNotified: received:node:c7cc9c73-e5d3-41bd-838d-0f19a52cd77e:localhost:node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76:Node 66fa56b1-fc0f-40ee-b75b-5b59272dcf76 :: false

2022-02-16 21:33:39 | [Mutex] waiting for: [received:nodes:1f30137c-8af8-4279-916e-0461002072c4:localhost]

2022-02-16 21:33:39 | [Mutex] received everything.

2022-02-16 21:33:39 | [Mutex] isItemNotified: received:node:1f30137c-8af8-4279-916e-0461002072c4:localhost:node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76:Node 66fa56b1-fc0f-40ee-b75b-5b59272dcf76 :: false

publishItemsToNodes 0.279s
2022-02-16 21:33:36 |

2022-02-16 21:33:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:36 | ------------------------------------

2022-02-16 21:33:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76</node><item-id>item-1214846a-0111-4fcb-acc3-50ea52a3549d</item-id><entry><test>item-1214846a-0111-4fcb-acc3-50ea52a3549d</test></entry></data>

2022-02-16 21:33:36 | 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-1214846a-0111-4fcb-acc3-50ea52a3549d</value></item-id></result>

2022-02-16 21:33:36 | [Mutex] received everything.

2022-02-16 21:33:36 | [Mutex] isItemNotified: published:item:notifieditem-1214846a-0111-4fcb-acc3-50ea52a3549d:admin@test-domain.com :: true

retractItemsFromNodes 0.299s
2022-02-16 21:33:36 |

2022-02-16 21:33:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:36 | ------------------------------------

2022-02-16 21:33:36 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76</node><item-id>item-1214846a-0111-4fcb-acc3-50ea52a3549d</item-id></data>

2022-02-16 21:33:37 | 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-1214846a-0111-4fcb-acc3-50ea52a3549d</value></item-id></result>

2022-02-16 21:33:37 | [Mutex] waiting for: [retracted:item:notifieditem-1214846a-0111-4fcb-acc3-50ea52a3549d:admin@test-domain.com]

2022-02-16 21:33:37 | [Mutex] received everything.

2022-02-16 21:33:37 | [Mutex] isItemNotified: retracted:item:notifieditem-1214846a-0111-4fcb-acc3-50ea52a3549d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.361s
2022-02-16 21:33:36 |

2022-02-16 21:33:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:36 | ------------------------------------

2022-02-16 21:33:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76</node><item-id>item-1214846a-0111-4fcb-acc3-50ea52a3549d</item-id></data>

2022-02-16 21:33:36 | 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-66fa56b1-fc0f-40ee-b75b-5b59272dcf76</value></node><item-id label="Item ID" type="text-single"><value>item-1214846a-0111-4fcb-acc3-50ea52a3549d</value></item-id><item label="Item" type="text-multi"><value><item id="item-1214846a-0111-4fcb-acc3-50ea52a3549d"><test>item-1214846a-0111-4fcb-acc3-50ea52a3549d</test></item></value></item></result>

2022-02-16 21:33:36 | [Mutex] notify: [retrieved:item:item-1214846a-0111-4fcb-acc3-50ea52a3549d:payload-matches:true:localhost]

2022-02-16 21:33:36 | [Mutex] received everything.

2022-02-16 21:33:36 | [Mutex] isItemNotified: retrieved:item:item-1214846a-0111-4fcb-acc3-50ea52a3549d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-16 21:33:36 |

2022-02-16 21:33:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:36 | ------------------------------------

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

2022-02-16 21:33:36 | 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-66fa56b1-fc0f-40ee-b75b-5b59272dcf76</value><value>node-cee3aac8-2ceb-4bc6-882e-214df818df18</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-16 21:33:36 |

2022-02-16 21:33:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:36 | ------------------------------------

2022-02-16 21:33:36 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76)</node-pattern></data>

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

subscribeNodes 1.194s
2022-02-16 21:33:34 |

2022-02-16 21:33:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:34 | ------------------------------------

2022-02-16 21:33:34 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-16 21:33:35 | 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
2022-02-16 21:33:37 |

2022-02-16 21:33:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-16 21:33:37 | ------------------------------------

2022-02-16 21:33:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-66fa56b1-fc0f-40ee-b75b-5b59272dcf76</node><jids><value>admin@test-domain.com</value></jids></data>

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