Generated by TestNG with ReportNG at 10:50 PDT on Friday 18 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.047s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2020-09-18 11:05:08 |

2020-09-18 11:05:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:08 | ------------------------------------

2020-09-18 11:05:08 | [Mutex] waiting for: [configured:node:node-c927d8be-3ebb-47d8-91fb-01015d7f0456:node-ea17c7f3-1186-41ba-a519-cdf2c5a87055]

2020-09-18 11:05:08 | [Mutex] received everything.

2020-09-18 11:05:08 | [Mutex] isItemNotified: configured:node:node-c927d8be-3ebb-47d8-91fb-01015d7f0456:node-ea17c7f3-1186-41ba-a519-cdf2c5a87055 :: true

2020-09-18 11:05:09 | [Mutex] waiting for: [received:nodes:61ef7f40-1952-4adf-9ff3-6a81721aa92b:localhost]

2020-09-18 11:05:09 | [Mutex] waiting for: [received:nodes:61ef7f40-1952-4adf-9ff3-6a81721aa92b:localhost]

2020-09-18 11:05:09 | [Mutex] received everything.

2020-09-18 11:05:09 | [Mutex] isItemNotified: received:node:61ef7f40-1952-4adf-9ff3-6a81721aa92b:localhost:node-c927d8be-3ebb-47d8-91fb-01015d7f0456:Node c927d8be-3ebb-47d8-91fb-01015d7f0456 :: true

2020-09-18 11:05:09 | [Mutex] waiting for: [received:nodes:b0e47427-a334-47c8-974d-945b5e873f48:localhost]

2020-09-18 11:05:09 | [Mutex] received everything.

2020-09-18 11:05:09 | [Mutex] isItemNotified: received:node:b0e47427-a334-47c8-974d-945b5e873f48:localhost:node-c927d8be-3ebb-47d8-91fb-01015d7f0456:Node c927d8be-3ebb-47d8-91fb-01015d7f0456 :: false

createNodes 1.637s
2020-09-18 11:05:05 |

2020-09-18 11:05:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:05 | ------------------------------------

2020-09-18 11:05:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c927d8be-3ebb-47d8-91fb-01015d7f0456</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c927d8be-3ebb-47d8-91fb-01015d7f0456</title></pubsub></data>

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

2020-09-18 11:05:07 | [Mutex] waiting for: [received:nodes:6c59a031-dc11-4e6d-874c-e37559a60633:localhost]

2020-09-18 11:05:07 | [Mutex] received everything.

2020-09-18 11:05:07 | [Mutex] isItemNotified: received:node:6c59a031-dc11-4e6d-874c-e37559a60633:localhost:node-c927d8be-3ebb-47d8-91fb-01015d7f0456:Node c927d8be-3ebb-47d8-91fb-01015d7f0456 :: true

createSubnodes 1.034s
2020-09-18 11:05:07 |

2020-09-18 11:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:07 | ------------------------------------

2020-09-18 11:05:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ea17c7f3-1186-41ba-a519-cdf2c5a87055</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ea17c7f3-1186-41ba-a519-cdf2c5a87055</title></pubsub></data>

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

2020-09-18 11:05:08 | [Mutex] waiting for: [received:nodes:6dbd81ae-511b-4582-8929-7f3126a51fe2:localhost]

2020-09-18 11:05:08 | [Mutex] received everything.

2020-09-18 11:05:08 | [Mutex] isItemNotified: received:node:6dbd81ae-511b-4582-8929-7f3126a51fe2:localhost:node-ea17c7f3-1186-41ba-a519-cdf2c5a87055:Node ea17c7f3-1186-41ba-a519-cdf2c5a87055 :: true

deleteNodes 1.026s
2020-09-18 11:05:13 |

2020-09-18 11:05:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:13 | ------------------------------------

2020-09-18 11:05:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ea17c7f3-1186-41ba-a519-cdf2c5a87055</node></data>

2020-09-18 11:05:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-18 11:05:14 | [Mutex] waiting for: [received:nodes:f56f0a9c-d982-448c-a8bf-2cd05d44240e:localhost]

2020-09-18 11:05:14 | [Mutex] received everything.

2020-09-18 11:05:14 | [Mutex] isItemNotified: received:node:f56f0a9c-d982-448c-a8bf-2cd05d44240e:localhost:node-ea17c7f3-1186-41ba-a519-cdf2c5a87055:Node ea17c7f3-1186-41ba-a519-cdf2c5a87055 :: false

deleteSubnodes 1.152s
2020-09-18 11:05:12 |

2020-09-18 11:05:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:12 | ------------------------------------

2020-09-18 11:05:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c927d8be-3ebb-47d8-91fb-01015d7f0456</node></data>

2020-09-18 11:05:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-18 11:05:13 | [Mutex] waiting for: [received:nodes:1fa0d53a-7244-46af-92bd-de2d34ae5b58:localhost]

