Generated by TestNG with ReportNG at 22:42 PDT on Friday 23 October 2020
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.070s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2020-10-23 22:58:32 |

2020-10-23 22:58:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:32 | ------------------------------------

2020-10-23 22:58:32 | [Mutex] waiting for: [configured:node:node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc:node-81d9bd6e-a1f4-4e92-b6fd-639457e4b7b3]

2020-10-23 22:58:32 | [Mutex] received everything.

2020-10-23 22:58:32 | [Mutex] isItemNotified: configured:node:node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc:node-81d9bd6e-a1f4-4e92-b6fd-639457e4b7b3 :: true

2020-10-23 22:58:33 | [Mutex] waiting for: [received:nodes:ae15b409-a6b4-4c8d-9d13-921fb83493de:localhost]

2020-10-23 22:58:33 | [Mutex] received everything.

2020-10-23 22:58:33 | [Mutex] isItemNotified: received:node:ae15b409-a6b4-4c8d-9d13-921fb83493de:localhost:node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc:Node 3e8af47e-5371-4a1f-bda8-8ee09bee4fbc :: true

2020-10-23 22:58:33 | [Mutex] waiting for: [received:nodes:ac362e3a-3a8c-450e-830c-752bcbc9a123:localhost]

2020-10-23 22:58:33 | [Mutex] waiting for: [received:nodes:ac362e3a-3a8c-450e-830c-752bcbc9a123:localhost]

2020-10-23 22:58:33 | [Mutex] received everything.

2020-10-23 22:58:33 | [Mutex] isItemNotified: received:node:ac362e3a-3a8c-450e-830c-752bcbc9a123:localhost:node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc:Node 3e8af47e-5371-4a1f-bda8-8ee09bee4fbc :: false

createNodes 1.473s
2020-10-23 22:58:29 |

2020-10-23 22:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:29 | ------------------------------------

2020-10-23 22:58:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 3e8af47e-5371-4a1f-bda8-8ee09bee4fbc</title></pubsub></data>

2020-10-23 22:58:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-23 22:58:31 | [Mutex] waiting for: [received:nodes:437b7fc7-fc50-4a63-900e-ed2a085a2ce7:localhost]

2020-10-23 22:58:31 | [Mutex] received everything.

2020-10-23 22:58:31 | [Mutex] isItemNotified: received:node:437b7fc7-fc50-4a63-900e-ed2a085a2ce7:localhost:node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc:Node 3e8af47e-5371-4a1f-bda8-8ee09bee4fbc :: true

createSubnodes 1.028s
2020-10-23 22:58:31 |

2020-10-23 22:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:31 | ------------------------------------

2020-10-23 22:58:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-81d9bd6e-a1f4-4e92-b6fd-639457e4b7b3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 81d9bd6e-a1f4-4e92-b6fd-639457e4b7b3</title></pubsub></data>

2020-10-23 22:58:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-23 22:58:32 | [Mutex] waiting for: [received:nodes:49fe3a25-5fe9-44e8-a631-ed1b73923d85:localhost]

2020-10-23 22:58:32 | [Mutex] received everything.

2020-10-23 22:58:32 | [Mutex] isItemNotified: received:node:49fe3a25-5fe9-44e8-a631-ed1b73923d85:localhost:node-81d9bd6e-a1f4-4e92-b6fd-639457e4b7b3:Node 81d9bd6e-a1f4-4e92-b6fd-639457e4b7b3 :: true

deleteNodes 1.025s
2020-10-23 22:58:37 |

2020-10-23 22:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:37 | ------------------------------------

2020-10-23 22:58:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-81d9bd6e-a1f4-4e92-b6fd-639457e4b7b3</node></data>

2020-10-23 22:58:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-23 22:58:38 | [Mutex] waiting for: [received:nodes:b2ceb8c5-6f82-46a1-960e-aad756442b81:localhost]

2020-10-23 22:58:38 | [Mutex] waiting for: [received:nodes:b2ceb8c5-6f82-46a1-960e-aad756442b81:localhost]

2020-10-23 22:58:38 | [Mutex] received everything.

2020-10-23 22:58:38 | [Mutex] isItemNotified: received:node:b2ceb8c5-6f82-46a1-960e-aad756442b81:localhost:node-81d9bd6e-a1f4-4e92-b6fd-639457e4b7b3:Node 81d9bd6e-a1f4-4e92-b6fd-639457e4b7b3 :: false

deleteSubnodes 1.107s
2020-10-23 22:58:36 |

2020-10-23 22:58:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:36 | ------------------------------------

2020-10-23 22:58:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc</node></data>

