Generated by TestNG with ReportNG at 22:14 PDT on Sunday 13 June 2021
root@b2c2a8eba6e6 / 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.061s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.144s
2021-06-13 22:29:44 |

2021-06-13 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:44 | ------------------------------------

2021-06-13 22:29:44 | [Mutex] waiting for: [configured:node:node-66214640-74e3-4f27-b5b3-d67bf338404f:node-98674e96-e456-4ab2-a0c6-b46d4e5f1d74]

2021-06-13 22:29:45 | [Mutex] received everything.

2021-06-13 22:29:45 | [Mutex] isItemNotified: configured:node:node-66214640-74e3-4f27-b5b3-d67bf338404f:node-98674e96-e456-4ab2-a0c6-b46d4e5f1d74 :: true

2021-06-13 22:29:46 | [Mutex] waiting for: [received:nodes:a082939d-0b7e-4a49-9c46-d5a3f27c7e6a:localhost]

2021-06-13 22:29:46 | [Mutex] received everything.

2021-06-13 22:29:46 | [Mutex] isItemNotified: received:node:a082939d-0b7e-4a49-9c46-d5a3f27c7e6a:localhost:node-66214640-74e3-4f27-b5b3-d67bf338404f:Node 66214640-74e3-4f27-b5b3-d67bf338404f :: true

2021-06-13 22:29:46 | [Mutex] waiting for: [received:nodes:b5a45b8a-7cb7-4d85-9caf-d1f6c532a56f:localhost]

2021-06-13 22:29:46 | [Mutex] received everything.

2021-06-13 22:29:46 | [Mutex] isItemNotified: received:node:b5a45b8a-7cb7-4d85-9caf-d1f6c532a56f:localhost:node-66214640-74e3-4f27-b5b3-d67bf338404f:Node 66214640-74e3-4f27-b5b3-d67bf338404f :: false

createNodes 1.511s
2021-06-13 22:29:42 |

2021-06-13 22:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:42 | ------------------------------------

2021-06-13 22:29:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-66214640-74e3-4f27-b5b3-d67bf338404f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 66214640-74e3-4f27-b5b3-d67bf338404f</title></pubsub></data>

2021-06-13 22:29:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-13 22:29:43 | [Mutex] waiting for: [received:nodes:2cacc42e-d375-4ce6-9967-703545e08b79:localhost]

2021-06-13 22:29:43 | [Mutex] waiting for: [received:nodes:2cacc42e-d375-4ce6-9967-703545e08b79:localhost]

2021-06-13 22:29:43 | [Mutex] waiting for: [received:nodes:2cacc42e-d375-4ce6-9967-703545e08b79:localhost]

2021-06-13 22:29:43 | [Mutex] received everything.

2021-06-13 22:29:43 | [Mutex] isItemNotified: received:node:2cacc42e-d375-4ce6-9967-703545e08b79:localhost:node-66214640-74e3-4f27-b5b3-d67bf338404f:Node 66214640-74e3-4f27-b5b3-d67bf338404f :: true

createSubnodes 1.029s
2021-06-13 22:29:43 |

2021-06-13 22:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:43 | ------------------------------------

2021-06-13 22:29:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-98674e96-e456-4ab2-a0c6-b46d4e5f1d74</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 98674e96-e456-4ab2-a0c6-b46d4e5f1d74</title></pubsub></data>

2021-06-13 22:29:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-13 22:29:44 | [Mutex] waiting for: [received:nodes:928fefc1-0fcc-4f08-ae0c-a77fb5627d89:localhost]

2021-06-13 22:29:44 | [Mutex] waiting for: [received:nodes:928fefc1-0fcc-4f08-ae0c-a77fb5627d89:localhost]

2021-06-13 22:29:44 | [Mutex] received everything.

2021-06-13 22:29:44 | [Mutex] isItemNotified: received:node:928fefc1-0fcc-4f08-ae0c-a77fb5627d89:localhost:node-98674e96-e456-4ab2-a0c6-b46d4e5f1d74:Node 98674e96-e456-4ab2-a0c6-b46d4e5f1d74 :: true

deleteNodes 1.018s
2021-06-13 22:29:50 |

2021-06-13 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:50 | ------------------------------------

2021-06-13 22:29:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-98674e96-e456-4ab2-a0c6-b46d4e5f1d74</node></data>

2021-06-13 22:29:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-13 22:29:51 | [Mutex] waiting for: [received:nodes:a6f24462-7ade-4a44-86bc-ccca1d07e411:localhost]

2021-06-13 22:29:51 | [Mutex] received everything.

2021-06-13 22:29:51 | [Mutex] isItemNotified: received:node:a6f24462-7ade-4a44-86bc-ccca1d07e411:localhost:node-98674e96-e456-4ab2-a0c6-b46d4e5f1d74:Node 98674e96-e456-4ab2-a0c6-b46d4e5f1d74 :: false

deleteSubnodes 1.134s
2021-06-13 22:29:49 |

2021-06-13 22:29:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:49 | ------------------------------------

