Generated by TestNG with ReportNG at 22:42 PDT on Wednesday 09 September 2020
root@37cb6fd1939a / 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 : 9.976s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.122s
2020-09-09 22:57:51 |

2020-09-09 22:57:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:51 | ------------------------------------

2020-09-09 22:57:51 | [Mutex] waiting for: [configured:node:node-199ff0d2-6db8-4c23-a4d8-824306479331:node-c5604c4f-e2c2-4f86-adf2-277c4fbd59e9]

2020-09-09 22:57:52 | [Mutex] received everything.

2020-09-09 22:57:52 | [Mutex] isItemNotified: configured:node:node-199ff0d2-6db8-4c23-a4d8-824306479331:node-c5604c4f-e2c2-4f86-adf2-277c4fbd59e9 :: true

2020-09-09 22:57:53 | [Mutex] waiting for: [received:nodes:fbcf32aa-70e3-48cb-a523-841125c575ce:localhost]

2020-09-09 22:57:53 | [Mutex] received everything.

2020-09-09 22:57:53 | [Mutex] isItemNotified: received:node:fbcf32aa-70e3-48cb-a523-841125c575ce:localhost:node-199ff0d2-6db8-4c23-a4d8-824306479331:Node 199ff0d2-6db8-4c23-a4d8-824306479331 :: true

2020-09-09 22:57:53 | [Mutex] waiting for: [received:nodes:b423dd2b-6659-42e2-8645-5dcd051aa22d:localhost]

2020-09-09 22:57:53 | [Mutex] received everything.

2020-09-09 22:57:53 | [Mutex] isItemNotified: received:node:b423dd2b-6659-42e2-8645-5dcd051aa22d:localhost:node-199ff0d2-6db8-4c23-a4d8-824306479331:Node 199ff0d2-6db8-4c23-a4d8-824306479331 :: false

createNodes 1.568s
2020-09-09 22:57:49 |

2020-09-09 22:57:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:49 | ------------------------------------

2020-09-09 22:57:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-199ff0d2-6db8-4c23-a4d8-824306479331</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 199ff0d2-6db8-4c23-a4d8-824306479331</title></pubsub></data>

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

2020-09-09 22:57:50 | [Mutex] waiting for: [received:nodes:31bcbc46-aeb7-4b33-aad1-a148d81ed4d0:localhost]

2020-09-09 22:57:50 | [Mutex] received everything.

2020-09-09 22:57:50 | [Mutex] isItemNotified: received:node:31bcbc46-aeb7-4b33-aad1-a148d81ed4d0:localhost:node-199ff0d2-6db8-4c23-a4d8-824306479331:Node 199ff0d2-6db8-4c23-a4d8-824306479331 :: true

createSubnodes 1.025s
2020-09-09 22:57:50 |

2020-09-09 22:57:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:50 | ------------------------------------

2020-09-09 22:57:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c5604c4f-e2c2-4f86-adf2-277c4fbd59e9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c5604c4f-e2c2-4f86-adf2-277c4fbd59e9</title></pubsub></data>

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

2020-09-09 22:57:51 | [Mutex] waiting for: [received:nodes:b80c79ea-9c4c-45b9-9bed-c7f3aabecbad:localhost]

2020-09-09 22:57:51 | [Mutex] received everything.

2020-09-09 22:57:51 | [Mutex] isItemNotified: received:node:b80c79ea-9c4c-45b9-9bed-c7f3aabecbad:localhost:node-c5604c4f-e2c2-4f86-adf2-277c4fbd59e9:Node c5604c4f-e2c2-4f86-adf2-277c4fbd59e9 :: true

deleteNodes 1.017s
2020-09-09 22:57:57 |

2020-09-09 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:57 | ------------------------------------

2020-09-09 22:57:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c5604c4f-e2c2-4f86-adf2-277c4fbd59e9</node></data>

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

2020-09-09 22:57:58 | [Mutex] waiting for: [received:nodes:343ecbda-6ab5-4569-a34d-7d0a80434004:localhost]

2020-09-09 22:57:58 | [Mutex] received everything.

2020-09-09 22:57:58 | [Mutex] isItemNotified: received:node:343ecbda-6ab5-4569-a34d-7d0a80434004:localhost:node-c5604c4f-e2c2-4f86-adf2-277c4fbd59e9:Node c5604c4f-e2c2-4f86-adf2-277c4fbd59e9 :: false

deleteSubnodes 1.116s
2020-09-09 22:57:56 |

2020-09-09 22:57:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:56 | ------------------------------------

2020-09-09 22:57:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-199ff0d2-6db8-4c23-a4d8-824306479331</node></data>

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

