Generated by TestNG with ReportNG at 22:51 PDT on Thursday 29 April 2021
root@785cf647a4ab / 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.391s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2021-04-29 23:06:55 |

2021-04-29 23:06:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:55 | ------------------------------------

2021-04-29 23:06:55 | [Mutex] waiting for: [configured:node:node-517df6e8-125d-4248-b843-e09fd321d140:node-dc20e083-aa08-4d4e-bf3d-c3b6352fabb4]

2021-04-29 23:06:55 | [Mutex] received everything.

2021-04-29 23:06:55 | [Mutex] isItemNotified: configured:node:node-517df6e8-125d-4248-b843-e09fd321d140:node-dc20e083-aa08-4d4e-bf3d-c3b6352fabb4 :: true

2021-04-29 23:06:56 | [Mutex] waiting for: [received:nodes:05d5c735-89b9-44a7-9696-f077aaf7cdda:localhost]

2021-04-29 23:06:56 | [Mutex] received everything.

2021-04-29 23:06:56 | [Mutex] isItemNotified: received:node:05d5c735-89b9-44a7-9696-f077aaf7cdda:localhost:node-517df6e8-125d-4248-b843-e09fd321d140:Node 517df6e8-125d-4248-b843-e09fd321d140 :: true

2021-04-29 23:06:56 | [Mutex] waiting for: [received:nodes:34823434-c288-4ab2-a527-fd79c5ee8920:localhost]

2021-04-29 23:06:56 | [Mutex] received everything.

2021-04-29 23:06:56 | [Mutex] isItemNotified: received:node:34823434-c288-4ab2-a527-fd79c5ee8920:localhost:node-517df6e8-125d-4248-b843-e09fd321d140:Node 517df6e8-125d-4248-b843-e09fd321d140 :: false

createNodes 1.536s
2021-04-29 23:06:52 |

2021-04-29 23:06:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:52 | ------------------------------------

2021-04-29 23:06:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-517df6e8-125d-4248-b843-e09fd321d140</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 517df6e8-125d-4248-b843-e09fd321d140</title></pubsub></data>

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

2021-04-29 23:06:54 | [Mutex] waiting for: [received:nodes:d9d3dca4-1a33-4c08-9249-238cf95d1419:localhost]

2021-04-29 23:06:54 | [Mutex] received everything.

2021-04-29 23:06:54 | [Mutex] isItemNotified: received:node:d9d3dca4-1a33-4c08-9249-238cf95d1419:localhost:node-517df6e8-125d-4248-b843-e09fd321d140:Node 517df6e8-125d-4248-b843-e09fd321d140 :: true

createSubnodes 1.042s
2021-04-29 23:06:54 |

2021-04-29 23:06:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:54 | ------------------------------------

2021-04-29 23:06:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dc20e083-aa08-4d4e-bf3d-c3b6352fabb4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node dc20e083-aa08-4d4e-bf3d-c3b6352fabb4</title></pubsub></data>

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

2021-04-29 23:06:55 | [Mutex] waiting for: [received:nodes:0bbe5413-c6d7-4caf-aebd-8ec0f6c8d9c0:localhost]

2021-04-29 23:06:55 | [Mutex] received everything.

2021-04-29 23:06:55 | [Mutex] isItemNotified: received:node:0bbe5413-c6d7-4caf-aebd-8ec0f6c8d9c0:localhost:node-dc20e083-aa08-4d4e-bf3d-c3b6352fabb4:Node dc20e083-aa08-4d4e-bf3d-c3b6352fabb4 :: true

deleteNodes 1.023s
2021-04-29 23:07:00 |

2021-04-29 23:07:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:00 | ------------------------------------

2021-04-29 23:07:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dc20e083-aa08-4d4e-bf3d-c3b6352fabb4</node></data>

2021-04-29 23:07:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-29 23:07:01 | [Mutex] waiting for: [received:nodes:c6ef6085-02b9-4448-8487-8d0ca6d2da2d:localhost]

2021-04-29 23:07:01 | [Mutex] received everything.

2021-04-29 23:07:01 | [Mutex] isItemNotified: received:node:c6ef6085-02b9-4448-8487-8d0ca6d2da2d:localhost:node-dc20e083-aa08-4d4e-bf3d-c3b6352fabb4:Node dc20e083-aa08-4d4e-bf3d-c3b6352fabb4 :: false

deleteSubnodes 1.132s
2021-04-29 23:06:59 |

2021-04-29 23:06:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:59 | ------------------------------------

2021-04-29 23:06:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-517df6e8-125d-4248-b843-e09fd321d140</node></data>

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

2021-04-29 23:07:00 | [Mutex] waiting for: [received:nodes:9689d8ff-2a81-411a-9f62-cb65a7e74ef6:localhost]

