Generated by TestNG with ReportNG at 22:13 PDT on Wednesday 21 April 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.061s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.138s
2021-04-21 22:30:15 |

2021-04-21 22:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:15 | ------------------------------------

2021-04-21 22:30:16 | [Mutex] waiting for: [configured:node:node-7602fb04-6192-42c6-9a3f-2f0834401a7f:node-4a138f76-a0d6-4c42-9b80-8e5bdc786e28]

2021-04-21 22:30:16 | [Mutex] received everything.

2021-04-21 22:30:16 | [Mutex] isItemNotified: configured:node:node-7602fb04-6192-42c6-9a3f-2f0834401a7f:node-4a138f76-a0d6-4c42-9b80-8e5bdc786e28 :: true

2021-04-21 22:30:17 | [Mutex] waiting for: [received:nodes:970e826b-a470-4f54-927b-ee7c11625f59:localhost]

2021-04-21 22:30:17 | [Mutex] received everything.

2021-04-21 22:30:17 | [Mutex] isItemNotified: received:node:970e826b-a470-4f54-927b-ee7c11625f59:localhost:node-7602fb04-6192-42c6-9a3f-2f0834401a7f:Node 7602fb04-6192-42c6-9a3f-2f0834401a7f :: true

2021-04-21 22:30:17 | [Mutex] waiting for: [received:nodes:c358b5eb-1ed4-42d7-ab67-db4b0d9630e6:localhost]

2021-04-21 22:30:17 | [Mutex] received everything.

2021-04-21 22:30:17 | [Mutex] isItemNotified: received:node:c358b5eb-1ed4-42d7-ab67-db4b0d9630e6:localhost:node-7602fb04-6192-42c6-9a3f-2f0834401a7f:Node 7602fb04-6192-42c6-9a3f-2f0834401a7f :: false

createNodes 1.430s
2021-04-21 22:30:13 |

2021-04-21 22:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:13 | ------------------------------------

2021-04-21 22:30:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7602fb04-6192-42c6-9a3f-2f0834401a7f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7602fb04-6192-42c6-9a3f-2f0834401a7f</title></pubsub></data>

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

2021-04-21 22:30:14 | [Mutex] waiting for: [received:nodes:c86fd241-c87f-411f-95e8-edcee29ba798:localhost]

2021-04-21 22:30:14 | [Mutex] received everything.

2021-04-21 22:30:14 | [Mutex] isItemNotified: received:node:c86fd241-c87f-411f-95e8-edcee29ba798:localhost:node-7602fb04-6192-42c6-9a3f-2f0834401a7f:Node 7602fb04-6192-42c6-9a3f-2f0834401a7f :: true

createSubnodes 1.038s
2021-04-21 22:30:14 |

2021-04-21 22:30:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:14 | ------------------------------------

2021-04-21 22:30:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4a138f76-a0d6-4c42-9b80-8e5bdc786e28</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4a138f76-a0d6-4c42-9b80-8e5bdc786e28</title></pubsub></data>

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

2021-04-21 22:30:15 | [Mutex] waiting for: [received:nodes:e4864ae0-9d96-4c13-aa93-e096337df85c:localhost]

2021-04-21 22:30:15 | [Mutex] received everything.

2021-04-21 22:30:15 | [Mutex] isItemNotified: received:node:e4864ae0-9d96-4c13-aa93-e096337df85c:localhost:node-4a138f76-a0d6-4c42-9b80-8e5bdc786e28:Node 4a138f76-a0d6-4c42-9b80-8e5bdc786e28 :: true

deleteNodes 1.019s
2021-04-21 22:30:21 |

2021-04-21 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:21 | ------------------------------------

2021-04-21 22:30:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4a138f76-a0d6-4c42-9b80-8e5bdc786e28</node></data>

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

2021-04-21 22:30:22 | [Mutex] waiting for: [received:nodes:2be0e367-019f-402f-92e6-54eabfd31b38:localhost]

2021-04-21 22:30:22 | [Mutex] received everything.

2021-04-21 22:30:22 | [Mutex] isItemNotified: received:node:2be0e367-019f-402f-92e6-54eabfd31b38:localhost:node-4a138f76-a0d6-4c42-9b80-8e5bdc786e28:Node 4a138f76-a0d6-4c42-9b80-8e5bdc786e28 :: false

deleteSubnodes 1.160s
2021-04-21 22:30:20 |

2021-04-21 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:20 | ------------------------------------

