Generated by TestNG with ReportNG at 22:50 PDT on Tuesday 12 October 2021
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.214s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.119s
2021-10-12 23:06:42 |

2021-10-12 23:06:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:42 | ------------------------------------

2021-10-12 23:06:42 | [Mutex] waiting for: [configured:node:node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e:node-f0ebc562-eb40-4a55-b146-365e02fae62d]

2021-10-12 23:06:42 | [Mutex] received everything.

2021-10-12 23:06:42 | [Mutex] isItemNotified: configured:node:node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e:node-f0ebc562-eb40-4a55-b146-365e02fae62d :: true

2021-10-12 23:06:43 | [Mutex] waiting for: [received:nodes:af73b415-44ea-4b80-8e93-a3c109f16d48:localhost]

2021-10-12 23:06:43 | [Mutex] received everything.

2021-10-12 23:06:43 | [Mutex] isItemNotified: received:node:af73b415-44ea-4b80-8e93-a3c109f16d48:localhost:node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e:Node 5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e :: true

2021-10-12 23:06:43 | [Mutex] waiting for: [received:nodes:871b0bc7-ef55-4e8f-8c01-f6bc9cc75704:localhost]

2021-10-12 23:06:43 | [Mutex] received everything.

2021-10-12 23:06:43 | [Mutex] isItemNotified: received:node:871b0bc7-ef55-4e8f-8c01-f6bc9cc75704:localhost:node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e:Node 5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e :: false

createNodes 1.585s
2021-10-12 23:06:40 |

2021-10-12 23:06:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:40 | ------------------------------------

2021-10-12 23:06:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e</title></pubsub></data>

2021-10-12 23:06:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-12 23:06:41 | [Mutex] waiting for: [received:nodes:6c05ff63-c23e-4ad2-883b-37f96ac89a42:localhost]

2021-10-12 23:06:41 | [Mutex] received everything.

2021-10-12 23:06:41 | [Mutex] isItemNotified: received:node:6c05ff63-c23e-4ad2-883b-37f96ac89a42:localhost:node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e:Node 5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e :: true

createSubnodes 1.026s
2021-10-12 23:06:41 |

2021-10-12 23:06:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:41 | ------------------------------------

2021-10-12 23:06:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f0ebc562-eb40-4a55-b146-365e02fae62d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f0ebc562-eb40-4a55-b146-365e02fae62d</title></pubsub></data>

2021-10-12 23:06:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-12 23:06:42 | [Mutex] waiting for: [received:nodes:841e6602-4196-41e9-85c9-0f82684eea9d:localhost]

2021-10-12 23:06:42 | [Mutex] received everything.

2021-10-12 23:06:42 | [Mutex] isItemNotified: received:node:841e6602-4196-41e9-85c9-0f82684eea9d:localhost:node-f0ebc562-eb40-4a55-b146-365e02fae62d:Node f0ebc562-eb40-4a55-b146-365e02fae62d :: true

deleteNodes 1.018s
2021-10-12 23:06:48 |

2021-10-12 23:06:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:48 | ------------------------------------

2021-10-12 23:06:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f0ebc562-eb40-4a55-b146-365e02fae62d</node></data>

2021-10-12 23:06:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-12 23:06:49 | [Mutex] waiting for: [received:nodes:a6b76a0b-8708-4944-b95b-7f7445470a4e:localhost]

2021-10-12 23:06:49 | [Mutex] received everything.

2021-10-12 23:06:49 | [Mutex] isItemNotified: received:node:a6b76a0b-8708-4944-b95b-7f7445470a4e:localhost:node-f0ebc562-eb40-4a55-b146-365e02fae62d:Node f0ebc562-eb40-4a55-b146-365e02fae62d :: false

deleteSubnodes 1.222s
2021-10-12 23:06:47 |

2021-10-12 23:06:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:47 | ------------------------------------

2021-10-12 23:06:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e</node></data>

2021-10-12 23:06:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-10-12 23:06:48 | [Mutex] waiting for: [received:nodes:14ce91ab-eba3-460e-afbc-ed75cd9d32bb:localhost]

