Generated by TestNG with ReportNG at 23:31 PDT on Thursday 17 September 2020
root@f53a97fae7d2 / 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.165s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2020-09-17 23:50:42 |

2020-09-17 23:50:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:42 | ------------------------------------

2020-09-17 23:50:42 | [Mutex] waiting for: [configured:node:node-516cd99c-c270-472b-b4e8-838aa5e39dc1:node-376de72e-e5dd-4873-99b9-219bd6728051]

2020-09-17 23:50:42 | [Mutex] received everything.

2020-09-17 23:50:42 | [Mutex] isItemNotified: configured:node:node-516cd99c-c270-472b-b4e8-838aa5e39dc1:node-376de72e-e5dd-4873-99b9-219bd6728051 :: true

2020-09-17 23:50:43 | [Mutex] waiting for: [received:nodes:940826c1-20b3-47c7-bbbb-47ed7adb0d88:localhost]

2020-09-17 23:50:43 | [Mutex] received everything.

2020-09-17 23:50:43 | [Mutex] isItemNotified: received:node:940826c1-20b3-47c7-bbbb-47ed7adb0d88:localhost:node-516cd99c-c270-472b-b4e8-838aa5e39dc1:Node 516cd99c-c270-472b-b4e8-838aa5e39dc1 :: true

2020-09-17 23:50:43 | [Mutex] waiting for: [received:nodes:0424a1fb-ce10-415c-a04e-63ed8f6e44c4:localhost]

2020-09-17 23:50:43 | [Mutex] received everything.

2020-09-17 23:50:43 | [Mutex] isItemNotified: received:node:0424a1fb-ce10-415c-a04e-63ed8f6e44c4:localhost:node-516cd99c-c270-472b-b4e8-838aa5e39dc1:Node 516cd99c-c270-472b-b4e8-838aa5e39dc1 :: false

createNodes 1.472s
2020-09-17 23:50:40 |

2020-09-17 23:50:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:40 | ------------------------------------

2020-09-17 23:50:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-516cd99c-c270-472b-b4e8-838aa5e39dc1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 516cd99c-c270-472b-b4e8-838aa5e39dc1</title></pubsub></data>

2020-09-17 23:50:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-17 23:50:41 | [Mutex] waiting for: [received:nodes:f0a0ecae-4e28-445f-afa7-56abbe3eb3bc:localhost]

2020-09-17 23:50:41 | [Mutex] received everything.

2020-09-17 23:50:41 | [Mutex] isItemNotified: received:node:f0a0ecae-4e28-445f-afa7-56abbe3eb3bc:localhost:node-516cd99c-c270-472b-b4e8-838aa5e39dc1:Node 516cd99c-c270-472b-b4e8-838aa5e39dc1 :: true

createSubnodes 1.024s
2020-09-17 23:50:41 |

2020-09-17 23:50:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:41 | ------------------------------------

2020-09-17 23:50:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-376de72e-e5dd-4873-99b9-219bd6728051</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 376de72e-e5dd-4873-99b9-219bd6728051</title></pubsub></data>

2020-09-17 23:50:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-17 23:50:42 | [Mutex] waiting for: [received:nodes:4c1e6aea-91d6-486f-b19a-2a6c1bf4343b:localhost]

2020-09-17 23:50:42 | [Mutex] received everything.

2020-09-17 23:50:42 | [Mutex] isItemNotified: received:node:4c1e6aea-91d6-486f-b19a-2a6c1bf4343b:localhost:node-376de72e-e5dd-4873-99b9-219bd6728051:Node 376de72e-e5dd-4873-99b9-219bd6728051 :: true

deleteNodes 1.022s
2020-09-17 23:50:48 |

2020-09-17 23:50:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:48 | ------------------------------------

2020-09-17 23:50:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-376de72e-e5dd-4873-99b9-219bd6728051</node></data>

2020-09-17 23:50:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-17 23:50:49 | [Mutex] waiting for: [received:nodes:4bdf2335-54de-46a0-8d64-608109583bf4:localhost]

2020-09-17 23:50:49 | [Mutex] received everything.

2020-09-17 23:50:49 | [Mutex] isItemNotified: received:node:4bdf2335-54de-46a0-8d64-608109583bf4:localhost:node-376de72e-e5dd-4873-99b9-219bd6728051:Node 376de72e-e5dd-4873-99b9-219bd6728051 :: false

deleteSubnodes 1.155s
2020-09-17 23:50:47 |

2020-09-17 23:50:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:47 | ------------------------------------

2020-09-17 23:50:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-516cd99c-c270-472b-b4e8-838aa5e39dc1</node></data>

2020-09-17 23:50:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-17 23:50:48 | [Mutex] waiting for: [received:nodes:88456b89-47ca-4890-b732-a2b85f563851:localhost]

2020-09-17 23:50:48 | [Mutex] received everything.

