Generated by TestNG with ReportNG at 01:23 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 : 9.975s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2020-09-18 01:38:29 |

2020-09-18 01:38:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:29 | ------------------------------------

2020-09-18 01:38:29 | [Mutex] waiting for: [configured:node:node-0a66705e-3690-41ad-995c-05fb5fd2a5c4:node-9626d827-8c6f-4a50-a089-8c261d4d3f84]

2020-09-18 01:38:29 | [Mutex] received everything.

2020-09-18 01:38:29 | [Mutex] isItemNotified: configured:node:node-0a66705e-3690-41ad-995c-05fb5fd2a5c4:node-9626d827-8c6f-4a50-a089-8c261d4d3f84 :: true

2020-09-18 01:38:30 | [Mutex] waiting for: [received:nodes:7860dba7-ef5c-409b-96bc-b12206791fa5:localhost]

2020-09-18 01:38:30 | [Mutex] received everything.

2020-09-18 01:38:30 | [Mutex] isItemNotified: received:node:7860dba7-ef5c-409b-96bc-b12206791fa5:localhost:node-0a66705e-3690-41ad-995c-05fb5fd2a5c4:Node 0a66705e-3690-41ad-995c-05fb5fd2a5c4 :: true

2020-09-18 01:38:30 | [Mutex] waiting for: [received:nodes:acc4a7df-d8e8-4a1e-a686-a4ca35848cd7:localhost]

2020-09-18 01:38:30 | [Mutex] waiting for: [received:nodes:acc4a7df-d8e8-4a1e-a686-a4ca35848cd7:localhost]

2020-09-18 01:38:30 | [Mutex] waiting for: [received:nodes:acc4a7df-d8e8-4a1e-a686-a4ca35848cd7:localhost]

2020-09-18 01:38:30 | [Mutex] waiting for: [received:nodes:acc4a7df-d8e8-4a1e-a686-a4ca35848cd7:localhost]

2020-09-18 01:38:30 | [Mutex] received everything.

2020-09-18 01:38:30 | [Mutex] isItemNotified: received:node:acc4a7df-d8e8-4a1e-a686-a4ca35848cd7:localhost:node-0a66705e-3690-41ad-995c-05fb5fd2a5c4:Node 0a66705e-3690-41ad-995c-05fb5fd2a5c4 :: false

createNodes 1.425s
2020-09-18 01:38:27 |

2020-09-18 01:38:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:27 | ------------------------------------

2020-09-18 01:38:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0a66705e-3690-41ad-995c-05fb5fd2a5c4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0a66705e-3690-41ad-995c-05fb5fd2a5c4</title></pubsub></data>

2020-09-18 01:38:27 | 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 01:38:28 | [Mutex] waiting for: [received:nodes:d62f6888-3d5e-4bb6-a23b-0819b4c86f37:localhost]

2020-09-18 01:38:28 | [Mutex] received everything.

2020-09-18 01:38:28 | [Mutex] isItemNotified: received:node:d62f6888-3d5e-4bb6-a23b-0819b4c86f37:localhost:node-0a66705e-3690-41ad-995c-05fb5fd2a5c4:Node 0a66705e-3690-41ad-995c-05fb5fd2a5c4 :: true

createSubnodes 1.032s
2020-09-18 01:38:28 |

2020-09-18 01:38:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:28 | ------------------------------------

2020-09-18 01:38:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9626d827-8c6f-4a50-a089-8c261d4d3f84</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9626d827-8c6f-4a50-a089-8c261d4d3f84</title></pubsub></data>

2020-09-18 01:38:28 | 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 01:38:29 | [Mutex] waiting for: [received:nodes:0eb3323c-3904-4074-8eb2-7b379eea7bdc:localhost]

2020-09-18 01:38:29 | [Mutex] received everything.

2020-09-18 01:38:29 | [Mutex] isItemNotified: received:node:0eb3323c-3904-4074-8eb2-7b379eea7bdc:localhost:node-9626d827-8c6f-4a50-a089-8c261d4d3f84:Node 9626d827-8c6f-4a50-a089-8c261d4d3f84 :: true

deleteNodes 1.018s
2020-09-18 01:38:35 |

2020-09-18 01:38:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:35 | ------------------------------------

2020-09-18 01:38:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9626d827-8c6f-4a50-a089-8c261d4d3f84</node></data>

2020-09-18 01:38:35 | 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 01:38:36 | [Mutex] waiting for: [received:nodes:e1afda62-2041-44f4-a66b-ed3016f331ac:localhost]

2020-09-18 01:38:36 | [Mutex] received everything.

2020-09-18 01:38:36 | [Mutex] isItemNotified: received:node:e1afda62-2041-44f4-a66b-ed3016f331ac:localhost:node-9626d827-8c6f-4a50-a089-8c261d4d3f84:Node 9626d827-8c6f-4a50-a089-8c261d4d3f84 :: false

deleteSubnodes 1.131s
2020-09-18 01:38:34 |

