Generated by TestNG with ReportNG at 21:18 PST on Thursday 10 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.524s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2022-02-10 21:32:24 |

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

2022-02-10 21:32:24 | ------------------------------------

2022-02-10 21:32:24 | [Mutex] waiting for: [configured:node:node-347402c6-e8ba-4a20-9c27-7e03240246fc:node-4ac6d372-d1b3-406d-a560-e74fb5dabcab]

2022-02-10 21:32:24 | [Mutex] received everything.

2022-02-10 21:32:24 | [Mutex] isItemNotified: configured:node:node-347402c6-e8ba-4a20-9c27-7e03240246fc:node-4ac6d372-d1b3-406d-a560-e74fb5dabcab :: true

2022-02-10 21:32:25 | [Mutex] waiting for: [received:nodes:cd17d136-14d8-450c-a451-f38b62d6611b:localhost]

2022-02-10 21:32:25 | [Mutex] received everything.

2022-02-10 21:32:25 | [Mutex] isItemNotified: received:node:cd17d136-14d8-450c-a451-f38b62d6611b:localhost:node-347402c6-e8ba-4a20-9c27-7e03240246fc:Node 347402c6-e8ba-4a20-9c27-7e03240246fc :: true

2022-02-10 21:32:25 | [Mutex] waiting for: [received:nodes:4df3d156-6a8a-40fd-9373-392a46644368:localhost]

2022-02-10 21:32:25 | [Mutex] received everything.

2022-02-10 21:32:25 | [Mutex] isItemNotified: received:node:4df3d156-6a8a-40fd-9373-392a46644368:localhost:node-347402c6-e8ba-4a20-9c27-7e03240246fc:Node 347402c6-e8ba-4a20-9c27-7e03240246fc :: false

createNodes 1.733s
2022-02-10 21:32:21 |

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

2022-02-10 21:32:21 | ------------------------------------

2022-02-10 21:32:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-347402c6-e8ba-4a20-9c27-7e03240246fc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 347402c6-e8ba-4a20-9c27-7e03240246fc</title></pubsub></data>

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

2022-02-10 21:32:23 | [Mutex] waiting for: [received:nodes:fd1cfd00-b722-4c68-bdc4-870bae71f902:localhost]

2022-02-10 21:32:23 | [Mutex] received everything.

2022-02-10 21:32:23 | [Mutex] isItemNotified: received:node:fd1cfd00-b722-4c68-bdc4-870bae71f902:localhost:node-347402c6-e8ba-4a20-9c27-7e03240246fc:Node 347402c6-e8ba-4a20-9c27-7e03240246fc :: true

createSubnodes 1.045s
2022-02-10 21:32:23 |

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

2022-02-10 21:32:23 | ------------------------------------

2022-02-10 21:32:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4ac6d372-d1b3-406d-a560-e74fb5dabcab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4ac6d372-d1b3-406d-a560-e74fb5dabcab</title></pubsub></data>

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

2022-02-10 21:32:24 | [Mutex] waiting for: [received:nodes:ee492a48-6d6a-4478-afe5-9b106634d47e:localhost]

2022-02-10 21:32:24 | [Mutex] received everything.

2022-02-10 21:32:24 | [Mutex] isItemNotified: received:node:ee492a48-6d6a-4478-afe5-9b106634d47e:localhost:node-4ac6d372-d1b3-406d-a560-e74fb5dabcab:Node 4ac6d372-d1b3-406d-a560-e74fb5dabcab :: true

deleteNodes 1.018s
2022-02-10 21:32:29 |

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

2022-02-10 21:32:29 | ------------------------------------

2022-02-10 21:32:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4ac6d372-d1b3-406d-a560-e74fb5dabcab</node></data>

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

2022-02-10 21:32:30 | [Mutex] waiting for: [received:nodes:92ee806a-3218-45d4-a468-d1cda2c35eab:localhost]

2022-02-10 21:32:30 | [Mutex] received everything.

2022-02-10 21:32:30 | [Mutex] isItemNotified: received:node:92ee806a-3218-45d4-a468-d1cda2c35eab:localhost:node-4ac6d372-d1b3-406d-a560-e74fb5dabcab:Node 4ac6d372-d1b3-406d-a560-e74fb5dabcab :: false

deleteSubnodes 1.184s
2022-02-10 21:32:28 |

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

2022-02-10 21:32:28 | ------------------------------------

2022-02-10 21:32:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-347402c6-e8ba-4a20-9c27-7e03240246fc</node></data>

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

2022-02-10 21:32:29 | [Mutex] waiting for: [received:nodes:7fb7df53-3700-4938-bcab-ff779744da4b:localhost]

2022-02-10 21:32:29 | [Mutex] received everything.