2021-06-13 22:29:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-66214640-74e3-4f27-b5b3-d67bf338404f</node></data>

2021-06-13 22:29:49 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-13 22:29:50 | [Mutex] waiting for: [received:nodes:f7b43170-2fce-4fec-b1a9-4169b0b4562b:localhost]

2021-06-13 22:29:50 | [Mutex] waiting for: [received:nodes:f7b43170-2fce-4fec-b1a9-4169b0b4562b:localhost]

2021-06-13 22:29:50 | [Mutex] received everything.

2021-06-13 22:29:50 | [Mutex] isItemNotified: received:node:f7b43170-2fce-4fec-b1a9-4169b0b4562b:localhost:node-66214640-74e3-4f27-b5b3-d67bf338404f:Node 66214640-74e3-4f27-b5b3-d67bf338404f :: false

2021-06-13 22:29:50 | [Mutex] waiting for: [received:nodes:d9594aeb-afd0-4864-bc8d-46bc3642e4c3:localhost]

2021-06-13 22:29:50 | [Mutex] received everything.

2021-06-13 22:29:50 | [Mutex] isItemNotified: received:node:d9594aeb-afd0-4864-bc8d-46bc3642e4c3:localhost:node-66214640-74e3-4f27-b5b3-d67bf338404f:Node 66214640-74e3-4f27-b5b3-d67bf338404f :: false

publishItemsToNodes 0.215s
2021-06-13 22:29:47 |

2021-06-13 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:47 | ------------------------------------

2021-06-13 22:29:47 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-66214640-74e3-4f27-b5b3-d67bf338404f</node><item-id>item-0b28625d-1171-4227-bead-15c8530f935e</item-id><entry><test>item-0b28625d-1171-4227-bead-15c8530f935e</test></entry></data>

2021-06-13 22:29:47 | 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-0b28625d-1171-4227-bead-15c8530f935e</value></item-id></result>

2021-06-13 22:29:47 | [Mutex] waiting for: [published:item:notifieditem-0b28625d-1171-4227-bead-15c8530f935e:admin@test-domain.com]

2021-06-13 22:29:47 | [Mutex] received everything.

2021-06-13 22:29:47 | [Mutex] isItemNotified: published:item:notifieditem-0b28625d-1171-4227-bead-15c8530f935e:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2021-06-13 22:29:47 |

2021-06-13 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:47 | ------------------------------------

2021-06-13 22:29:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-66214640-74e3-4f27-b5b3-d67bf338404f</node><item-id>item-0b28625d-1171-4227-bead-15c8530f935e</item-id></data>

2021-06-13 22:29:48 | 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-0b28625d-1171-4227-bead-15c8530f935e</value></item-id></result>

2021-06-13 22:29:48 | [Mutex] received everything.

2021-06-13 22:29:48 | [Mutex] isItemNotified: retracted:item:notifieditem-0b28625d-1171-4227-bead-15c8530f935e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.350s
2021-06-13 22:29:47 |

2021-06-13 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:47 | ------------------------------------

2021-06-13 22:29:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-66214640-74e3-4f27-b5b3-d67bf338404f</node><item-id>item-0b28625d-1171-4227-bead-15c8530f935e</item-id></data>

2021-06-13 22:29:47 | 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-66214640-74e3-4f27-b5b3-d67bf338404f</value></node><item-id type="text-single" label="Item ID"><value>item-0b28625d-1171-4227-bead-15c8530f935e</value></item-id><item type="text-multi" label="Item"><value><item id="item-0b28625d-1171-4227-bead-15c8530f935e"><test>item-0b28625d-1171-4227-bead-15c8530f935e</test></item></value></item></result>

2021-06-13 22:29:47 | [Mutex] notify: [retrieved:item:item-0b28625d-1171-4227-bead-15c8530f935e:payload-matches:true:localhost]

2021-06-13 22:29:47 | [Mutex] received everything.

2021-06-13 22:29:47 | [Mutex] isItemNotified: retrieved:item:item-0b28625d-1171-4227-bead-15c8530f935e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-06-13 22:29:47 |

2021-06-13 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:47 | ------------------------------------

2021-06-13 22:29:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-13 22:29:47 | 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-98674e96-e456-4ab2-a0c6-b46d4e5f1d74</value><value>node-66214640-74e3-4f27-b5b3-d67bf338404f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-06-13 22:29:47 |

2021-06-13 22:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:47 | ------------------------------------

2021-06-13 22:29:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-66214640-74e3-4f27-b5b3-d67bf338404f)</node-pattern></data>

2021-06-13 22:29:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.189s
2021-06-13 22:29:46 |

2021-06-13 22:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:46 | ------------------------------------

2021-06-13 22:29:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-66214640-74e3-4f27-b5b3-d67bf338404f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-13 22:29:46 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.323s
2021-06-13 22:29:48 |

2021-06-13 22:29:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-13 22:29:48 | ------------------------------------

2021-06-13 22:29:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-66214640-74e3-4f27-b5b3-d67bf338404f</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-13 22:29:48 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>