2021-04-29 23:07:00 | [Mutex] received everything.

2021-04-29 23:07:00 | [Mutex] isItemNotified: received:node:9689d8ff-2a81-411a-9f62-cb65a7e74ef6:localhost:node-517df6e8-125d-4248-b843-e09fd321d140:Node 517df6e8-125d-4248-b843-e09fd321d140 :: false

2021-04-29 23:07:00 | [Mutex] waiting for: [received:nodes:2af36719-9ce0-49c5-a3d5-bea9b555c20c:localhost]

2021-04-29 23:07:00 | [Mutex] received everything.

2021-04-29 23:07:00 | [Mutex] isItemNotified: received:node:2af36719-9ce0-49c5-a3d5-bea9b555c20c:localhost:node-517df6e8-125d-4248-b843-e09fd321d140:Node 517df6e8-125d-4248-b843-e09fd321d140 :: false

publishItemsToNodes 0.237s
2021-04-29 23:06:57 |

2021-04-29 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:57 | ------------------------------------

2021-04-29 23:06:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-517df6e8-125d-4248-b843-e09fd321d140</node><item-id>item-cc96469d-62d4-41e0-8c27-f4c3a9b45378</item-id><entry><test>item-cc96469d-62d4-41e0-8c27-f4c3a9b45378</test></entry></data>

2021-04-29 23:06:57 | 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-cc96469d-62d4-41e0-8c27-f4c3a9b45378</value></item-id></result>

2021-04-29 23:06:57 | [Mutex] waiting for: [published:item:notifieditem-cc96469d-62d4-41e0-8c27-f4c3a9b45378:admin@test-domain.com]

2021-04-29 23:06:57 | [Mutex] received everything.

2021-04-29 23:06:57 | [Mutex] isItemNotified: published:item:notifieditem-cc96469d-62d4-41e0-8c27-f4c3a9b45378:admin@test-domain.com :: true

retractItemsFromNodes 0.339s
2021-04-29 23:06:58 |

2021-04-29 23:06:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:58 | ------------------------------------

2021-04-29 23:06:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-517df6e8-125d-4248-b843-e09fd321d140</node><item-id>item-cc96469d-62d4-41e0-8c27-f4c3a9b45378</item-id></data>

2021-04-29 23:06:58 | 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-cc96469d-62d4-41e0-8c27-f4c3a9b45378</value></item-id></result>

2021-04-29 23:06:58 | [Mutex] received everything.

2021-04-29 23:06:58 | [Mutex] isItemNotified: retracted:item:notifieditem-cc96469d-62d4-41e0-8c27-f4c3a9b45378:admin@test-domain.com :: true

retrieveItemsFromNodes 0.323s
2021-04-29 23:06:57 |

2021-04-29 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:57 | ------------------------------------

2021-04-29 23:06:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-517df6e8-125d-4248-b843-e09fd321d140</node><item-id>item-cc96469d-62d4-41e0-8c27-f4c3a9b45378</item-id></data>

2021-04-29 23:06:57 | 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-517df6e8-125d-4248-b843-e09fd321d140</value></node><item-id label="Item ID" type="text-single"><value>item-cc96469d-62d4-41e0-8c27-f4c3a9b45378</value></item-id><item label="Item" type="text-multi"><value><item id="item-cc96469d-62d4-41e0-8c27-f4c3a9b45378"><test>item-cc96469d-62d4-41e0-8c27-f4c3a9b45378</test></item></value></item></result>

2021-04-29 23:06:57 | [Mutex] notify: [retrieved:item:item-cc96469d-62d4-41e0-8c27-f4c3a9b45378:payload-matches:true:localhost]

2021-04-29 23:06:57 | [Mutex] received everything.

2021-04-29 23:06:57 | [Mutex] isItemNotified: retrieved:item:item-cc96469d-62d4-41e0-8c27-f4c3a9b45378:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-29 23:06:57 |

2021-04-29 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:57 | ------------------------------------

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

2021-04-29 23:06:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-517df6e8-125d-4248-b843-e09fd321d140</value><value>node-dc20e083-aa08-4d4e-bf3d-c3b6352fabb4</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-29 23:06:58 |

2021-04-29 23:06:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:58 | ------------------------------------

2021-04-29 23:06:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-517df6e8-125d-4248-b843-e09fd321d140)</node-pattern></data>

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

subscribeNodes 1.141s
2021-04-29 23:06:56 |

2021-04-29 23:06:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:56 | ------------------------------------

2021-04-29 23:06:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-517df6e8-125d-4248-b843-e09fd321d140</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.395s
2021-04-29 23:06:58 |

2021-04-29 23:06:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:58 | ------------------------------------

2021-04-29 23:06:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-517df6e8-125d-4248-b843-e09fd321d140</node><jids><value>admin@test-domain.com</value></jids></data>

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