Generated by TestNG with ReportNG at 22:15 PDT on Sunday 09 May 2021
root@b2c2a8eba6e6 / 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.251s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.080s
2021-05-09 22:33:47 |

2021-05-09 22:33:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:47 | ------------------------------------

2021-05-09 22:33:47 | [Mutex] waiting for: [configured:node:node-70bbfa20-09f2-4d72-aed9-99826f69a716:node-8350e3eb-68de-4f42-a767-5fc99ce7f888]

2021-05-09 22:33:47 | [Mutex] received everything.

2021-05-09 22:33:47 | [Mutex] isItemNotified: configured:node:node-70bbfa20-09f2-4d72-aed9-99826f69a716:node-8350e3eb-68de-4f42-a767-5fc99ce7f888 :: true

2021-05-09 22:33:48 | [Mutex] waiting for: [received:nodes:f14e6aab-b6c0-455e-9213-54339ffdad3f:localhost]

2021-05-09 22:33:48 | [Mutex] received everything.

2021-05-09 22:33:48 | [Mutex] isItemNotified: received:node:f14e6aab-b6c0-455e-9213-54339ffdad3f:localhost:node-70bbfa20-09f2-4d72-aed9-99826f69a716:Node 70bbfa20-09f2-4d72-aed9-99826f69a716 :: true

2021-05-09 22:33:48 | [Mutex] waiting for: [received:nodes:8542c242-4719-496f-9340-fcca36693270:localhost]

2021-05-09 22:33:48 | [Mutex] received everything.

2021-05-09 22:33:48 | [Mutex] isItemNotified: received:node:8542c242-4719-496f-9340-fcca36693270:localhost:node-70bbfa20-09f2-4d72-aed9-99826f69a716:Node 70bbfa20-09f2-4d72-aed9-99826f69a716 :: false

createNodes 1.517s
2021-05-09 22:33:45 |

2021-05-09 22:33:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:45 | ------------------------------------

2021-05-09 22:33:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-70bbfa20-09f2-4d72-aed9-99826f69a716</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 70bbfa20-09f2-4d72-aed9-99826f69a716</title></pubsub></data>

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

2021-05-09 22:33:46 | [Mutex] waiting for: [received:nodes:a31a0e59-c0c1-4671-9a35-5f1d57be27ca:localhost]

2021-05-09 22:33:46 | [Mutex] received everything.

2021-05-09 22:33:46 | [Mutex] isItemNotified: received:node:a31a0e59-c0c1-4671-9a35-5f1d57be27ca:localhost:node-70bbfa20-09f2-4d72-aed9-99826f69a716:Node 70bbfa20-09f2-4d72-aed9-99826f69a716 :: true

createSubnodes 1.024s
2021-05-09 22:33:46 |

2021-05-09 22:33:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:46 | ------------------------------------

2021-05-09 22:33:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8350e3eb-68de-4f42-a767-5fc99ce7f888</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8350e3eb-68de-4f42-a767-5fc99ce7f888</title></pubsub></data>

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

2021-05-09 22:33:47 | [Mutex] waiting for: [received:nodes:df89f0d3-05f7-4182-a122-1e381b22d979:localhost]

2021-05-09 22:33:47 | [Mutex] received everything.

2021-05-09 22:33:47 | [Mutex] isItemNotified: received:node:df89f0d3-05f7-4182-a122-1e381b22d979:localhost:node-8350e3eb-68de-4f42-a767-5fc99ce7f888:Node 8350e3eb-68de-4f42-a767-5fc99ce7f888 :: true

deleteNodes 1.017s
2021-05-09 22:33:53 |

2021-05-09 22:33:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:53 | ------------------------------------

2021-05-09 22:33:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8350e3eb-68de-4f42-a767-5fc99ce7f888</node></data>

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

2021-05-09 22:33:54 | [Mutex] waiting for: [received:nodes:1100dc06-06d5-4424-a910-21bd7901dc8c:localhost]

2021-05-09 22:33:54 | [Mutex] received everything.

2021-05-09 22:33:54 | [Mutex] isItemNotified: received:node:1100dc06-06d5-4424-a910-21bd7901dc8c:localhost:node-8350e3eb-68de-4f42-a767-5fc99ce7f888:Node 8350e3eb-68de-4f42-a767-5fc99ce7f888 :: false

deleteSubnodes 1.138s
2021-05-09 22:33:52 |

2021-05-09 22:33:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:52 | ------------------------------------

2021-05-09 22:33:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-70bbfa20-09f2-4d72-aed9-99826f69a716</node></data>

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

2021-05-09 22:33:53 | [Mutex] waiting for: [received:nodes:950d08ff-9e1b-4fd5-a5b3-81a640866fed:localhost]

