Generated by TestNG with ReportNG at 21:51 PST on Monday 18 January 2021
root@43fec6d4badf / 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 : 9.929s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.132s
2021-01-18 22:09:23 |

2021-01-18 22:09:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:23 | ------------------------------------

2021-01-18 22:09:23 | [Mutex] waiting for: [configured:node:node-daaabb24-25b3-4173-9476-1cce275a64e1:node-3610a8ab-cb8f-4a4c-bea8-3e7043b8eb29]

2021-01-18 22:09:23 | [Mutex] received everything.

2021-01-18 22:09:23 | [Mutex] isItemNotified: configured:node:node-daaabb24-25b3-4173-9476-1cce275a64e1:node-3610a8ab-cb8f-4a4c-bea8-3e7043b8eb29 :: true

2021-01-18 22:09:24 | [Mutex] waiting for: [received:nodes:50619adb-ac33-4e81-b4d4-1af353803336:localhost]

2021-01-18 22:09:24 | [Mutex] received everything.

2021-01-18 22:09:24 | [Mutex] isItemNotified: received:node:50619adb-ac33-4e81-b4d4-1af353803336:localhost:node-daaabb24-25b3-4173-9476-1cce275a64e1:Node daaabb24-25b3-4173-9476-1cce275a64e1 :: true

2021-01-18 22:09:24 | [Mutex] waiting for: [received:nodes:1f3780e8-bbed-4753-9a8a-294a4368ea0f:localhost]

2021-01-18 22:09:24 | [Mutex] received everything.

2021-01-18 22:09:24 | [Mutex] isItemNotified: received:node:1f3780e8-bbed-4753-9a8a-294a4368ea0f:localhost:node-daaabb24-25b3-4173-9476-1cce275a64e1:Node daaabb24-25b3-4173-9476-1cce275a64e1 :: false

createNodes 1.435s
2021-01-18 22:09:20 |

2021-01-18 22:09:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:20 | ------------------------------------

2021-01-18 22:09:20 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-daaabb24-25b3-4173-9476-1cce275a64e1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node daaabb24-25b3-4173-9476-1cce275a64e1</title></pubsub></data>

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

2021-01-18 22:09:22 | [Mutex] waiting for: [received:nodes:b8bb406d-07e6-4522-8d41-79e24687545c:localhost]

2021-01-18 22:09:22 | [Mutex] received everything.

2021-01-18 22:09:22 | [Mutex] isItemNotified: received:node:b8bb406d-07e6-4522-8d41-79e24687545c:localhost:node-daaabb24-25b3-4173-9476-1cce275a64e1:Node daaabb24-25b3-4173-9476-1cce275a64e1 :: true

createSubnodes 1.028s
2021-01-18 22:09:22 |

2021-01-18 22:09:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:22 | ------------------------------------

2021-01-18 22:09:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3610a8ab-cb8f-4a4c-bea8-3e7043b8eb29</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3610a8ab-cb8f-4a4c-bea8-3e7043b8eb29</title></pubsub></data>

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

2021-01-18 22:09:23 | [Mutex] waiting for: [received:nodes:f98c40f5-c9e1-478d-bee6-dbf3f8ba6b70:localhost]

2021-01-18 22:09:23 | [Mutex] received everything.

2021-01-18 22:09:23 | [Mutex] isItemNotified: received:node:f98c40f5-c9e1-478d-bee6-dbf3f8ba6b70:localhost:node-3610a8ab-cb8f-4a4c-bea8-3e7043b8eb29:Node 3610a8ab-cb8f-4a4c-bea8-3e7043b8eb29 :: true

deleteNodes 1.022s
2021-01-18 22:09:28 |

2021-01-18 22:09:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:28 | ------------------------------------

2021-01-18 22:09:28 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3610a8ab-cb8f-4a4c-bea8-3e7043b8eb29</node></data>

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

2021-01-18 22:09:29 | [Mutex] waiting for: [received:nodes:2e9c0690-af47-4114-a80e-2f034a8c566e:localhost]

2021-01-18 22:09:29 | [Mutex] received everything.

2021-01-18 22:09:29 | [Mutex] isItemNotified: received:node:2e9c0690-af47-4114-a80e-2f034a8c566e:localhost:node-3610a8ab-cb8f-4a4c-bea8-3e7043b8eb29:Node 3610a8ab-cb8f-4a4c-bea8-3e7043b8eb29 :: false

deleteSubnodes 1.123s
2021-01-18 22:09:27 |

2021-01-18 22:09:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:27 | ------------------------------------