2020-09-17 23:50:48 | [Mutex] isItemNotified: received:node:88456b89-47ca-4890-b732-a2b85f563851:localhost:node-516cd99c-c270-472b-b4e8-838aa5e39dc1:Node 516cd99c-c270-472b-b4e8-838aa5e39dc1 :: false

2020-09-17 23:50:48 | [Mutex] waiting for: [received:nodes:af2bf37f-6c61-41d9-a452-155026d6bd58:localhost]

2020-09-17 23:50:48 | [Mutex] received everything.

2020-09-17 23:50:48 | [Mutex] isItemNotified: received:node:af2bf37f-6c61-41d9-a452-155026d6bd58:localhost:node-516cd99c-c270-472b-b4e8-838aa5e39dc1:Node 516cd99c-c270-472b-b4e8-838aa5e39dc1 :: false

publishItemsToNodes 0.308s
2020-09-17 23:50:45 |

2020-09-17 23:50:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:45 | ------------------------------------

2020-09-17 23:50:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-516cd99c-c270-472b-b4e8-838aa5e39dc1</node><item-id>item-4211ef3b-dd65-4708-8eaa-2bfde8635e3e</item-id><entry><test>item-4211ef3b-dd65-4708-8eaa-2bfde8635e3e</test></entry></data>

2020-09-17 23:50:45 | 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-4211ef3b-dd65-4708-8eaa-2bfde8635e3e</value></item-id></result>

2020-09-17 23:50:45 | [Mutex] waiting for: [published:item:notifieditem-4211ef3b-dd65-4708-8eaa-2bfde8635e3e:admin@test-domain.com]

2020-09-17 23:50:45 | [Mutex] received everything.

2020-09-17 23:50:45 | [Mutex] isItemNotified: published:item:notifieditem-4211ef3b-dd65-4708-8eaa-2bfde8635e3e:admin@test-domain.com :: true

retractItemsFromNodes 0.331s
2020-09-17 23:50:45 |

2020-09-17 23:50:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:45 | ------------------------------------

2020-09-17 23:50:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-516cd99c-c270-472b-b4e8-838aa5e39dc1</node><item-id>item-4211ef3b-dd65-4708-8eaa-2bfde8635e3e</item-id></data>

2020-09-17 23:50:46 | 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-4211ef3b-dd65-4708-8eaa-2bfde8635e3e</value></item-id></result>

2020-09-17 23:50:46 | [Mutex] received everything.

2020-09-17 23:50:46 | [Mutex] isItemNotified: retracted:item:notifieditem-4211ef3b-dd65-4708-8eaa-2bfde8635e3e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.244s
2020-09-17 23:50:45 |

2020-09-17 23:50:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:45 | ------------------------------------

2020-09-17 23:50:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-516cd99c-c270-472b-b4e8-838aa5e39dc1</node><item-id>item-4211ef3b-dd65-4708-8eaa-2bfde8635e3e</item-id></data>

2020-09-17 23:50:45 | 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-516cd99c-c270-472b-b4e8-838aa5e39dc1</value></node><item-id type="text-single" label="Item ID"><value>item-4211ef3b-dd65-4708-8eaa-2bfde8635e3e</value></item-id><item type="text-multi" label="Item"><value><item id="item-4211ef3b-dd65-4708-8eaa-2bfde8635e3e"><test>item-4211ef3b-dd65-4708-8eaa-2bfde8635e3e</test></item></value></item></result>

2020-09-17 23:50:45 | [Mutex] notify: [retrieved:item:item-4211ef3b-dd65-4708-8eaa-2bfde8635e3e:payload-matches:true:localhost]

2020-09-17 23:50:45 | [Mutex] received everything.

2020-09-17 23:50:45 | [Mutex] isItemNotified: retrieved:item:item-4211ef3b-dd65-4708-8eaa-2bfde8635e3e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2020-09-17 23:50:45 |

2020-09-17 23:50:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:45 | ------------------------------------

2020-09-17 23:50:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-17 23:50:45 | 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-516cd99c-c270-472b-b4e8-838aa5e39dc1</value><value>node-376de72e-e5dd-4873-99b9-219bd6728051</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-17 23:50:45 |

2020-09-17 23:50:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:45 | ------------------------------------

2020-09-17 23:50: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-516cd99c-c270-472b-b4e8-838aa5e39dc1)</node-pattern></data>

2020-09-17 23:50:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.174s
2020-09-17 23:50:43 |

2020-09-17 23:50:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:43 | ------------------------------------

2020-09-17 23:50:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-516cd99c-c270-472b-b4e8-838aa5e39dc1</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-17 23:50: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.203s
2020-09-17 23:50:46 |

2020-09-17 23:50:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-17 23:50:46 | ------------------------------------

2020-09-17 23:50:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-516cd99c-c270-472b-b4e8-838aa5e39dc1</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-17 23:50:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>