Generated by TestNG with ReportNG at 22:41 PDT on Thursday 29 October 2020
root@87f6aca6b6f2 / 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.346s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.137s
2020-10-29 22:59:50 |

2020-10-29 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:50 | ------------------------------------

2020-10-29 22:59:50 | [Mutex] waiting for: [configured:node:node-dbde273c-f307-42f5-9a6e-6e132c28a6ed:node-5ff89864-0942-4ed1-839d-a7cc012a9cb4]

2020-10-29 22:59:50 | [Mutex] received everything.

2020-10-29 22:59:50 | [Mutex] isItemNotified: configured:node:node-dbde273c-f307-42f5-9a6e-6e132c28a6ed:node-5ff89864-0942-4ed1-839d-a7cc012a9cb4 :: true

2020-10-29 22:59:51 | [Mutex] waiting for: [received:nodes:842b1cf7-6261-4a61-8ded-8ccf86b321ea:localhost]

2020-10-29 22:59:51 | [Mutex] received everything.

2020-10-29 22:59:51 | [Mutex] isItemNotified: received:node:842b1cf7-6261-4a61-8ded-8ccf86b321ea:localhost:node-dbde273c-f307-42f5-9a6e-6e132c28a6ed:Node dbde273c-f307-42f5-9a6e-6e132c28a6ed :: true

2020-10-29 22:59:51 | [Mutex] waiting for: [received:nodes:4da2523e-8dc4-4d84-a2f1-68ad2dbff5d0:localhost]

2020-10-29 22:59:51 | [Mutex] waiting for: [received:nodes:4da2523e-8dc4-4d84-a2f1-68ad2dbff5d0:localhost]

2020-10-29 22:59:51 | [Mutex] received everything.

2020-10-29 22:59:51 | [Mutex] isItemNotified: received:node:4da2523e-8dc4-4d84-a2f1-68ad2dbff5d0:localhost:node-dbde273c-f307-42f5-9a6e-6e132c28a6ed:Node dbde273c-f307-42f5-9a6e-6e132c28a6ed :: false

createNodes 1.477s
2020-10-29 22:59:47 |

2020-10-29 22:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:47 | ------------------------------------

2020-10-29 22:59:47 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dbde273c-f307-42f5-9a6e-6e132c28a6ed</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dbde273c-f307-42f5-9a6e-6e132c28a6ed</title></pubsub></data>

2020-10-29 22:59:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-29 22:59:49 | [Mutex] waiting for: [received:nodes:55b34432-2e8a-4616-96eb-0ed91f07a562:localhost]

2020-10-29 22:59:49 | [Mutex] received everything.

2020-10-29 22:59:49 | [Mutex] isItemNotified: received:node:55b34432-2e8a-4616-96eb-0ed91f07a562:localhost:node-dbde273c-f307-42f5-9a6e-6e132c28a6ed:Node dbde273c-f307-42f5-9a6e-6e132c28a6ed :: true

createSubnodes 1.047s
2020-10-29 22:59:49 |

2020-10-29 22:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:49 | ------------------------------------

2020-10-29 22:59:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5ff89864-0942-4ed1-839d-a7cc012a9cb4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5ff89864-0942-4ed1-839d-a7cc012a9cb4</title></pubsub></data>

2020-10-29 22:59:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-29 22:59:50 | [Mutex] waiting for: [received:nodes:a3e18a85-3e06-49e7-b953-2a12b22f85b2:localhost]

2020-10-29 22:59:50 | [Mutex] received everything.

2020-10-29 22:59:50 | [Mutex] isItemNotified: received:node:a3e18a85-3e06-49e7-b953-2a12b22f85b2:localhost:node-5ff89864-0942-4ed1-839d-a7cc012a9cb4:Node 5ff89864-0942-4ed1-839d-a7cc012a9cb4 :: true

deleteNodes 1.029s
2020-10-29 22:59:56 |

2020-10-29 22:59:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:56 | ------------------------------------

2020-10-29 22:59:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5ff89864-0942-4ed1-839d-a7cc012a9cb4</node></data>

2020-10-29 22:59:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-29 22:59:57 | [Mutex] waiting for: [received:nodes:1010e3f4-c01a-48cb-97d3-7c68ba09eb06:localhost]

2020-10-29 22:59:57 | [Mutex] waiting for: [received:nodes:1010e3f4-c01a-48cb-97d3-7c68ba09eb06:localhost]

2020-10-29 22:59:57 | [Mutex] received everything.

2020-10-29 22:59:57 | [Mutex] isItemNotified: received:node:1010e3f4-c01a-48cb-97d3-7c68ba09eb06:localhost:node-5ff89864-0942-4ed1-839d-a7cc012a9cb4:Node 5ff89864-0942-4ed1-839d-a7cc012a9cb4 :: false

deleteSubnodes 1.171s
2020-10-29 22:59:54 |

2020-10-29 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:54 | ------------------------------------

