Generated by TestNG with ReportNG at 06:24 PDT on Friday 14 May 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.040s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-05-14 06:38:30 |

2021-05-14 06:38:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:30 | ------------------------------------

2021-05-14 06:38:30 | [Mutex] waiting for: [configured:node:node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e:node-26efaa12-eb44-413f-882b-0851f5aad594]

2021-05-14 06:38:30 | [Mutex] received everything.

2021-05-14 06:38:30 | [Mutex] isItemNotified: configured:node:node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e:node-26efaa12-eb44-413f-882b-0851f5aad594 :: true

2021-05-14 06:38:31 | [Mutex] waiting for: [received:nodes:b23a5fc2-c129-45c2-9c59-a9d87533a48e:localhost]

2021-05-14 06:38:31 | [Mutex] received everything.

2021-05-14 06:38:31 | [Mutex] isItemNotified: received:node:b23a5fc2-c129-45c2-9c59-a9d87533a48e:localhost:node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e:Node 41fc1393-d251-4bfa-b6e6-fdc7fdce458e :: true

2021-05-14 06:38:31 | [Mutex] waiting for: [received:nodes:ae2d986e-da42-4c3f-9e72-40a1f9e67138:localhost]

2021-05-14 06:38:31 | [Mutex] waiting for: [received:nodes:ae2d986e-da42-4c3f-9e72-40a1f9e67138:localhost]

2021-05-14 06:38:31 | [Mutex] received everything.

2021-05-14 06:38:31 | [Mutex] isItemNotified: received:node:ae2d986e-da42-4c3f-9e72-40a1f9e67138:localhost:node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e:Node 41fc1393-d251-4bfa-b6e6-fdc7fdce458e :: false

createNodes 1.439s
2021-05-14 06:38:27 |

2021-05-14 06:38:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:27 | ------------------------------------

2021-05-14 06:38:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 41fc1393-d251-4bfa-b6e6-fdc7fdce458e</title></pubsub></data>

2021-05-14 06:38:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 06:38:29 | [Mutex] waiting for: [received:nodes:a285ba19-e361-4a58-a5b3-9befe3eb56d0:localhost]

2021-05-14 06:38:29 | [Mutex] waiting for: [received:nodes:a285ba19-e361-4a58-a5b3-9befe3eb56d0:localhost]

2021-05-14 06:38:29 | [Mutex] received everything.

2021-05-14 06:38:29 | [Mutex] isItemNotified: received:node:a285ba19-e361-4a58-a5b3-9befe3eb56d0:localhost:node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e:Node 41fc1393-d251-4bfa-b6e6-fdc7fdce458e :: true

createSubnodes 1.034s
2021-05-14 06:38:29 |

2021-05-14 06:38:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:29 | ------------------------------------

2021-05-14 06:38:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-26efaa12-eb44-413f-882b-0851f5aad594</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 26efaa12-eb44-413f-882b-0851f5aad594</title></pubsub></data>

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

2021-05-14 06:38:30 | [Mutex] waiting for: [received:nodes:c8f79f21-6d31-4118-8f55-223a7fcf268c:localhost]

2021-05-14 06:38:30 | [Mutex] received everything.

2021-05-14 06:38:30 | [Mutex] isItemNotified: received:node:c8f79f21-6d31-4118-8f55-223a7fcf268c:localhost:node-26efaa12-eb44-413f-882b-0851f5aad594:Node 26efaa12-eb44-413f-882b-0851f5aad594 :: true

deleteNodes 1.016s
2021-05-14 06:38:35 |

2021-05-14 06:38:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:35 | ------------------------------------

2021-05-14 06:38:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-26efaa12-eb44-413f-882b-0851f5aad594</node></data>

2021-05-14 06:38:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 06:38:36 | [Mutex] waiting for: [received:nodes:3ebd16b3-5284-43ea-ad90-803ae2a23dca:localhost]

2021-05-14 06:38:36 | [Mutex] received everything.

2021-05-14 06:38:36 | [Mutex] isItemNotified: received:node:3ebd16b3-5284-43ea-ad90-803ae2a23dca:localhost:node-26efaa12-eb44-413f-882b-0851f5aad594:Node 26efaa12-eb44-413f-882b-0851f5aad594 :: false

