Generated by TestNG with ReportNG at 21:18 PST on Sunday 17 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 : 10.116s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2021-01-17 21:34:52 |

2021-01-17 21:34:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:52 | ------------------------------------

2021-01-17 21:34:52 | [Mutex] waiting for: [configured:node:node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd:node-4acc74ae-041b-4fce-8a8f-ad53f1999154]

2021-01-17 21:34:52 | [Mutex] received everything.

2021-01-17 21:34:52 | [Mutex] isItemNotified: configured:node:node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd:node-4acc74ae-041b-4fce-8a8f-ad53f1999154 :: true

2021-01-17 21:34:53 | [Mutex] waiting for: [received:nodes:be3b568d-5840-4ed5-8eec-47bd4dd1988a:localhost]

2021-01-17 21:34:53 | [Mutex] received everything.

2021-01-17 21:34:53 | [Mutex] isItemNotified: received:node:be3b568d-5840-4ed5-8eec-47bd4dd1988a:localhost:node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd:Node 59e52bbc-ab49-47ad-b0f5-d7b32ef792fd :: true

2021-01-17 21:34:53 | [Mutex] waiting for: [received:nodes:b3f51368-66d3-4f4a-a1e3-11d9d790daa3:localhost]

2021-01-17 21:34:53 | [Mutex] received everything.

2021-01-17 21:34:53 | [Mutex] isItemNotified: received:node:b3f51368-66d3-4f4a-a1e3-11d9d790daa3:localhost:node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd:Node 59e52bbc-ab49-47ad-b0f5-d7b32ef792fd :: false

createNodes 1.563s
2021-01-17 21:34:49 |

2021-01-17 21:34:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:49 | ------------------------------------

2021-01-17 21:34:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 59e52bbc-ab49-47ad-b0f5-d7b32ef792fd</title></pubsub></data>

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

2021-01-17 21:34:51 | [Mutex] waiting for: [received:nodes:3c6bb42e-1393-4495-941a-36c3e09e293b:localhost]

2021-01-17 21:34:51 | [Mutex] received everything.

2021-01-17 21:34:51 | [Mutex] isItemNotified: received:node:3c6bb42e-1393-4495-941a-36c3e09e293b:localhost:node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd:Node 59e52bbc-ab49-47ad-b0f5-d7b32ef792fd :: true

createSubnodes 1.026s
2021-01-17 21:34:51 |

2021-01-17 21:34:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:51 | ------------------------------------

2021-01-17 21:34:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4acc74ae-041b-4fce-8a8f-ad53f1999154</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4acc74ae-041b-4fce-8a8f-ad53f1999154</title></pubsub></data>

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

2021-01-17 21:34:52 | [Mutex] waiting for: [received:nodes:36ca8210-b445-4fea-9eb4-878e6441ee1e:localhost]

2021-01-17 21:34:52 | [Mutex] waiting for: [received:nodes:36ca8210-b445-4fea-9eb4-878e6441ee1e:localhost]

2021-01-17 21:34:52 | [Mutex] received everything.

2021-01-17 21:34:52 | [Mutex] isItemNotified: received:node:36ca8210-b445-4fea-9eb4-878e6441ee1e:localhost:node-4acc74ae-041b-4fce-8a8f-ad53f1999154:Node 4acc74ae-041b-4fce-8a8f-ad53f1999154 :: true

deleteNodes 1.024s
2021-01-17 21:34:57 |

2021-01-17 21:34:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:57 | ------------------------------------

2021-01-17 21:34:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4acc74ae-041b-4fce-8a8f-ad53f1999154</node></data>

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

2021-01-17 21:34:58 | [Mutex] waiting for: [received:nodes:5469d76c-a675-4f8e-bfee-128d1cfd40b9:localhost]

2021-01-17 21:34:58 | [Mutex] waiting for: [received:nodes:5469d76c-a675-4f8e-bfee-128d1cfd40b9:localhost]

2021-01-17 21:34:58 | [Mutex] received everything.

2021-01-17 21:34:58 | [Mutex] isItemNotified: received:node:5469d76c-a675-4f8e-bfee-128d1cfd40b9:localhost:node-4acc74ae-041b-4fce-8a8f-ad53f1999154:Node 4acc74ae-041b-4fce-8a8f-ad53f1999154 :: false

deleteSubnodes 1.139s
2021-01-17 21:34:56 |

2021-01-17 21:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:56 | ------------------------------------

2021-01-17 21:34:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd</node></data>

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