2020-10-29 22:59:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dbde273c-f307-42f5-9a6e-6e132c28a6ed</node></data>

2020-10-29 22:59:54 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-29 22:59:56 | [Mutex] waiting for: [received:nodes:3b8e278c-ce2f-4356-9609-514810400def:localhost]

2020-10-29 22:59:56 | [Mutex] waiting for: [received:nodes:3b8e278c-ce2f-4356-9609-514810400def:localhost]

2020-10-29 22:59:56 | [Mutex] received everything.

2020-10-29 22:59:56 | [Mutex] isItemNotified: received:node:3b8e278c-ce2f-4356-9609-514810400def:localhost:node-dbde273c-f307-42f5-9a6e-6e132c28a6ed:Node dbde273c-f307-42f5-9a6e-6e132c28a6ed :: false

2020-10-29 22:59:56 | [Mutex] waiting for: [received:nodes:1922594a-8b00-4490-847d-2c92144a8136:localhost]

2020-10-29 22:59:56 | [Mutex] received everything.

2020-10-29 22:59:56 | [Mutex] isItemNotified: received:node:1922594a-8b00-4490-847d-2c92144a8136:localhost:node-dbde273c-f307-42f5-9a6e-6e132c28a6ed:Node dbde273c-f307-42f5-9a6e-6e132c28a6ed :: false

publishItemsToNodes 0.251s
2020-10-29 22:59:52 |

2020-10-29 22:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:52 | ------------------------------------

2020-10-29 22:59:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dbde273c-f307-42f5-9a6e-6e132c28a6ed</node><item-id>item-980ea3ac-883e-4d84-a829-7e06a056c99f</item-id><entry><test>item-980ea3ac-883e-4d84-a829-7e06a056c99f</test></entry></data>

2020-10-29 22:59:52 | 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-980ea3ac-883e-4d84-a829-7e06a056c99f</value></item-id></result>

2020-10-29 22:59:52 | [Mutex] received everything.

2020-10-29 22:59:52 | [Mutex] isItemNotified: published:item:notifieditem-980ea3ac-883e-4d84-a829-7e06a056c99f:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2020-10-29 22:59:53 |

2020-10-29 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:53 | ------------------------------------

2020-10-29 22:59:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dbde273c-f307-42f5-9a6e-6e132c28a6ed</node><item-id>item-980ea3ac-883e-4d84-a829-7e06a056c99f</item-id></data>

2020-10-29 22:59:53 | 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-980ea3ac-883e-4d84-a829-7e06a056c99f</value></item-id></result>

2020-10-29 22:59:53 | [Mutex] received everything.

2020-10-29 22:59:53 | [Mutex] isItemNotified: retracted:item:notifieditem-980ea3ac-883e-4d84-a829-7e06a056c99f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.297s
2020-10-29 22:59:52 |

2020-10-29 22:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:52 | ------------------------------------

2020-10-29 22:59:52 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dbde273c-f307-42f5-9a6e-6e132c28a6ed</node><item-id>item-980ea3ac-883e-4d84-a829-7e06a056c99f</item-id></data>

2020-10-29 22:59:53 | 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-dbde273c-f307-42f5-9a6e-6e132c28a6ed</value></node><item-id label="Item ID" type="text-single"><value>item-980ea3ac-883e-4d84-a829-7e06a056c99f</value></item-id><item label="Item" type="text-multi"><value><item id="item-980ea3ac-883e-4d84-a829-7e06a056c99f"><test>item-980ea3ac-883e-4d84-a829-7e06a056c99f</test></item></value></item></result>

2020-10-29 22:59:53 | [Mutex] notify: [retrieved:item:item-980ea3ac-883e-4d84-a829-7e06a056c99f:payload-matches:true:localhost]

2020-10-29 22:59:53 | [Mutex] received everything.

2020-10-29 22:59:53 | [Mutex] isItemNotified: retrieved:item:item-980ea3ac-883e-4d84-a829-7e06a056c99f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.059s
2020-10-29 22:59:53 |

2020-10-29 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:53 | ------------------------------------

2020-10-29 22:59:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-29 22:59:53 | 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-dbde273c-f307-42f5-9a6e-6e132c28a6ed</value><value>node-5ff89864-0942-4ed1-839d-a7cc012a9cb4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-10-29 22:59:53 |

2020-10-29 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:53 | ------------------------------------

2020-10-29 22:59:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dbde273c-f307-42f5-9a6e-6e132c28a6ed)</node-pattern></data>

2020-10-29 22:59:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.183s
2020-10-29 22:59:51 |

2020-10-29 22:59:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:51 | ------------------------------------

2020-10-29 22:59:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dbde273c-f307-42f5-9a6e-6e132c28a6ed</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-29 22:59:51 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.327s
2020-10-29 22:59:53 |

2020-10-29 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-29 22:59:53 | ------------------------------------

2020-10-29 22:59:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dbde273c-f307-42f5-9a6e-6e132c28a6ed</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-29 22:59:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>