Generated by TestNG with ReportNG at 21:43 PST on Monday 01 March 2021
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.138s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2021-03-01 21:58:22 |

2021-03-01 21:58:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:22 | ------------------------------------

2021-03-01 21:58:22 | [Mutex] waiting for: [configured:node:node-7b2fd544-164f-4409-8ea4-755c91988b9f:node-02dfb5bc-fa55-4417-9cea-6bf105c9329e]

2021-03-01 21:58:22 | [Mutex] received everything.

2021-03-01 21:58:22 | [Mutex] isItemNotified: configured:node:node-7b2fd544-164f-4409-8ea4-755c91988b9f:node-02dfb5bc-fa55-4417-9cea-6bf105c9329e :: true

2021-03-01 21:58:23 | [Mutex] waiting for: [received:nodes:2db2e5b7-c52c-4e5d-ad7b-75cc3838bb99:localhost]

2021-03-01 21:58:23 | [Mutex] received everything.

2021-03-01 21:58:23 | [Mutex] isItemNotified: received:node:2db2e5b7-c52c-4e5d-ad7b-75cc3838bb99:localhost:node-7b2fd544-164f-4409-8ea4-755c91988b9f:Node 7b2fd544-164f-4409-8ea4-755c91988b9f :: true

2021-03-01 21:58:23 | [Mutex] waiting for: [received:nodes:a24bd549-ff2c-481a-8fc4-1a4a77246a96:localhost]

2021-03-01 21:58:23 | [Mutex] waiting for: [received:nodes:a24bd549-ff2c-481a-8fc4-1a4a77246a96:localhost]

2021-03-01 21:58:23 | [Mutex] received everything.

2021-03-01 21:58:23 | [Mutex] isItemNotified: received:node:a24bd549-ff2c-481a-8fc4-1a4a77246a96:localhost:node-7b2fd544-164f-4409-8ea4-755c91988b9f:Node 7b2fd544-164f-4409-8ea4-755c91988b9f :: false

createNodes 1.640s
2021-03-01 21:58:19 |

2021-03-01 21:58:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:19 | ------------------------------------

2021-03-01 21:58:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7b2fd544-164f-4409-8ea4-755c91988b9f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7b2fd544-164f-4409-8ea4-755c91988b9f</title></pubsub></data>

2021-03-01 21:58:20 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-01 21:58:21 | [Mutex] waiting for: [received:nodes:313d1044-5a08-473d-b374-52c33feb2ecf:localhost]

2021-03-01 21:58:21 | [Mutex] waiting for: [received:nodes:313d1044-5a08-473d-b374-52c33feb2ecf:localhost]

2021-03-01 21:58:21 | [Mutex] received everything.

2021-03-01 21:58:21 | [Mutex] isItemNotified: received:node:313d1044-5a08-473d-b374-52c33feb2ecf:localhost:node-7b2fd544-164f-4409-8ea4-755c91988b9f:Node 7b2fd544-164f-4409-8ea4-755c91988b9f :: true

createSubnodes 1.039s
2021-03-01 21:58:21 |

2021-03-01 21:58:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:21 | ------------------------------------

2021-03-01 21:58:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-02dfb5bc-fa55-4417-9cea-6bf105c9329e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 02dfb5bc-fa55-4417-9cea-6bf105c9329e</title></pubsub></data>

2021-03-01 21:58:21 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-01 21:58:22 | [Mutex] waiting for: [received:nodes:06c7b6ef-c18f-460d-bb54-5e1ee1459a05:localhost]

2021-03-01 21:58:22 | [Mutex] waiting for: [received:nodes:06c7b6ef-c18f-460d-bb54-5e1ee1459a05:localhost]

2021-03-01 21:58:22 | [Mutex] received everything.

2021-03-01 21:58:22 | [Mutex] isItemNotified: received:node:06c7b6ef-c18f-460d-bb54-5e1ee1459a05:localhost:node-02dfb5bc-fa55-4417-9cea-6bf105c9329e:Node 02dfb5bc-fa55-4417-9cea-6bf105c9329e :: true

deleteNodes 1.033s
2021-03-01 21:58:27 |

2021-03-01 21:58:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:27 | ------------------------------------

2021-03-01 21:58:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-02dfb5bc-fa55-4417-9cea-6bf105c9329e</node></data>

2021-03-01 21:58:27 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-01 21:58:28 | [Mutex] waiting for: [received:nodes:25886361-4abd-4c21-b4a9-6dd0d94b9fe8:localhost]

2021-03-01 21:58:28 | [Mutex] waiting for: [received:nodes:25886361-4abd-4c21-b4a9-6dd0d94b9fe8:localhost]

2021-03-01 21:58:28 | [Mutex] received everything.

2021-03-01 21:58:28 | [Mutex] isItemNotified: received:node:25886361-4abd-4c21-b4a9-6dd0d94b9fe8:localhost:node-02dfb5bc-fa55-4417-9cea-6bf105c9329e:Node 02dfb5bc-fa55-4417-9cea-6bf105c9329e :: false

deleteSubnodes 1.148s
2021-03-01 21:58:26 |