2022-02-10 21:32:29 | [Mutex] isItemNotified: received:node:7fb7df53-3700-4938-bcab-ff779744da4b:localhost:node-347402c6-e8ba-4a20-9c27-7e03240246fc:Node 347402c6-e8ba-4a20-9c27-7e03240246fc :: false

2022-02-10 21:32:29 | [Mutex] waiting for: [received:nodes:adc0f8a4-2a29-4396-90ac-96a1fc7fe3f1:localhost]

2022-02-10 21:32:29 | [Mutex] received everything.

2022-02-10 21:32:29 | [Mutex] isItemNotified: received:node:adc0f8a4-2a29-4396-90ac-96a1fc7fe3f1:localhost:node-347402c6-e8ba-4a20-9c27-7e03240246fc:Node 347402c6-e8ba-4a20-9c27-7e03240246fc :: false

publishItemsToNodes 0.320s
2022-02-10 21:32:26 |

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

2022-02-10 21:32:26 | ------------------------------------

2022-02-10 21:32:26 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-347402c6-e8ba-4a20-9c27-7e03240246fc</node><item-id>item-ff965ef3-9231-4482-88eb-738ffaaac355</item-id><entry><test>item-ff965ef3-9231-4482-88eb-738ffaaac355</test></entry></data>

2022-02-10 21:32:26 | 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-ff965ef3-9231-4482-88eb-738ffaaac355</value></item-id></result>

2022-02-10 21:32:26 | [Mutex] waiting for: [published:item:notifieditem-ff965ef3-9231-4482-88eb-738ffaaac355:admin@test-domain.com]

2022-02-10 21:32:26 | [Mutex] received everything.

2022-02-10 21:32:26 | [Mutex] isItemNotified: published:item:notifieditem-ff965ef3-9231-4482-88eb-738ffaaac355:admin@test-domain.com :: true

retractItemsFromNodes 0.355s
2022-02-10 21:32:27 |

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

2022-02-10 21:32:27 | ------------------------------------

2022-02-10 21:32:27 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-347402c6-e8ba-4a20-9c27-7e03240246fc</node><item-id>item-ff965ef3-9231-4482-88eb-738ffaaac355</item-id></data>

2022-02-10 21:32:27 | 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-ff965ef3-9231-4482-88eb-738ffaaac355</value></item-id></result>

2022-02-10 21:32:27 | [Mutex] received everything.

2022-02-10 21:32:27 | [Mutex] isItemNotified: retracted:item:notifieditem-ff965ef3-9231-4482-88eb-738ffaaac355:admin@test-domain.com :: true

retrieveItemsFromNodes 0.313s
2022-02-10 21:32:26 |

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

2022-02-10 21:32:26 | ------------------------------------

2022-02-10 21:32:26 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-347402c6-e8ba-4a20-9c27-7e03240246fc</node><item-id>item-ff965ef3-9231-4482-88eb-738ffaaac355</item-id></data>

2022-02-10 21:32:27 | 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-347402c6-e8ba-4a20-9c27-7e03240246fc</value></node><item-id type="text-single" label="Item ID"><value>item-ff965ef3-9231-4482-88eb-738ffaaac355</value></item-id><item type="text-multi" label="Item"><value><item id="item-ff965ef3-9231-4482-88eb-738ffaaac355"><test>item-ff965ef3-9231-4482-88eb-738ffaaac355</test></item></value></item></result>

2022-02-10 21:32:27 | [Mutex] notify: [retrieved:item:item-ff965ef3-9231-4482-88eb-738ffaaac355:payload-matches:true:localhost]

2022-02-10 21:32:27 | [Mutex] received everything.

2022-02-10 21:32:27 | [Mutex] isItemNotified: retrieved:item:item-ff965ef3-9231-4482-88eb-738ffaaac355:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-02-10 21:32:27 |

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

2022-02-10 21:32:27 | ------------------------------------

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

2022-02-10 21:32:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-4ac6d372-d1b3-406d-a560-e74fb5dabcab</value><value>node-347402c6-e8ba-4a20-9c27-7e03240246fc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-02-10 21:32:27 |

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

2022-02-10 21:32:27 | ------------------------------------

2022-02-10 21:32:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-347402c6-e8ba-4a20-9c27-7e03240246fc)</node-pattern></data>

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

subscribeNodes 1.177s
2022-02-10 21:32:25 |

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

2022-02-10 21:32:25 | ------------------------------------

2022-02-10 21:32:25 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-347402c6-e8ba-4a20-9c27-7e03240246fc</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.251s
2022-02-10 21:32:27 |

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

2022-02-10 21:32:27 | ------------------------------------

2022-02-10 21:32:27 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-347402c6-e8ba-4a20-9c27-7e03240246fc</node><jids><value>admin@test-domain.com</value></jids></data>

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