Generated by TestNG with ReportNG at 22:43 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.120s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-05-14 22:59:49 |

2021-05-14 22:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:49 | ------------------------------------

2021-05-14 22:59:49 | [Mutex] waiting for: [configured:node:node-63ca15e6-b2e9-4f04-86af-7323a49d45cd:node-e52f0a42-e1f5-4b1a-9285-156923af0c38]

2021-05-14 22:59:49 | [Mutex] received everything.

2021-05-14 22:59:49 | [Mutex] isItemNotified: configured:node:node-63ca15e6-b2e9-4f04-86af-7323a49d45cd:node-e52f0a42-e1f5-4b1a-9285-156923af0c38 :: true

2021-05-14 22:59:50 | [Mutex] waiting for: [received:nodes:b21115cf-0851-4cd2-84dd-8774d9c165d9:localhost]

2021-05-14 22:59:50 | [Mutex] received everything.

2021-05-14 22:59:50 | [Mutex] isItemNotified: received:node:b21115cf-0851-4cd2-84dd-8774d9c165d9:localhost:node-63ca15e6-b2e9-4f04-86af-7323a49d45cd:Node 63ca15e6-b2e9-4f04-86af-7323a49d45cd :: true

2021-05-14 22:59:50 | [Mutex] waiting for: [received:nodes:ad7290eb-d0bc-4453-85ab-77c7b777827d:localhost]

2021-05-14 22:59:50 | [Mutex] received everything.

2021-05-14 22:59:50 | [Mutex] isItemNotified: received:node:ad7290eb-d0bc-4453-85ab-77c7b777827d:localhost:node-63ca15e6-b2e9-4f04-86af-7323a49d45cd:Node 63ca15e6-b2e9-4f04-86af-7323a49d45cd :: false

createNodes 1.506s
2021-05-14 22:59:46 |

2021-05-14 22:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:46 | ------------------------------------

2021-05-14 22:59:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-63ca15e6-b2e9-4f04-86af-7323a49d45cd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 63ca15e6-b2e9-4f04-86af-7323a49d45cd</title></pubsub></data>

2021-05-14 22:59:47 | 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 22:59:48 | [Mutex] waiting for: [received:nodes:26c8232a-2c8a-4647-9741-944dc39e1782:localhost]

2021-05-14 22:59:48 | [Mutex] received everything.

2021-05-14 22:59:48 | [Mutex] isItemNotified: received:node:26c8232a-2c8a-4647-9741-944dc39e1782:localhost:node-63ca15e6-b2e9-4f04-86af-7323a49d45cd:Node 63ca15e6-b2e9-4f04-86af-7323a49d45cd :: true

createSubnodes 1.025s
2021-05-14 22:59:48 |

2021-05-14 22:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:48 | ------------------------------------

2021-05-14 22:59:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e52f0a42-e1f5-4b1a-9285-156923af0c38</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e52f0a42-e1f5-4b1a-9285-156923af0c38</title></pubsub></data>

2021-05-14 22:59:48 | 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 22:59:49 | [Mutex] waiting for: [received:nodes:f1e42200-5c13-4d56-94d2-8c76bfbb3dbf:localhost]

2021-05-14 22:59:49 | [Mutex] received everything.

2021-05-14 22:59:49 | [Mutex] isItemNotified: received:node:f1e42200-5c13-4d56-94d2-8c76bfbb3dbf:localhost:node-e52f0a42-e1f5-4b1a-9285-156923af0c38:Node e52f0a42-e1f5-4b1a-9285-156923af0c38 :: true

deleteNodes 1.017s
2021-05-14 22:59:55 |

2021-05-14 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:55 | ------------------------------------

2021-05-14 22:59:55 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e52f0a42-e1f5-4b1a-9285-156923af0c38</node></data>

2021-05-14 22:59:55 | 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 22:59:56 | [Mutex] waiting for: [received:nodes:733e3b98-7a74-4152-ab7b-217ea361cc66:localhost]

2021-05-14 22:59:56 | [Mutex] received everything.

2021-05-14 22:59:56 | [Mutex] isItemNotified: received:node:733e3b98-7a74-4152-ab7b-217ea361cc66:localhost:node-e52f0a42-e1f5-4b1a-9285-156923af0c38:Node e52f0a42-e1f5-4b1a-9285-156923af0c38 :: false

deleteSubnodes 1.163s
2021-05-14 22:59:53 |

2021-05-14 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:53 | ------------------------------------

2021-05-14 22:59:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-63ca15e6-b2e9-4f04-86af-7323a49d45cd</node></data>

2021-05-14 22:59:53 | 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 22:59:54 | [Mutex] waiting for: [received:nodes:68eae434-a7a9-4da4-bb88-b4e11dadb0f2:localhost]

2021-05-14 22:59:55 | [Mutex] received everything.