2020-09-18 11:05:13 | [Mutex] received everything.

2020-09-18 11:05:13 | [Mutex] isItemNotified: received:node:1fa0d53a-7244-46af-92bd-de2d34ae5b58:localhost:node-c927d8be-3ebb-47d8-91fb-01015d7f0456:Node c927d8be-3ebb-47d8-91fb-01015d7f0456 :: false

2020-09-18 11:05:13 | [Mutex] waiting for: [received:nodes:e416a1ae-719a-4791-9e72-29b188a98131:localhost]

2020-09-18 11:05:13 | [Mutex] received everything.

2020-09-18 11:05:13 | [Mutex] isItemNotified: received:node:e416a1ae-719a-4791-9e72-29b188a98131:localhost:node-c927d8be-3ebb-47d8-91fb-01015d7f0456:Node c927d8be-3ebb-47d8-91fb-01015d7f0456 :: false

publishItemsToNodes 0.212s
2020-09-18 11:05:10 |

2020-09-18 11:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:10 | ------------------------------------

2020-09-18 11:05:10 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c927d8be-3ebb-47d8-91fb-01015d7f0456</node><item-id>item-eb38039b-091a-4210-9de8-ca282a813d43</item-id><entry><test>item-eb38039b-091a-4210-9de8-ca282a813d43</test></entry></data>

2020-09-18 11:05:10 | 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-eb38039b-091a-4210-9de8-ca282a813d43</value></item-id></result>

2020-09-18 11:05:10 | [Mutex] waiting for: [published:item:notifieditem-eb38039b-091a-4210-9de8-ca282a813d43:admin@test-domain.com]

2020-09-18 11:05:10 | [Mutex] received everything.

2020-09-18 11:05:10 | [Mutex] isItemNotified: published:item:notifieditem-eb38039b-091a-4210-9de8-ca282a813d43:admin@test-domain.com :: true

retractItemsFromNodes 0.179s
2020-09-18 11:05:11 |

2020-09-18 11:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:11 | ------------------------------------

2020-09-18 11:05:11 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c927d8be-3ebb-47d8-91fb-01015d7f0456</node><item-id>item-eb38039b-091a-4210-9de8-ca282a813d43</item-id></data>

2020-09-18 11:05:11 | 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-eb38039b-091a-4210-9de8-ca282a813d43</value></item-id></result>

2020-09-18 11:05:11 | [Mutex] received everything.

2020-09-18 11:05:11 | [Mutex] isItemNotified: retracted:item:notifieditem-eb38039b-091a-4210-9de8-ca282a813d43:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2020-09-18 11:05:10 |

2020-09-18 11:05:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:10 | ------------------------------------

2020-09-18 11:05:10 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c927d8be-3ebb-47d8-91fb-01015d7f0456</node><item-id>item-eb38039b-091a-4210-9de8-ca282a813d43</item-id></data>

2020-09-18 11:05:10 | 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-c927d8be-3ebb-47d8-91fb-01015d7f0456</value></node><item-id label="Item ID" type="text-single"><value>item-eb38039b-091a-4210-9de8-ca282a813d43</value></item-id><item label="Item" type="text-multi"><value><item id="item-eb38039b-091a-4210-9de8-ca282a813d43"><test>item-eb38039b-091a-4210-9de8-ca282a813d43</test></item></value></item></result>

2020-09-18 11:05:11 | [Mutex] notify: [retrieved:item:item-eb38039b-091a-4210-9de8-ca282a813d43:payload-matches:true:localhost]

2020-09-18 11:05:11 | [Mutex] received everything.

2020-09-18 11:05:11 | [Mutex] isItemNotified: retrieved:item:item-eb38039b-091a-4210-9de8-ca282a813d43:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-09-18 11:05:11 |

2020-09-18 11:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:11 | ------------------------------------

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

2020-09-18 11:05:11 | 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-c927d8be-3ebb-47d8-91fb-01015d7f0456</value><value>node-ea17c7f3-1186-41ba-a519-cdf2c5a87055</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-18 11:05:11 |

2020-09-18 11:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:11 | ------------------------------------

2020-09-18 11:05:11 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c927d8be-3ebb-47d8-91fb-01015d7f0456)</node-pattern></data>

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

subscribeNodes 1.141s
2020-09-18 11:05:09 |

2020-09-18 11:05:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:09 | ------------------------------------

2020-09-18 11:05:09 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c927d8be-3ebb-47d8-91fb-01015d7f0456</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.263s
2020-09-18 11:05:11 |

2020-09-18 11:05:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 11:05:11 | ------------------------------------

2020-09-18 11:05:11 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c927d8be-3ebb-47d8-91fb-01015d7f0456</node><jids><value>admin@test-domain.com</value></jids></data>

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