2021-04-21 22:30:20 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7602fb04-6192-42c6-9a3f-2f0834401a7f</node></data>

2021-04-21 22:30:20 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-21 22:30:21 | [Mutex] waiting for: [received:nodes:8e3f092f-aa17-4860-a1bf-a05a7d1bf33e:localhost]

2021-04-21 22:30:21 | [Mutex] waiting for: [received:nodes:8e3f092f-aa17-4860-a1bf-a05a7d1bf33e:localhost]

2021-04-21 22:30:21 | [Mutex] waiting for: [received:nodes:8e3f092f-aa17-4860-a1bf-a05a7d1bf33e:localhost]

2021-04-21 22:30:21 | [Mutex] received everything.

2021-04-21 22:30:21 | [Mutex] isItemNotified: received:node:8e3f092f-aa17-4860-a1bf-a05a7d1bf33e:localhost:node-7602fb04-6192-42c6-9a3f-2f0834401a7f:Node 7602fb04-6192-42c6-9a3f-2f0834401a7f :: false

2021-04-21 22:30:21 | [Mutex] waiting for: [received:nodes:b4e0baca-010f-4958-8766-1b5650591b05:localhost]

2021-04-21 22:30:21 | [Mutex] received everything.

2021-04-21 22:30:21 | [Mutex] isItemNotified: received:node:b4e0baca-010f-4958-8766-1b5650591b05:localhost:node-7602fb04-6192-42c6-9a3f-2f0834401a7f:Node 7602fb04-6192-42c6-9a3f-2f0834401a7f :: false

publishItemsToNodes 0.180s
2021-04-21 22:30:18 |

2021-04-21 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:18 | ------------------------------------

2021-04-21 22:30:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7602fb04-6192-42c6-9a3f-2f0834401a7f</node><item-id>item-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3</item-id><entry><test>item-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3</test></entry></data>

2021-04-21 22:30:18 | 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-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3</value></item-id></result>

2021-04-21 22:30:18 | [Mutex] received everything.

2021-04-21 22:30:18 | [Mutex] isItemNotified: published:item:notifieditem-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2021-04-21 22:30:18 |

2021-04-21 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:18 | ------------------------------------

2021-04-21 22:30:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7602fb04-6192-42c6-9a3f-2f0834401a7f</node><item-id>item-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3</item-id></data>

2021-04-21 22:30:19 | 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-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3</value></item-id></result>

2021-04-21 22:30:19 | [Mutex] received everything.

2021-04-21 22:30:19 | [Mutex] isItemNotified: retracted:item:notifieditem-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.387s
2021-04-21 22:30:18 |

2021-04-21 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:18 | ------------------------------------

2021-04-21 22:30:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7602fb04-6192-42c6-9a3f-2f0834401a7f</node><item-id>item-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3</item-id></data>

2021-04-21 22:30:18 | 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-7602fb04-6192-42c6-9a3f-2f0834401a7f</value></node><item-id type="text-single" label="Item ID"><value>item-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3</value></item-id><item type="text-multi" label="Item"><value><item id="item-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3"><test>item-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3</test></item></value></item></result>

2021-04-21 22:30:18 | [Mutex] notify: [retrieved:item:item-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3:payload-matches:true:localhost]

2021-04-21 22:30:18 | [Mutex] received everything.

2021-04-21 22:30:18 | [Mutex] isItemNotified: retrieved:item:item-1e7924ed-307c-4fb5-8ab9-ecf102a7f3d3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-04-21 22:30:18 |

2021-04-21 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:18 | ------------------------------------

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

2021-04-21 22:30:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-7602fb04-6192-42c6-9a3f-2f0834401a7f</value><value>test</value><value>node-4a138f76-a0d6-4c42-9b80-8e5bdc786e28</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-04-21 22:30:18 |

2021-04-21 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:18 | ------------------------------------

2021-04-21 22:30:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7602fb04-6192-42c6-9a3f-2f0834401a7f)</node-pattern></data>

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

subscribeNodes 1.154s
2021-04-21 22:30:17 |

2021-04-21 22:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:17 | ------------------------------------

2021-04-21 22:30:17 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7602fb04-6192-42c6-9a3f-2f0834401a7f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-21 22:30:17 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.267s
2021-04-21 22:30:19 |

2021-04-21 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-21 22:30:19 | ------------------------------------

2021-04-21 22:30:19 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7602fb04-6192-42c6-9a3f-2f0834401a7f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-21 22:30:19 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>