2021-03-01 21:58:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:26 | ------------------------------------

2021-03-01 21:58:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7b2fd544-164f-4409-8ea4-755c91988b9f</node></data>

2021-03-01 21:58:26 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-01 21:58:27 | [Mutex] waiting for: [received:nodes:b9da936b-da12-46f1-8be0-978065fa6c2c:localhost]

2021-03-01 21:58:27 | [Mutex] received everything.

2021-03-01 21:58:27 | [Mutex] isItemNotified: received:node:b9da936b-da12-46f1-8be0-978065fa6c2c:localhost:node-7b2fd544-164f-4409-8ea4-755c91988b9f:Node 7b2fd544-164f-4409-8ea4-755c91988b9f :: false

2021-03-01 21:58:27 | [Mutex] waiting for: [received:nodes:16d118f4-66b8-4d11-be03-942fe65da57c:localhost]

2021-03-01 21:58:27 | [Mutex] received everything.

2021-03-01 21:58:27 | [Mutex] isItemNotified: received:node:16d118f4-66b8-4d11-be03-942fe65da57c:localhost:node-7b2fd544-164f-4409-8ea4-755c91988b9f:Node 7b2fd544-164f-4409-8ea4-755c91988b9f :: false

publishItemsToNodes 0.185s
2021-03-01 21:58:24 |

2021-03-01 21:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:24 | ------------------------------------

2021-03-01 21:58:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7b2fd544-164f-4409-8ea4-755c91988b9f</node><item-id>item-fd0975bc-740b-4cd5-a551-8cd979a729c3</item-id><entry><test>item-fd0975bc-740b-4cd5-a551-8cd979a729c3</test></entry></data>

2021-03-01 21:58:24 | 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-fd0975bc-740b-4cd5-a551-8cd979a729c3</value></item-id></result>

2021-03-01 21:58:24 | [Mutex] waiting for: [published:item:notifieditem-fd0975bc-740b-4cd5-a551-8cd979a729c3:admin@test-domain.com]

2021-03-01 21:58:24 | [Mutex] received everything.

2021-03-01 21:58:24 | [Mutex] isItemNotified: published:item:notifieditem-fd0975bc-740b-4cd5-a551-8cd979a729c3:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2021-03-01 21:58:24 |

2021-03-01 21:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:24 | ------------------------------------

2021-03-01 21:58:24 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7b2fd544-164f-4409-8ea4-755c91988b9f</node><item-id>item-fd0975bc-740b-4cd5-a551-8cd979a729c3</item-id></data>

2021-03-01 21:58:25 | 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-fd0975bc-740b-4cd5-a551-8cd979a729c3</value></item-id></result>

2021-03-01 21:58:25 | [Mutex] received everything.

2021-03-01 21:58:25 | [Mutex] isItemNotified: retracted:item:notifieditem-fd0975bc-740b-4cd5-a551-8cd979a729c3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.291s
2021-03-01 21:58:24 |

2021-03-01 21:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:24 | ------------------------------------

2021-03-01 21:58:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7b2fd544-164f-4409-8ea4-755c91988b9f</node><item-id>item-fd0975bc-740b-4cd5-a551-8cd979a729c3</item-id></data>

2021-03-01 21:58:24 | 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-7b2fd544-164f-4409-8ea4-755c91988b9f</value></node><item-id type="text-single" label="Item ID"><value>item-fd0975bc-740b-4cd5-a551-8cd979a729c3</value></item-id><item type="text-multi" label="Item"><value><item id="item-fd0975bc-740b-4cd5-a551-8cd979a729c3"><test>item-fd0975bc-740b-4cd5-a551-8cd979a729c3</test></item></value></item></result>

2021-03-01 21:58:24 | [Mutex] notify: [retrieved:item:item-fd0975bc-740b-4cd5-a551-8cd979a729c3:payload-matches:true:localhost]

2021-03-01 21:58:24 | [Mutex] received everything.

2021-03-01 21:58:24 | [Mutex] isItemNotified: retrieved:item:item-fd0975bc-740b-4cd5-a551-8cd979a729c3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2021-03-01 21:58:24 |

2021-03-01 21:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:24 | ------------------------------------

2021-03-01 21:58:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-01 21:58:24 | 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-7b2fd544-164f-4409-8ea4-755c91988b9f</value><value>node-02dfb5bc-fa55-4417-9cea-6bf105c9329e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-03-01 21:58:24 |

2021-03-01 21:58:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:24 | ------------------------------------

2021-03-01 21:58:24 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-7b2fd544-164f-4409-8ea4-755c91988b9f)</node-pattern></data>

2021-03-01 21:58:24 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.153s
2021-03-01 21:58:23 |

2021-03-01 21:58:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:23 | ------------------------------------

2021-03-01 21:58:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7b2fd544-164f-4409-8ea4-755c91988b9f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-01 21:58:23 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.235s
2021-03-01 21:58:25 |

2021-03-01 21:58:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-01 21:58:25 | ------------------------------------

2021-03-01 21:58:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7b2fd544-164f-4409-8ea4-755c91988b9f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-01 21:58:25 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>