Generated by TestNG with ReportNG at 22:10 PST on Sunday 16 January 2022
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.001s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-01-16 22:25:26 |

2022-01-16 22:25:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:26 | ------------------------------------

2022-01-16 22:25:26 | [Mutex] waiting for: [configured:node:node-ad556143-136f-4bf8-9ef3-dc9680edeeef:node-4351d0ec-73a4-4f94-96cd-968cada7c6d1]

2022-01-16 22:25:26 | [Mutex] received everything.

2022-01-16 22:25:26 | [Mutex] isItemNotified: configured:node:node-ad556143-136f-4bf8-9ef3-dc9680edeeef:node-4351d0ec-73a4-4f94-96cd-968cada7c6d1 :: true

2022-01-16 22:25:27 | [Mutex] waiting for: [received:nodes:871ba982-8b8b-48b6-ac0b-04e7f4b2b66a:localhost]

2022-01-16 22:25:27 | [Mutex] received everything.

2022-01-16 22:25:27 | [Mutex] isItemNotified: received:node:871ba982-8b8b-48b6-ac0b-04e7f4b2b66a:localhost:node-ad556143-136f-4bf8-9ef3-dc9680edeeef:Node ad556143-136f-4bf8-9ef3-dc9680edeeef :: true

2022-01-16 22:25:27 | [Mutex] waiting for: [received:nodes:2673b3ab-72c1-4f3a-986b-75fc90734506:localhost]

2022-01-16 22:25:27 | [Mutex] received everything.

2022-01-16 22:25:27 | [Mutex] isItemNotified: received:node:2673b3ab-72c1-4f3a-986b-75fc90734506:localhost:node-ad556143-136f-4bf8-9ef3-dc9680edeeef:Node ad556143-136f-4bf8-9ef3-dc9680edeeef :: false

createNodes 1.461s
2022-01-16 22:25:24 |

2022-01-16 22:25:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:24 | ------------------------------------

2022-01-16 22:25:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ad556143-136f-4bf8-9ef3-dc9680edeeef</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ad556143-136f-4bf8-9ef3-dc9680edeeef</title></pubsub></data>

2022-01-16 22:25:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-16 22:25:25 | [Mutex] waiting for: [received:nodes:de15a67d-b03d-4d36-9605-de00055823d4:localhost]

2022-01-16 22:25:25 | [Mutex] received everything.

2022-01-16 22:25:25 | [Mutex] isItemNotified: received:node:de15a67d-b03d-4d36-9605-de00055823d4:localhost:node-ad556143-136f-4bf8-9ef3-dc9680edeeef:Node ad556143-136f-4bf8-9ef3-dc9680edeeef :: true

createSubnodes 1.026s
2022-01-16 22:25:25 |

2022-01-16 22:25:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:25 | ------------------------------------

2022-01-16 22:25:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4351d0ec-73a4-4f94-96cd-968cada7c6d1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4351d0ec-73a4-4f94-96cd-968cada7c6d1</title></pubsub></data>

2022-01-16 22:25:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-16 22:25:26 | [Mutex] waiting for: [received:nodes:c49cc4a5-9a94-4d2c-895e-a9b88a1265d0:localhost]

2022-01-16 22:25:26 | [Mutex] received everything.

2022-01-16 22:25:26 | [Mutex] isItemNotified: received:node:c49cc4a5-9a94-4d2c-895e-a9b88a1265d0:localhost:node-4351d0ec-73a4-4f94-96cd-968cada7c6d1:Node 4351d0ec-73a4-4f94-96cd-968cada7c6d1 :: true

deleteNodes 1.018s
2022-01-16 22:25:32 |

2022-01-16 22:25:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:32 | ------------------------------------

2022-01-16 22:25:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4351d0ec-73a4-4f94-96cd-968cada7c6d1</node></data>

2022-01-16 22:25:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-16 22:25:33 | [Mutex] waiting for: [received:nodes:b95c877f-5075-44db-8dee-2bf99423db81:localhost]

2022-01-16 22:25:33 | [Mutex] received everything.

2022-01-16 22:25:33 | [Mutex] isItemNotified: received:node:b95c877f-5075-44db-8dee-2bf99423db81:localhost:node-4351d0ec-73a4-4f94-96cd-968cada7c6d1:Node 4351d0ec-73a4-4f94-96cd-968cada7c6d1 :: false

deleteSubnodes 1.174s
2022-01-16 22:25:31 |

2022-01-16 22:25:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:31 | ------------------------------------

2022-01-16 22:25:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ad556143-136f-4bf8-9ef3-dc9680edeeef</node></data>