2021-05-09 22:33:53 | [Mutex] received everything.

2021-05-09 22:33:53 | [Mutex] isItemNotified: received:node:950d08ff-9e1b-4fd5-a5b3-81a640866fed:localhost:node-70bbfa20-09f2-4d72-aed9-99826f69a716:Node 70bbfa20-09f2-4d72-aed9-99826f69a716 :: false

2021-05-09 22:33:53 | [Mutex] waiting for: [received:nodes:3ba1fd12-15b6-4a74-91f9-6403dd502408:localhost]

2021-05-09 22:33:53 | [Mutex] received everything.

2021-05-09 22:33:53 | [Mutex] isItemNotified: received:node:3ba1fd12-15b6-4a74-91f9-6403dd502408:localhost:node-70bbfa20-09f2-4d72-aed9-99826f69a716:Node 70bbfa20-09f2-4d72-aed9-99826f69a716 :: false

publishItemsToNodes 0.214s
2021-05-09 22:33:50 |

2021-05-09 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:50 | ------------------------------------

2021-05-09 22:33:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-70bbfa20-09f2-4d72-aed9-99826f69a716</node><item-id>item-36c51f39-3c1f-48a8-8999-84de6abc7d4f</item-id><entry><test>item-36c51f39-3c1f-48a8-8999-84de6abc7d4f</test></entry></data>

2021-05-09 22:33:50 | 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-36c51f39-3c1f-48a8-8999-84de6abc7d4f</value></item-id></result>

2021-05-09 22:33:50 | [Mutex] received everything.

2021-05-09 22:33:50 | [Mutex] isItemNotified: published:item:notifieditem-36c51f39-3c1f-48a8-8999-84de6abc7d4f:admin@test-domain.com :: true

retractItemsFromNodes 0.203s
2021-05-09 22:33:50 |

2021-05-09 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:50 | ------------------------------------

2021-05-09 22:33:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-70bbfa20-09f2-4d72-aed9-99826f69a716</node><item-id>item-36c51f39-3c1f-48a8-8999-84de6abc7d4f</item-id></data>

2021-05-09 22:33:50 | 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-36c51f39-3c1f-48a8-8999-84de6abc7d4f</value></item-id></result>

2021-05-09 22:33:50 | [Mutex] received everything.

2021-05-09 22:33:50 | [Mutex] isItemNotified: retracted:item:notifieditem-36c51f39-3c1f-48a8-8999-84de6abc7d4f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.283s
2021-05-09 22:33:50 |

2021-05-09 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:50 | ------------------------------------

2021-05-09 22:33:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-70bbfa20-09f2-4d72-aed9-99826f69a716</node><item-id>item-36c51f39-3c1f-48a8-8999-84de6abc7d4f</item-id></data>

2021-05-09 22:33:50 | 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-70bbfa20-09f2-4d72-aed9-99826f69a716</value></node><item-id label="Item ID" type="text-single"><value>item-36c51f39-3c1f-48a8-8999-84de6abc7d4f</value></item-id><item label="Item" type="text-multi"><value><item id="item-36c51f39-3c1f-48a8-8999-84de6abc7d4f"><test>item-36c51f39-3c1f-48a8-8999-84de6abc7d4f</test></item></value></item></result>

2021-05-09 22:33:50 | [Mutex] notify: [retrieved:item:item-36c51f39-3c1f-48a8-8999-84de6abc7d4f:payload-matches:true:localhost]

2021-05-09 22:33:50 | [Mutex] received everything.

2021-05-09 22:33:50 | [Mutex] isItemNotified: retrieved:item:item-36c51f39-3c1f-48a8-8999-84de6abc7d4f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-09 22:33:50 |

2021-05-09 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:50 | ------------------------------------

2021-05-09 22:33:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-09 22:33:50 | 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-70bbfa20-09f2-4d72-aed9-99826f69a716</value><value>node-8350e3eb-68de-4f42-a767-5fc99ce7f888</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2021-05-09 22:33:50 |

2021-05-09 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:50 | ------------------------------------

2021-05-09 22:33:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-70bbfa20-09f2-4d72-aed9-99826f69a716)</node-pattern></data>

2021-05-09 22:33:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.220s
2021-05-09 22:33:48 |

2021-05-09 22:33:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:48 | ------------------------------------

2021-05-09 22:33:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-70bbfa20-09f2-4d72-aed9-99826f69a716</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-09 22:33:49 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.399s
2021-05-09 22:33:50 |

2021-05-09 22:33:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-09 22:33:50 | ------------------------------------

2021-05-09 22:33:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-70bbfa20-09f2-4d72-aed9-99826f69a716</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-09 22:33:51 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>