2020-09-18 01:38:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:34 | ------------------------------------

2020-09-18 01:38:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0a66705e-3690-41ad-995c-05fb5fd2a5c4</node></data>

2020-09-18 01:38:34 | 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 01:38:35 | [Mutex] waiting for: [received:nodes:4e646f96-37b7-4949-b9c3-4afa8f436cea:localhost]

2020-09-18 01:38:35 | [Mutex] received everything.

2020-09-18 01:38:35 | [Mutex] isItemNotified: received:node:4e646f96-37b7-4949-b9c3-4afa8f436cea:localhost:node-0a66705e-3690-41ad-995c-05fb5fd2a5c4:Node 0a66705e-3690-41ad-995c-05fb5fd2a5c4 :: false

2020-09-18 01:38:35 | [Mutex] waiting for: [received:nodes:915875c5-29d8-4900-946b-5a57eb8e7496:localhost]

2020-09-18 01:38:35 | [Mutex] received everything.

2020-09-18 01:38:35 | [Mutex] isItemNotified: received:node:915875c5-29d8-4900-946b-5a57eb8e7496:localhost:node-0a66705e-3690-41ad-995c-05fb5fd2a5c4:Node 0a66705e-3690-41ad-995c-05fb5fd2a5c4 :: false

publishItemsToNodes 0.275s
2020-09-18 01:38:31 |

2020-09-18 01:38:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:31 | ------------------------------------

2020-09-18 01:38:31 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0a66705e-3690-41ad-995c-05fb5fd2a5c4</node><item-id>item-196b1215-feea-4275-8317-57f682a61c89</item-id><entry><test>item-196b1215-feea-4275-8317-57f682a61c89</test></entry></data>

2020-09-18 01:38:32 | 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-196b1215-feea-4275-8317-57f682a61c89</value></item-id></result>

2020-09-18 01:38:32 | [Mutex] received everything.

2020-09-18 01:38:32 | [Mutex] isItemNotified: published:item:notifieditem-196b1215-feea-4275-8317-57f682a61c89:admin@test-domain.com :: true

retractItemsFromNodes 0.272s
2020-09-18 01:38:32 |

2020-09-18 01:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:32 | ------------------------------------

2020-09-18 01:38:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0a66705e-3690-41ad-995c-05fb5fd2a5c4</node><item-id>item-196b1215-feea-4275-8317-57f682a61c89</item-id></data>

2020-09-18 01:38:32 | 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-196b1215-feea-4275-8317-57f682a61c89</value></item-id></result>

2020-09-18 01:38:32 | [Mutex] received everything.

2020-09-18 01:38:32 | [Mutex] isItemNotified: retracted:item:notifieditem-196b1215-feea-4275-8317-57f682a61c89:admin@test-domain.com :: true

retrieveItemsFromNodes 0.256s
2020-09-18 01:38:32 |

2020-09-18 01:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:32 | ------------------------------------

2020-09-18 01:38:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0a66705e-3690-41ad-995c-05fb5fd2a5c4</node><item-id>item-196b1215-feea-4275-8317-57f682a61c89</item-id></data>

2020-09-18 01:38:32 | 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-0a66705e-3690-41ad-995c-05fb5fd2a5c4</value></node><item-id type="text-single" label="Item ID"><value>item-196b1215-feea-4275-8317-57f682a61c89</value></item-id><item type="text-multi" label="Item"><value><item id="item-196b1215-feea-4275-8317-57f682a61c89"><test>item-196b1215-feea-4275-8317-57f682a61c89</test></item></value></item></result>

2020-09-18 01:38:32 | [Mutex] notify: [retrieved:item:item-196b1215-feea-4275-8317-57f682a61c89:payload-matches:true:localhost]

2020-09-18 01:38:32 | [Mutex] received everything.

2020-09-18 01:38:32 | [Mutex] isItemNotified: retrieved:item:item-196b1215-feea-4275-8317-57f682a61c89:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-09-18 01:38:32 |

2020-09-18 01:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:32 | ------------------------------------

2020-09-18 01:38:32 | 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 01:38:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-9626d827-8c6f-4a50-a089-8c261d4d3f84</value><value>test</value><value>node-0a66705e-3690-41ad-995c-05fb5fd2a5c4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-18 01:38:32 |

2020-09-18 01:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:32 | ------------------------------------

2020-09-18 01:38:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0a66705e-3690-41ad-995c-05fb5fd2a5c4)</node-pattern></data>

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

subscribeNodes 1.142s
2020-09-18 01:38:30 |

2020-09-18 01:38:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:30 | ------------------------------------

2020-09-18 01:38:30 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0a66705e-3690-41ad-995c-05fb5fd2a5c4</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.324s
2020-09-18 01:38:32 |

2020-09-18 01:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 01:38:32 | ------------------------------------

2020-09-18 01:38:32 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0a66705e-3690-41ad-995c-05fb5fd2a5c4</node><jids><value>admin@test-domain.com</value></jids></data>

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