2020-10-23 22:58:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-23 22:58:37 | [Mutex] waiting for: [received:nodes:0d3cdf92-16cc-4213-9ec8-0ee57c78930e:localhost]

2020-10-23 22:58:37 | [Mutex] received everything.

2020-10-23 22:58:37 | [Mutex] isItemNotified: received:node:0d3cdf92-16cc-4213-9ec8-0ee57c78930e:localhost:node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc:Node 3e8af47e-5371-4a1f-bda8-8ee09bee4fbc :: false

2020-10-23 22:58:37 | [Mutex] waiting for: [received:nodes:7ed19f4f-4da4-430d-80ec-10ad1fbdda21:localhost]

2020-10-23 22:58:37 | [Mutex] received everything.

2020-10-23 22:58:37 | [Mutex] isItemNotified: received:node:7ed19f4f-4da4-430d-80ec-10ad1fbdda21:localhost:node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc:Node 3e8af47e-5371-4a1f-bda8-8ee09bee4fbc :: false

publishItemsToNodes 0.175s
2020-10-23 22:58:34 |

2020-10-23 22:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:34 | ------------------------------------

2020-10-23 22:58:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc</node><item-id>item-0d0098f8-8156-4b1f-aed3-e2a3a27b6625</item-id><entry><test>item-0d0098f8-8156-4b1f-aed3-e2a3a27b6625</test></entry></data>

2020-10-23 22:58:34 | 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-0d0098f8-8156-4b1f-aed3-e2a3a27b6625</value></item-id></result>

2020-10-23 22:58:34 | [Mutex] waiting for: [published:item:notifieditem-0d0098f8-8156-4b1f-aed3-e2a3a27b6625:admin@test-domain.com]

2020-10-23 22:58:34 | [Mutex] received everything.

2020-10-23 22:58:34 | [Mutex] isItemNotified: published:item:notifieditem-0d0098f8-8156-4b1f-aed3-e2a3a27b6625:admin@test-domain.com :: true

retractItemsFromNodes 0.164s
2020-10-23 22:58:35 |

2020-10-23 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:35 | ------------------------------------

2020-10-23 22:58:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc</node><item-id>item-0d0098f8-8156-4b1f-aed3-e2a3a27b6625</item-id></data>

2020-10-23 22:58:35 | 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-0d0098f8-8156-4b1f-aed3-e2a3a27b6625</value></item-id></result>

2020-10-23 22:58:35 | [Mutex] received everything.

2020-10-23 22:58:35 | [Mutex] isItemNotified: retracted:item:notifieditem-0d0098f8-8156-4b1f-aed3-e2a3a27b6625:admin@test-domain.com :: true

retrieveItemsFromNodes 0.251s
2020-10-23 22:58:34 |

2020-10-23 22:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:34 | ------------------------------------

2020-10-23 22:58:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc</node><item-id>item-0d0098f8-8156-4b1f-aed3-e2a3a27b6625</item-id></data>

2020-10-23 22:58:35 | 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-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc</value></node><item-id label="Item ID" type="text-single"><value>item-0d0098f8-8156-4b1f-aed3-e2a3a27b6625</value></item-id><item label="Item" type="text-multi"><value><item id="item-0d0098f8-8156-4b1f-aed3-e2a3a27b6625"><test>item-0d0098f8-8156-4b1f-aed3-e2a3a27b6625</test></item></value></item></result>

2020-10-23 22:58:35 | [Mutex] notify: [retrieved:item:item-0d0098f8-8156-4b1f-aed3-e2a3a27b6625:payload-matches:true:localhost]

2020-10-23 22:58:35 | [Mutex] received everything.

2020-10-23 22:58:35 | [Mutex] isItemNotified: retrieved:item:item-0d0098f8-8156-4b1f-aed3-e2a3a27b6625:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2020-10-23 22:58:35 |

2020-10-23 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:35 | ------------------------------------

2020-10-23 22:58:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-23 22:58:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-81d9bd6e-a1f4-4e92-b6fd-639457e4b7b3</value><value>test</value><value>node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-10-23 22:58:35 |

2020-10-23 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:35 | ------------------------------------

2020-10-23 22:58:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc)</node-pattern></data>

2020-10-23 22:58:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.135s
2020-10-23 22:58:33 |

2020-10-23 22:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:33 | ------------------------------------

2020-10-23 22:58:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-23 22:58:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.331s
2020-10-23 22:58:35 |

2020-10-23 22:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-23 22:58:35 | ------------------------------------

2020-10-23 22:58:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-3e8af47e-5371-4a1f-bda8-8ee09bee4fbc</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-23 22:58:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>