deleteSubnodes 1.161s
2021-05-14 06:38:34 |

2021-05-14 06:38:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:34 | ------------------------------------

2021-05-14 06:38:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e</node></data>

2021-05-14 06:38:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-05-14 06:38:35 | [Mutex] waiting for: [received:nodes:936361ba-7682-4b6c-a69a-9ce7aca5db7a:localhost]

2021-05-14 06:38:35 | [Mutex] waiting for: [received:nodes:936361ba-7682-4b6c-a69a-9ce7aca5db7a:localhost]

2021-05-14 06:38:35 | [Mutex] received everything.

2021-05-14 06:38:35 | [Mutex] isItemNotified: received:node:936361ba-7682-4b6c-a69a-9ce7aca5db7a:localhost:node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e:Node 41fc1393-d251-4bfa-b6e6-fdc7fdce458e :: false

2021-05-14 06:38:35 | [Mutex] waiting for: [received:nodes:80e46afe-5f27-449b-bd10-3aa06ef520cb:localhost]

2021-05-14 06:38:35 | [Mutex] received everything.

2021-05-14 06:38:35 | [Mutex] isItemNotified: received:node:80e46afe-5f27-449b-bd10-3aa06ef520cb:localhost:node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e:Node 41fc1393-d251-4bfa-b6e6-fdc7fdce458e :: false

publishItemsToNodes 0.251s
2021-05-14 06:38:32 |

2021-05-14 06:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:32 | ------------------------------------

2021-05-14 06:38:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e</node><item-id>item-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6</item-id><entry><test>item-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6</test></entry></data>

2021-05-14 06: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-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6</value></item-id></result>

2021-05-14 06:38:32 | [Mutex] waiting for: [published:item:notifieditem-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6:admin@test-domain.com]

2021-05-14 06:38:32 | [Mutex] received everything.

2021-05-14 06:38:32 | [Mutex] isItemNotified: published:item:notifieditem-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6:admin@test-domain.com :: true

retractItemsFromNodes 0.276s
2021-05-14 06:38:33 |

2021-05-14 06:38:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:33 | ------------------------------------

2021-05-14 06:38:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e</node><item-id>item-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6</item-id></data>

2021-05-14 06:38:33 | 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-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6</value></item-id></result>

2021-05-14 06:38:33 | [Mutex] waiting for: [retracted:item:notifieditem-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6:admin@test-domain.com]

2021-05-14 06:38:33 | [Mutex] received everything.

2021-05-14 06:38:33 | [Mutex] isItemNotified: retracted:item:notifieditem-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.367s
2021-05-14 06:38:32 |

2021-05-14 06:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:32 | ------------------------------------

2021-05-14 06:38:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e</node><item-id>item-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6</item-id></data>

2021-05-14 06: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-41fc1393-d251-4bfa-b6e6-fdc7fdce458e</value></node><item-id type="text-single" label="Item ID"><value>item-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6</value></item-id><item type="text-multi" label="Item"><value><item id="item-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6"><test>item-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6</test></item></value></item></result>

2021-05-14 06:38:32 | [Mutex] notify: [retrieved:item:item-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6:payload-matches:true:localhost]

2021-05-14 06:38:32 | [Mutex] received everything.

2021-05-14 06:38:32 | [Mutex] isItemNotified: retrieved:item:item-c082b815-7f4a-41bf-bbd7-9cb3dcbdb0c6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-14 06:38:32 |

2021-05-14 06:38:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:32 | ------------------------------------

2021-05-14 06:38:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-05-14 06:38:33 | 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-41fc1393-d251-4bfa-b6e6-fdc7fdce458e</value><value>node-26efaa12-eb44-413f-882b-0851f5aad594</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-05-14 06:38:33 |

2021-05-14 06:38:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:33 | ------------------------------------

2021-05-14 06:38:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e)</node-pattern></data>

2021-05-14 06:38:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.188s
2021-05-14 06:38:31 |

2021-05-14 06:38:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:31 | ------------------------------------

2021-05-14 06:38:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-14 06:38:31 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.278s
2021-05-14 06:38:33 |

2021-05-14 06:38:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 06:38:33 | ------------------------------------

2021-05-14 06:38:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-41fc1393-d251-4bfa-b6e6-fdc7fdce458e</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-14 06:38:33 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>