2021-10-12 23:06:48 | [Mutex] received everything.

2021-10-12 23:06:48 | [Mutex] isItemNotified: received:node:14ce91ab-eba3-460e-afbc-ed75cd9d32bb:localhost:node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e:Node 5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e :: false

2021-10-12 23:06:48 | [Mutex] waiting for: [received:nodes:efadb37d-183a-4627-923b-df7e734113bf:localhost]

2021-10-12 23:06:48 | [Mutex] received everything.

2021-10-12 23:06:48 | [Mutex] isItemNotified: received:node:efadb37d-183a-4627-923b-df7e734113bf:localhost:node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e:Node 5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e :: false

publishItemsToNodes 0.303s
2021-10-12 23:06:45 |

2021-10-12 23:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:45 | ------------------------------------

2021-10-12 23:06:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e</node><item-id>item-f70ad0c6-1895-4715-807d-31aaaf398f37</item-id><entry><test>item-f70ad0c6-1895-4715-807d-31aaaf398f37</test></entry></data>

2021-10-12 23:06:45 | 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-f70ad0c6-1895-4715-807d-31aaaf398f37</value></item-id></result>

2021-10-12 23:06:45 | [Mutex] waiting for: [published:item:notifieditem-f70ad0c6-1895-4715-807d-31aaaf398f37:admin@test-domain.com]

2021-10-12 23:06:45 | [Mutex] received everything.

2021-10-12 23:06:45 | [Mutex] isItemNotified: published:item:notifieditem-f70ad0c6-1895-4715-807d-31aaaf398f37:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2021-10-12 23:06:45 |

2021-10-12 23:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:45 | ------------------------------------

2021-10-12 23:06:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e</node><item-id>item-f70ad0c6-1895-4715-807d-31aaaf398f37</item-id></data>

2021-10-12 23:06:46 | 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-f70ad0c6-1895-4715-807d-31aaaf398f37</value></item-id></result>

2021-10-12 23:06:46 | [Mutex] received everything.

2021-10-12 23:06:46 | [Mutex] isItemNotified: retracted:item:notifieditem-f70ad0c6-1895-4715-807d-31aaaf398f37:admin@test-domain.com :: true

retrieveItemsFromNodes 0.314s
2021-10-12 23:06:45 |

2021-10-12 23:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:45 | ------------------------------------

2021-10-12 23:06:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e</node><item-id>item-f70ad0c6-1895-4715-807d-31aaaf398f37</item-id></data>

2021-10-12 23:06:45 | 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-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e</value></node><item-id label="Item ID" type="text-single"><value>item-f70ad0c6-1895-4715-807d-31aaaf398f37</value></item-id><item label="Item" type="text-multi"><value><item id="item-f70ad0c6-1895-4715-807d-31aaaf398f37"><test>item-f70ad0c6-1895-4715-807d-31aaaf398f37</test></item></value></item></result>

2021-10-12 23:06:45 | [Mutex] notify: [retrieved:item:item-f70ad0c6-1895-4715-807d-31aaaf398f37:payload-matches:true:localhost]

2021-10-12 23:06:45 | [Mutex] received everything.

2021-10-12 23:06:45 | [Mutex] isItemNotified: retrieved:item:item-f70ad0c6-1895-4715-807d-31aaaf398f37:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2021-10-12 23:06:45 |

2021-10-12 23:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:45 | ------------------------------------

2021-10-12 23:06:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-10-12 23:06:45 | 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-f0ebc562-eb40-4a55-b146-365e02fae62d</value><value>node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-10-12 23:06:45 |

2021-10-12 23:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:45 | ------------------------------------

2021-10-12 23:06:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e)</node-pattern></data>

2021-10-12 23:06:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.139s
2021-10-12 23:06:43 |

2021-10-12 23:06:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:43 | ------------------------------------

2021-10-12 23:06:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-12 23:06:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.315s
2021-10-12 23:06:46 |

2021-10-12 23:06:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-10-12 23:06:46 | ------------------------------------

2021-10-12 23:06:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5f49ebf0-c5bd-49f0-b6d5-47a1c8788b3e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-10-12 23:06:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>