2022-01-16 22:25:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-01-16 22:25:32 | [Mutex] waiting for: [received:nodes:6630c794-929a-4101-ad8a-c355f27ad95c:localhost]

2022-01-16 22:25:32 | [Mutex] waiting for: [received:nodes:6630c794-929a-4101-ad8a-c355f27ad95c:localhost]

2022-01-16 22:25:32 | [Mutex] received everything.

2022-01-16 22:25:32 | [Mutex] isItemNotified: received:node:6630c794-929a-4101-ad8a-c355f27ad95c:localhost:node-ad556143-136f-4bf8-9ef3-dc9680edeeef:Node ad556143-136f-4bf8-9ef3-dc9680edeeef :: false

2022-01-16 22:25:32 | [Mutex] waiting for: [received:nodes:9d1ed458-75b0-408a-a6f3-9554d0a565c6:localhost]

2022-01-16 22:25:32 | [Mutex] received everything.

2022-01-16 22:25:32 | [Mutex] isItemNotified: received:node:9d1ed458-75b0-408a-a6f3-9554d0a565c6:localhost:node-ad556143-136f-4bf8-9ef3-dc9680edeeef:Node ad556143-136f-4bf8-9ef3-dc9680edeeef :: false

publishItemsToNodes 0.211s
2022-01-16 22:25:29 |

2022-01-16 22:25:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:29 | ------------------------------------

2022-01-16 22:25:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ad556143-136f-4bf8-9ef3-dc9680edeeef</node><item-id>item-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0</item-id><entry><test>item-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0</test></entry></data>

2022-01-16 22:25:29 | 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-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0</value></item-id></result>

2022-01-16 22:25:29 | [Mutex] waiting for: [published:item:notifieditem-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0:admin@test-domain.com]

2022-01-16 22:25:29 | [Mutex] received everything.

2022-01-16 22:25:29 | [Mutex] isItemNotified: published:item:notifieditem-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0:admin@test-domain.com :: true

retractItemsFromNodes 0.327s
2022-01-16 22:25:29 |

2022-01-16 22:25:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:29 | ------------------------------------

2022-01-16 22:25:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ad556143-136f-4bf8-9ef3-dc9680edeeef</node><item-id>item-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0</item-id></data>

2022-01-16 22:25:29 | 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-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0</value></item-id></result>

2022-01-16 22:25:29 | [Mutex] received everything.

2022-01-16 22:25:29 | [Mutex] isItemNotified: retracted:item:notifieditem-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0:admin@test-domain.com :: true

retrieveItemsFromNodes 0.335s
2022-01-16 22:25:29 |

2022-01-16 22:25:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:29 | ------------------------------------

2022-01-16 22:25:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ad556143-136f-4bf8-9ef3-dc9680edeeef</node><item-id>item-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0</item-id></data>

2022-01-16 22:25:29 | 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-ad556143-136f-4bf8-9ef3-dc9680edeeef</value></node><item-id label="Item ID" type="text-single"><value>item-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0</value></item-id><item label="Item" type="text-multi"><value><item id="item-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0"><test>item-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0</test></item></value></item></result>

2022-01-16 22:25:29 | [Mutex] notify: [retrieved:item:item-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0:payload-matches:true:localhost]

2022-01-16 22:25:29 | [Mutex] received everything.

2022-01-16 22:25:29 | [Mutex] isItemNotified: retrieved:item:item-6b7b76a6-085a-46c6-85fd-fe4a9efb73e0:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-01-16 22:25:29 |

2022-01-16 22:25:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:29 | ------------------------------------

2022-01-16 22:25:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-01-16 22:25:29 | 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-4351d0ec-73a4-4f94-96cd-968cada7c6d1</value><value>node-ad556143-136f-4bf8-9ef3-dc9680edeeef</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-01-16 22:25:29 |

2022-01-16 22:25:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:29 | ------------------------------------

2022-01-16 22:25:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ad556143-136f-4bf8-9ef3-dc9680edeeef)</node-pattern></data>

2022-01-16 22:25:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.135s
2022-01-16 22:25:27 |

2022-01-16 22:25:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:27 | ------------------------------------

2022-01-16 22:25:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ad556143-136f-4bf8-9ef3-dc9680edeeef</node><jids><value>admin@test-domain.com</value></jids></data>

2022-01-16 22:25:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.307s
2022-01-16 22:25:29 |

2022-01-16 22:25:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 22:25:29 | ------------------------------------

2022-01-16 22:25:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ad556143-136f-4bf8-9ef3-dc9680edeeef</node><jids><value>admin@test-domain.com</value></jids></data>

2022-01-16 22:25:30 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>