2021-01-18 22:09:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-daaabb24-25b3-4173-9476-1cce275a64e1</node></data>

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

2021-01-18 22:09:28 | [Mutex] waiting for: [received:nodes:e887549a-0eff-4214-8a16-4e8353999b75:localhost]

2021-01-18 22:09:28 | [Mutex] waiting for: [received:nodes:e887549a-0eff-4214-8a16-4e8353999b75:localhost]

2021-01-18 22:09:28 | [Mutex] received everything.

2021-01-18 22:09:28 | [Mutex] isItemNotified: received:node:e887549a-0eff-4214-8a16-4e8353999b75:localhost:node-daaabb24-25b3-4173-9476-1cce275a64e1:Node daaabb24-25b3-4173-9476-1cce275a64e1 :: false

2021-01-18 22:09:28 | [Mutex] waiting for: [received:nodes:7f78a0c0-6592-4120-9a28-51b0540b9116:localhost]

2021-01-18 22:09:28 | [Mutex] received everything.

2021-01-18 22:09:28 | [Mutex] isItemNotified: received:node:7f78a0c0-6592-4120-9a28-51b0540b9116:localhost:node-daaabb24-25b3-4173-9476-1cce275a64e1:Node daaabb24-25b3-4173-9476-1cce275a64e1 :: false

publishItemsToNodes 0.189s
2021-01-18 22:09:25 |

2021-01-18 22:09:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:25 | ------------------------------------

2021-01-18 22:09:25 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-daaabb24-25b3-4173-9476-1cce275a64e1</node><item-id>item-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2</item-id><entry><test>item-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2</test></entry></data>

2021-01-18 22:09:25 | 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-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2</value></item-id></result>

2021-01-18 22:09:25 | [Mutex] waiting for: [published:item:notifieditem-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2:admin@test-domain.com]

2021-01-18 22:09:25 | [Mutex] received everything.

2021-01-18 22:09:25 | [Mutex] isItemNotified: published:item:notifieditem-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2:admin@test-domain.com :: true

retractItemsFromNodes 0.379s
2021-01-18 22:09:25 |

2021-01-18 22:09:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:25 | ------------------------------------

2021-01-18 22:09:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-daaabb24-25b3-4173-9476-1cce275a64e1</node><item-id>item-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2</item-id></data>

2021-01-18 22:09:26 | 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-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2</value></item-id></result>

2021-01-18 22:09:26 | [Mutex] waiting for: [retracted:item:notifieditem-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2:admin@test-domain.com]

2021-01-18 22:09:26 | [Mutex] received everything.

2021-01-18 22:09:26 | [Mutex] isItemNotified: retracted:item:notifieditem-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2021-01-18 22:09:25 |

2021-01-18 22:09:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:25 | ------------------------------------

2021-01-18 22:09:25 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-daaabb24-25b3-4173-9476-1cce275a64e1</node><item-id>item-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2</item-id></data>

2021-01-18 22:09:25 | 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-daaabb24-25b3-4173-9476-1cce275a64e1</value></node><item-id label="Item ID" type="text-single"><value>item-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2</value></item-id><item label="Item" type="text-multi"><value><item id="item-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2"><test>item-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2</test></item></value></item></result>

2021-01-18 22:09:25 | [Mutex] notify: [retrieved:item:item-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2:payload-matches:true:localhost]

2021-01-18 22:09:25 | [Mutex] received everything.

2021-01-18 22:09:25 | [Mutex] isItemNotified: retrieved:item:item-1fc2b6c1-2985-4e8f-8f2b-2b634484bfa2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-01-18 22:09:25 |

2021-01-18 22:09:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:25 | ------------------------------------

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

2021-01-18 22:09:25 | 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-3610a8ab-cb8f-4a4c-bea8-3e7043b8eb29</value><value>node-daaabb24-25b3-4173-9476-1cce275a64e1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-01-18 22:09:25 |

2021-01-18 22:09:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:25 | ------------------------------------

2021-01-18 22:09:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-daaabb24-25b3-4173-9476-1cce275a64e1)</node-pattern></data>

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

subscribeNodes 1.105s
2021-01-18 22:09:24 |

2021-01-18 22:09:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:24 | ------------------------------------

2021-01-18 22:09:24 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-daaabb24-25b3-4173-9476-1cce275a64e1</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.197s
2021-01-18 22:09:26 |

2021-01-18 22:09:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 22:09:26 | ------------------------------------

2021-01-18 22:09:26 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-daaabb24-25b3-4173-9476-1cce275a64e1</node><jids><value>admin@test-domain.com</value></jids></data>

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