Generated by TestNG with ReportNG at 22:43 PDT on Sunday 21 March 2021
root@eaa73862192b / 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.094s

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

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

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

2021-03-21 22:58:45 | [Mutex] waiting for: [configured:node:node-51159f68-890f-48df-9a22-a9c1b875b4f8:node-c9d22a9c-e01c-4b0a-8b5a-2a7d4181425e]

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

2021-03-21 22:58:45 | [Mutex] isItemNotified: configured:node:node-51159f68-890f-48df-9a22-a9c1b875b4f8:node-c9d22a9c-e01c-4b0a-8b5a-2a7d4181425e :: true

2021-03-21 22:58:46 | [Mutex] waiting for: [received:nodes:132d236a-29c0-4c8b-abc1-5445abf08715:localhost]

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

2021-03-21 22:58:46 | [Mutex] isItemNotified: received:node:132d236a-29c0-4c8b-abc1-5445abf08715:localhost:node-51159f68-890f-48df-9a22-a9c1b875b4f8:Node 51159f68-890f-48df-9a22-a9c1b875b4f8 :: true

2021-03-21 22:58:46 | [Mutex] waiting for: [received:nodes:8bdd3db0-31dd-43ef-aa84-bc58500f3cc4:localhost]

2021-03-21 22:58:46 | [Mutex] waiting for: [received:nodes:8bdd3db0-31dd-43ef-aa84-bc58500f3cc4:localhost]

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

2021-03-21 22:58:46 | [Mutex] isItemNotified: received:node:8bdd3db0-31dd-43ef-aa84-bc58500f3cc4:localhost:node-51159f68-890f-48df-9a22-a9c1b875b4f8:Node 51159f68-890f-48df-9a22-a9c1b875b4f8 :: false

createNodes 1.557s
2021-03-21 22:58:43 |

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

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

2021-03-21 22:58:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-51159f68-890f-48df-9a22-a9c1b875b4f8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 51159f68-890f-48df-9a22-a9c1b875b4f8</title></pubsub></data>

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

2021-03-21 22:58:44 | [Mutex] waiting for: [received:nodes:a8271483-2237-4e64-bcf1-bdad7be0ad4a:localhost]

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

2021-03-21 22:58:44 | [Mutex] isItemNotified: received:node:a8271483-2237-4e64-bcf1-bdad7be0ad4a:localhost:node-51159f68-890f-48df-9a22-a9c1b875b4f8:Node 51159f68-890f-48df-9a22-a9c1b875b4f8 :: true

createSubnodes 1.034s
2021-03-21 22:58:44 |

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

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

2021-03-21 22:58:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c9d22a9c-e01c-4b0a-8b5a-2a7d4181425e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c9d22a9c-e01c-4b0a-8b5a-2a7d4181425e</title></pubsub></data>

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

2021-03-21 22:58:45 | [Mutex] waiting for: [received:nodes:a9a8246f-f0d8-492f-adbb-88ed7a71cc2e:localhost]

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

2021-03-21 22:58:45 | [Mutex] isItemNotified: received:node:a9a8246f-f0d8-492f-adbb-88ed7a71cc2e:localhost:node-c9d22a9c-e01c-4b0a-8b5a-2a7d4181425e:Node c9d22a9c-e01c-4b0a-8b5a-2a7d4181425e :: true

deleteNodes 1.019s
2021-03-21 22:58:51 |

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

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

2021-03-21 22:58:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c9d22a9c-e01c-4b0a-8b5a-2a7d4181425e</node></data>

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

2021-03-21 22:58:52 | [Mutex] waiting for: [received:nodes:857ca430-44de-42c5-bcff-a53df6f5078e:localhost]

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

2021-03-21 22:58:52 | [Mutex] isItemNotified: received:node:857ca430-44de-42c5-bcff-a53df6f5078e:localhost:node-c9d22a9c-e01c-4b0a-8b5a-2a7d4181425e:Node c9d22a9c-e01c-4b0a-8b5a-2a7d4181425e :: false

deleteSubnodes 1.137s
2021-03-21 22:58:50 |

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

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