2021-01-17 21:34:57 | [Mutex] waiting for: [received:nodes:95410f37-cb13-498e-bd93-ff7797c0e587:localhost]

2021-01-17 21:34:57 | [Mutex] received everything.

2021-01-17 21:34:57 | [Mutex] isItemNotified: received:node:95410f37-cb13-498e-bd93-ff7797c0e587:localhost:node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd:Node 59e52bbc-ab49-47ad-b0f5-d7b32ef792fd :: false

2021-01-17 21:34:57 | [Mutex] waiting for: [received:nodes:783fb140-c91c-443a-a77b-b8dca0f4c474:localhost]

2021-01-17 21:34:57 | [Mutex] received everything.

2021-01-17 21:34:57 | [Mutex] isItemNotified: received:node:783fb140-c91c-443a-a77b-b8dca0f4c474:localhost:node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd:Node 59e52bbc-ab49-47ad-b0f5-d7b32ef792fd :: false

publishItemsToNodes 0.225s
2021-01-17 21:34:54 |

2021-01-17 21:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:54 | ------------------------------------

2021-01-17 21:34:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd</node><item-id>item-581966f5-84a8-438c-9c28-1ea2fbf3fc98</item-id><entry><test>item-581966f5-84a8-438c-9c28-1ea2fbf3fc98</test></entry></data>

2021-01-17 21:34:54 | 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-581966f5-84a8-438c-9c28-1ea2fbf3fc98</value></item-id></result>

2021-01-17 21:34:54 | [Mutex] received everything.

2021-01-17 21:34:54 | [Mutex] isItemNotified: published:item:notifieditem-581966f5-84a8-438c-9c28-1ea2fbf3fc98:admin@test-domain.com :: true

retractItemsFromNodes 0.364s
2021-01-17 21:34:55 |

2021-01-17 21:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:55 | ------------------------------------

2021-01-17 21:34:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd</node><item-id>item-581966f5-84a8-438c-9c28-1ea2fbf3fc98</item-id></data>

2021-01-17 21:34:55 | 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-581966f5-84a8-438c-9c28-1ea2fbf3fc98</value></item-id></result>

2021-01-17 21:34:55 | [Mutex] waiting for: [retracted:item:notifieditem-581966f5-84a8-438c-9c28-1ea2fbf3fc98:admin@test-domain.com]

2021-01-17 21:34:55 | [Mutex] received everything.

2021-01-17 21:34:55 | [Mutex] isItemNotified: retracted:item:notifieditem-581966f5-84a8-438c-9c28-1ea2fbf3fc98:admin@test-domain.com :: true

retrieveItemsFromNodes 0.277s
2021-01-17 21:34:54 |

2021-01-17 21:34:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:54 | ------------------------------------

2021-01-17 21:34:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd</node><item-id>item-581966f5-84a8-438c-9c28-1ea2fbf3fc98</item-id></data>

2021-01-17 21:34:55 | 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-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd</value></node><item-id type="text-single" label="Item ID"><value>item-581966f5-84a8-438c-9c28-1ea2fbf3fc98</value></item-id><item type="text-multi" label="Item"><value><item id="item-581966f5-84a8-438c-9c28-1ea2fbf3fc98"><test>item-581966f5-84a8-438c-9c28-1ea2fbf3fc98</test></item></value></item></result>

2021-01-17 21:34:55 | [Mutex] notify: [retrieved:item:item-581966f5-84a8-438c-9c28-1ea2fbf3fc98:payload-matches:true:localhost]

2021-01-17 21:34:55 | [Mutex] received everything.

2021-01-17 21:34:55 | [Mutex] isItemNotified: retrieved:item:item-581966f5-84a8-438c-9c28-1ea2fbf3fc98:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-17 21:34:55 |

2021-01-17 21:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:55 | ------------------------------------

2021-01-17 21:34:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-17 21:34:55 | 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-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd</value><value>node-4acc74ae-041b-4fce-8a8f-ad53f1999154</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-01-17 21:34:55 |

2021-01-17 21:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:55 | ------------------------------------

2021-01-17 21:34:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd)</node-pattern></data>

2021-01-17 21:34:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.110s
2021-01-17 21:34:53 |

2021-01-17 21:34:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:53 | ------------------------------------

2021-01-17 21:34:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.232s
2021-01-17 21:34:55 |

2021-01-17 21:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-17 21:34:55 | ------------------------------------

2021-01-17 21:34:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-59e52bbc-ab49-47ad-b0f5-d7b32ef792fd</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-17 21:34:55 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>