2020-09-09 22:57:57 | [Mutex] waiting for: [received:nodes:0d0d5eb4-fc51-4699-b495-e4a72690354f:localhost]

2020-09-09 22:57:57 | [Mutex] received everything.

2020-09-09 22:57:57 | [Mutex] isItemNotified: received:node:0d0d5eb4-fc51-4699-b495-e4a72690354f:localhost:node-199ff0d2-6db8-4c23-a4d8-824306479331:Node 199ff0d2-6db8-4c23-a4d8-824306479331 :: false

2020-09-09 22:57:57 | [Mutex] waiting for: [received:nodes:34c7b578-f92a-4099-aeea-c2c8cebe3872:localhost]

2020-09-09 22:57:57 | [Mutex] received everything.

2020-09-09 22:57:57 | [Mutex] isItemNotified: received:node:34c7b578-f92a-4099-aeea-c2c8cebe3872:localhost:node-199ff0d2-6db8-4c23-a4d8-824306479331:Node 199ff0d2-6db8-4c23-a4d8-824306479331 :: false

publishItemsToNodes 0.208s
2020-09-09 22:57:54 |

2020-09-09 22:57:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:54 | ------------------------------------

2020-09-09 22:57:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-199ff0d2-6db8-4c23-a4d8-824306479331</node><item-id>item-be739b2f-0c60-4bde-bc80-fbb26159f5cf</item-id><entry><test>item-be739b2f-0c60-4bde-bc80-fbb26159f5cf</test></entry></data>

2020-09-09 22:57:54 | 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-be739b2f-0c60-4bde-bc80-fbb26159f5cf</value></item-id></result>

2020-09-09 22:57:54 | [Mutex] received everything.

2020-09-09 22:57:54 | [Mutex] isItemNotified: published:item:notifieditem-be739b2f-0c60-4bde-bc80-fbb26159f5cf:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2020-09-09 22:57:54 |

2020-09-09 22:57:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:54 | ------------------------------------

2020-09-09 22:57:54 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-199ff0d2-6db8-4c23-a4d8-824306479331</node><item-id>item-be739b2f-0c60-4bde-bc80-fbb26159f5cf</item-id></data>

2020-09-09 22:57:55 | 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-be739b2f-0c60-4bde-bc80-fbb26159f5cf</value></item-id></result>

2020-09-09 22:57:55 | [Mutex] received everything.

2020-09-09 22:57:55 | [Mutex] isItemNotified: retracted:item:notifieditem-be739b2f-0c60-4bde-bc80-fbb26159f5cf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.236s
2020-09-09 22:57:54 |

2020-09-09 22:57:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:54 | ------------------------------------

2020-09-09 22:57:54 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-199ff0d2-6db8-4c23-a4d8-824306479331</node><item-id>item-be739b2f-0c60-4bde-bc80-fbb26159f5cf</item-id></data>

2020-09-09 22:57:54 | 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-199ff0d2-6db8-4c23-a4d8-824306479331</value></node><item-id label="Item ID" type="text-single"><value>item-be739b2f-0c60-4bde-bc80-fbb26159f5cf</value></item-id><item label="Item" type="text-multi"><value><item id="item-be739b2f-0c60-4bde-bc80-fbb26159f5cf"><test>item-be739b2f-0c60-4bde-bc80-fbb26159f5cf</test></item></value></item></result>

2020-09-09 22:57:54 | [Mutex] notify: [retrieved:item:item-be739b2f-0c60-4bde-bc80-fbb26159f5cf:payload-matches:true:localhost]

2020-09-09 22:57:54 | [Mutex] received everything.

2020-09-09 22:57:54 | [Mutex] isItemNotified: retrieved:item:item-be739b2f-0c60-4bde-bc80-fbb26159f5cf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-09 22:57:54 |

2020-09-09 22:57:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:54 | ------------------------------------

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

2020-09-09 22:57:54 | 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-199ff0d2-6db8-4c23-a4d8-824306479331</value><value>node-c5604c4f-e2c2-4f86-adf2-277c4fbd59e9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2020-09-09 22:57:54 |

2020-09-09 22:57:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:54 | ------------------------------------

2020-09-09 22:57:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-199ff0d2-6db8-4c23-a4d8-824306479331)</node-pattern></data>

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

subscribeNodes 1.161s
2020-09-09 22:57:53 |

2020-09-09 22:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:53 | ------------------------------------

2020-09-09 22:57:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-199ff0d2-6db8-4c23-a4d8-824306479331</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-09 22:57: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.231s
2020-09-09 22:57:55 |

2020-09-09 22:57:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 22:57:55 | ------------------------------------

2020-09-09 22:57:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-199ff0d2-6db8-4c23-a4d8-824306479331</node><jids><value>admin@test-domain.com</value></jids></data>

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