2021-05-14 22:59:55 | [Mutex] isItemNotified: received:node:68eae434-a7a9-4da4-bb88-b4e11dadb0f2:localhost:node-63ca15e6-b2e9-4f04-86af-7323a49d45cd:Node 63ca15e6-b2e9-4f04-86af-7323a49d45cd :: false

2021-05-14 22:59:55 | [Mutex] waiting for: [received:nodes:1ce90cf6-0bd6-47c0-9d16-0fde6bd3be9d:localhost]

2021-05-14 22:59:55 | [Mutex] received everything.

2021-05-14 22:59:55 | [Mutex] isItemNotified: received:node:1ce90cf6-0bd6-47c0-9d16-0fde6bd3be9d:localhost:node-63ca15e6-b2e9-4f04-86af-7323a49d45cd:Node 63ca15e6-b2e9-4f04-86af-7323a49d45cd :: false

publishItemsToNodes 0.352s
2021-05-14 22:59:51 |

2021-05-14 22:59:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:51 | ------------------------------------

2021-05-14 22:59:51 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-63ca15e6-b2e9-4f04-86af-7323a49d45cd</node><item-id>item-27410b5b-f701-466a-8625-b9b433307b7c</item-id><entry><test>item-27410b5b-f701-466a-8625-b9b433307b7c</test></entry></data>

2021-05-14 22:59:51 | 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-27410b5b-f701-466a-8625-b9b433307b7c</value></item-id></result>

2021-05-14 22:59:51 | [Mutex] waiting for: [published:item:notifieditem-27410b5b-f701-466a-8625-b9b433307b7c:admin@test-domain.com]

2021-05-14 22:59:51 | [Mutex] received everything.

2021-05-14 22:59:51 | [Mutex] isItemNotified: published:item:notifieditem-27410b5b-f701-466a-8625-b9b433307b7c:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2021-05-14 22:59:52 |

2021-05-14 22:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:52 | ------------------------------------

2021-05-14 22:59:52 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-63ca15e6-b2e9-4f04-86af-7323a49d45cd</node><item-id>item-27410b5b-f701-466a-8625-b9b433307b7c</item-id></data>

2021-05-14 22:59:52 | 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-27410b5b-f701-466a-8625-b9b433307b7c</value></item-id></result>

2021-05-14 22:59:52 | [Mutex] received everything.

2021-05-14 22:59:52 | [Mutex] isItemNotified: retracted:item:notifieditem-27410b5b-f701-466a-8625-b9b433307b7c:admin@test-domain.com :: true

retrieveItemsFromNodes 0.313s
2021-05-14 22:59:51 |

2021-05-14 22:59:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:51 | ------------------------------------

2021-05-14 22:59:51 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-63ca15e6-b2e9-4f04-86af-7323a49d45cd</node><item-id>item-27410b5b-f701-466a-8625-b9b433307b7c</item-id></data>

2021-05-14 22:59:52 | 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-63ca15e6-b2e9-4f04-86af-7323a49d45cd</value></node><item-id label="Item ID" type="text-single"><value>item-27410b5b-f701-466a-8625-b9b433307b7c</value></item-id><item label="Item" type="text-multi"><value><item id="item-27410b5b-f701-466a-8625-b9b433307b7c"><test>item-27410b5b-f701-466a-8625-b9b433307b7c</test></item></value></item></result>

2021-05-14 22:59:52 | [Mutex] notify: [retrieved:item:item-27410b5b-f701-466a-8625-b9b433307b7c:payload-matches:true:localhost]

2021-05-14 22:59:52 | [Mutex] received everything.

2021-05-14 22:59:52 | [Mutex] isItemNotified: retrieved:item:item-27410b5b-f701-466a-8625-b9b433307b7c:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2021-05-14 22:59:52 |

2021-05-14 22:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:52 | ------------------------------------

2021-05-14 22:59:52 | 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 22:59:52 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-63ca15e6-b2e9-4f04-86af-7323a49d45cd</value><value>test</value><value>node-e52f0a42-e1f5-4b1a-9285-156923af0c38</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-05-14 22:59:52 |

2021-05-14 22:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:52 | ------------------------------------

2021-05-14 22:59:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-63ca15e6-b2e9-4f04-86af-7323a49d45cd)</node-pattern></data>

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

subscribeNodes 1.158s
2021-05-14 22:59:50 |

2021-05-14 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:50 | ------------------------------------

2021-05-14 22:59:50 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-63ca15e6-b2e9-4f04-86af-7323a49d45cd</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.251s
2021-05-14 22:59:52 |

2021-05-14 22:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-14 22:59:52 | ------------------------------------

2021-05-14 22:59:52 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-63ca15e6-b2e9-4f04-86af-7323a49d45cd</node><jids><value>admin@test-domain.com</value></jids></data>

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