2021-03-21 22:58:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-51159f68-890f-48df-9a22-a9c1b875b4f8</node></data>

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

2021-03-21 22:58:51 | [Mutex] waiting for: [received:nodes:ae710be4-6609-4791-8c9e-59ddc8302e2d:localhost]

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

2021-03-21 22:58:51 | [Mutex] isItemNotified: received:node:ae710be4-6609-4791-8c9e-59ddc8302e2d:localhost:node-51159f68-890f-48df-9a22-a9c1b875b4f8:Node 51159f68-890f-48df-9a22-a9c1b875b4f8 :: false

2021-03-21 22:58:51 | [Mutex] waiting for: [received:nodes:1ec2c7ce-3f1d-47b9-8baa-a4320c2093c1:localhost]

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

2021-03-21 22:58:51 | [Mutex] isItemNotified: received:node:1ec2c7ce-3f1d-47b9-8baa-a4320c2093c1:localhost:node-51159f68-890f-48df-9a22-a9c1b875b4f8:Node 51159f68-890f-48df-9a22-a9c1b875b4f8 :: false

publishItemsToNodes 0.207s
2021-03-21 22:58:48 |

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

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

2021-03-21 22:58:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-51159f68-890f-48df-9a22-a9c1b875b4f8</node><item-id>item-8625457f-315e-4faa-823b-8d35d821bffb</item-id><entry><test>item-8625457f-315e-4faa-823b-8d35d821bffb</test></entry></data>

2021-03-21 22:58:48 | 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-8625457f-315e-4faa-823b-8d35d821bffb</value></item-id></result>

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

2021-03-21 22:58:48 | [Mutex] isItemNotified: published:item:notifieditem-8625457f-315e-4faa-823b-8d35d821bffb:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2021-03-21 22:58:48 |

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

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

2021-03-21 22:58:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-51159f68-890f-48df-9a22-a9c1b875b4f8</node><item-id>item-8625457f-315e-4faa-823b-8d35d821bffb</item-id></data>

2021-03-21 22:58:48 | 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-8625457f-315e-4faa-823b-8d35d821bffb</value></item-id></result>

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

2021-03-21 22:58:48 | [Mutex] isItemNotified: retracted:item:notifieditem-8625457f-315e-4faa-823b-8d35d821bffb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2021-03-21 22:58:48 |

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

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

2021-03-21 22:58:48 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-51159f68-890f-48df-9a22-a9c1b875b4f8</node><item-id>item-8625457f-315e-4faa-823b-8d35d821bffb</item-id></data>

2021-03-21 22:58:48 | 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-51159f68-890f-48df-9a22-a9c1b875b4f8</value></node><item-id label="Item ID" type="text-single"><value>item-8625457f-315e-4faa-823b-8d35d821bffb</value></item-id><item label="Item" type="text-multi"><value><item id="item-8625457f-315e-4faa-823b-8d35d821bffb"><test>item-8625457f-315e-4faa-823b-8d35d821bffb</test></item></value></item></result>

2021-03-21 22:58:48 | [Mutex] notify: [retrieved:item:item-8625457f-315e-4faa-823b-8d35d821bffb:payload-matches:true:localhost]

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

2021-03-21 22:58:48 | [Mutex] isItemNotified: retrieved:item:item-8625457f-315e-4faa-823b-8d35d821bffb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-21 22:58:48 |

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

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

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

2021-03-21 22:58:48 | 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-c9d22a9c-e01c-4b0a-8b5a-2a7d4181425e</value><value>node-51159f68-890f-48df-9a22-a9c1b875b4f8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2021-03-21 22:58:48 |

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

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

2021-03-21 22:58:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-51159f68-890f-48df-9a22-a9c1b875b4f8)</node-pattern></data>

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

subscribeNodes 1.112s
2021-03-21 22:58:46 |

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

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

2021-03-21 22:58:46 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-51159f68-890f-48df-9a22-a9c1b875b4f8</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.268s
2021-03-21 22:58:48 |

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

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

2021-03-21 22:58:48 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-51159f68-890f-48df-9a22-a9c1b875b4f8</node><jids><value>admin@test-domain.com</value></jids></data>

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