Generated by TestNG with ReportNG at 22:29 PDT on Tuesday 20 October 2020
root@43fec6d4badf / 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 : 9.916s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2020-10-20 22:48:06 |

2020-10-20 22:48:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:06 | ------------------------------------

2020-10-20 22:48:06 | [Mutex] waiting for: [configured:node:node-afdb997b-f953-45fe-a257-bbf12ee6779b:node-f8bbbc07-3410-4497-8507-69af42ace66f]

2020-10-20 22:48:07 | [Mutex] received everything.

2020-10-20 22:48:07 | [Mutex] isItemNotified: configured:node:node-afdb997b-f953-45fe-a257-bbf12ee6779b:node-f8bbbc07-3410-4497-8507-69af42ace66f :: true

2020-10-20 22:48:08 | [Mutex] waiting for: [received:nodes:e54e714e-ed52-4514-819d-33d959d8cd99:localhost]

2020-10-20 22:48:08 | [Mutex] waiting for: [received:nodes:e54e714e-ed52-4514-819d-33d959d8cd99:localhost]

2020-10-20 22:48:08 | [Mutex] received everything.

2020-10-20 22:48:08 | [Mutex] isItemNotified: received:node:e54e714e-ed52-4514-819d-33d959d8cd99:localhost:node-afdb997b-f953-45fe-a257-bbf12ee6779b:Node afdb997b-f953-45fe-a257-bbf12ee6779b :: true

2020-10-20 22:48:08 | [Mutex] waiting for: [received:nodes:e32b68c1-7c99-44ef-842e-3c5a6bbc77e3:localhost]

2020-10-20 22:48:08 | [Mutex] received everything.

2020-10-20 22:48:08 | [Mutex] isItemNotified: received:node:e32b68c1-7c99-44ef-842e-3c5a6bbc77e3:localhost:node-afdb997b-f953-45fe-a257-bbf12ee6779b:Node afdb997b-f953-45fe-a257-bbf12ee6779b :: false

createNodes 1.358s
2020-10-20 22:48:04 |

2020-10-20 22:48:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:04 | ------------------------------------

2020-10-20 22:48:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-afdb997b-f953-45fe-a257-bbf12ee6779b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node afdb997b-f953-45fe-a257-bbf12ee6779b</title></pubsub></data>

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

2020-10-20 22:48:05 | [Mutex] waiting for: [received:nodes:b88838e0-7983-4598-ae77-ef8b0646fc7a:localhost]

2020-10-20 22:48:05 | [Mutex] waiting for: [received:nodes:b88838e0-7983-4598-ae77-ef8b0646fc7a:localhost]

2020-10-20 22:48:05 | [Mutex] waiting for: [received:nodes:b88838e0-7983-4598-ae77-ef8b0646fc7a:localhost]

2020-10-20 22:48:05 | [Mutex] received everything.

2020-10-20 22:48:05 | [Mutex] isItemNotified: received:node:b88838e0-7983-4598-ae77-ef8b0646fc7a:localhost:node-afdb997b-f953-45fe-a257-bbf12ee6779b:Node afdb997b-f953-45fe-a257-bbf12ee6779b :: true

createSubnodes 1.024s
2020-10-20 22:48:05 |

2020-10-20 22:48:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:05 | ------------------------------------

2020-10-20 22:48:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f8bbbc07-3410-4497-8507-69af42ace66f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f8bbbc07-3410-4497-8507-69af42ace66f</title></pubsub></data>

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

2020-10-20 22:48:06 | [Mutex] waiting for: [received:nodes:60dd6dbd-787c-4dbb-a4c6-a95c3df5ae04:localhost]

2020-10-20 22:48:06 | [Mutex] received everything.

2020-10-20 22:48:06 | [Mutex] isItemNotified: received:node:60dd6dbd-787c-4dbb-a4c6-a95c3df5ae04:localhost:node-f8bbbc07-3410-4497-8507-69af42ace66f:Node f8bbbc07-3410-4497-8507-69af42ace66f :: true

deleteNodes 1.021s
2020-10-20 22:48:12 |

2020-10-20 22:48:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:12 | ------------------------------------

2020-10-20 22:48:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f8bbbc07-3410-4497-8507-69af42ace66f</node></data>

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

2020-10-20 22:48:13 | [Mutex] waiting for: [received:nodes:66b60d17-efbd-48f6-bcb6-32c5ab7cc5d0:localhost]

2020-10-20 22:48:13 | [Mutex] received everything.

2020-10-20 22:48:13 | [Mutex] isItemNotified: received:node:66b60d17-efbd-48f6-bcb6-32c5ab7cc5d0:localhost:node-f8bbbc07-3410-4497-8507-69af42ace66f:Node f8bbbc07-3410-4497-8507-69af42ace66f :: false

deleteSubnodes 1.111s
2020-10-20 22:48:11 |

2020-10-20 22:48:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:11 | ------------------------------------

2020-10-20 22:48:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-afdb997b-f953-45fe-a257-bbf12ee6779b</node></data>

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

2020-10-20 22:48:12 | [Mutex] waiting for: [received:nodes:56f0ab3e-935c-4424-b5e9-1f4aadbf15cc:localhost]

2020-10-20 22:48:12 | [Mutex] waiting for: [received:nodes:56f0ab3e-935c-4424-b5e9-1f4aadbf15cc:localhost]

2020-10-20 22:48:12 | [Mutex] waiting for: [received:nodes:56f0ab3e-935c-4424-b5e9-1f4aadbf15cc:localhost]

2020-10-20 22:48:12 | [Mutex] received everything.

2020-10-20 22:48:12 | [Mutex] isItemNotified: received:node:56f0ab3e-935c-4424-b5e9-1f4aadbf15cc:localhost:node-afdb997b-f953-45fe-a257-bbf12ee6779b:Node afdb997b-f953-45fe-a257-bbf12ee6779b :: false

2020-10-20 22:48:12 | [Mutex] waiting for: [received:nodes:96a3f872-580a-49fb-a27a-327f2a2f37f3:localhost]

2020-10-20 22:48:12 | [Mutex] received everything.

2020-10-20 22:48:12 | [Mutex] isItemNotified: received:node:96a3f872-580a-49fb-a27a-327f2a2f37f3:localhost:node-afdb997b-f953-45fe-a257-bbf12ee6779b:Node afdb997b-f953-45fe-a257-bbf12ee6779b :: false

publishItemsToNodes 0.262s
2020-10-20 22:48:09 |

2020-10-20 22:48:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:09 | ------------------------------------

2020-10-20 22:48:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-afdb997b-f953-45fe-a257-bbf12ee6779b</node><item-id>item-97980762-23a4-40ad-ab06-de275c64f68f</item-id><entry><test>item-97980762-23a4-40ad-ab06-de275c64f68f</test></entry></data>

2020-10-20 22:48:09 | 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-97980762-23a4-40ad-ab06-de275c64f68f</value></item-id></result>

2020-10-20 22:48:09 | [Mutex] waiting for: [published:item:notifieditem-97980762-23a4-40ad-ab06-de275c64f68f:admin@test-domain.com]

2020-10-20 22:48:09 | [Mutex] received everything.

2020-10-20 22:48:09 | [Mutex] isItemNotified: published:item:notifieditem-97980762-23a4-40ad-ab06-de275c64f68f:admin@test-domain.com :: true

retractItemsFromNodes 0.288s
2020-10-20 22:48:09 |

2020-10-20 22:48:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:09 | ------------------------------------

2020-10-20 22:48:09 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-afdb997b-f953-45fe-a257-bbf12ee6779b</node><item-id>item-97980762-23a4-40ad-ab06-de275c64f68f</item-id></data>

2020-10-20 22:48:10 | 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-97980762-23a4-40ad-ab06-de275c64f68f</value></item-id></result>

2020-10-20 22:48:10 | [Mutex] received everything.

2020-10-20 22:48:10 | [Mutex] isItemNotified: retracted:item:notifieditem-97980762-23a4-40ad-ab06-de275c64f68f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.257s
2020-10-20 22:48:09 |

2020-10-20 22:48:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:09 | ------------------------------------

2020-10-20 22:48:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-afdb997b-f953-45fe-a257-bbf12ee6779b</node><item-id>item-97980762-23a4-40ad-ab06-de275c64f68f</item-id></data>

2020-10-20 22:48:09 | 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-afdb997b-f953-45fe-a257-bbf12ee6779b</value></node><item-id label="Item ID" type="text-single"><value>item-97980762-23a4-40ad-ab06-de275c64f68f</value></item-id><item label="Item" type="text-multi"><value><item id="item-97980762-23a4-40ad-ab06-de275c64f68f"><test>item-97980762-23a4-40ad-ab06-de275c64f68f</test></item></value></item></result>

2020-10-20 22:48:09 | [Mutex] notify: [retrieved:item:item-97980762-23a4-40ad-ab06-de275c64f68f:payload-matches:true:localhost]

2020-10-20 22:48:09 | [Mutex] received everything.

2020-10-20 22:48:09 | [Mutex] isItemNotified: retrieved:item:item-97980762-23a4-40ad-ab06-de275c64f68f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2020-10-20 22:48:09 |

2020-10-20 22:48:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:09 | ------------------------------------

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

2020-10-20 22:48:09 | 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-f8bbbc07-3410-4497-8507-69af42ace66f</value><value>node-afdb997b-f953-45fe-a257-bbf12ee6779b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-10-20 22:48:09 |

2020-10-20 22:48:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:09 | ------------------------------------

2020-10-20 22:48:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-afdb997b-f953-45fe-a257-bbf12ee6779b)</node-pattern></data>

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

subscribeNodes 1.116s
2020-10-20 22:48:08 |

2020-10-20 22:48:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:08 | ------------------------------------

2020-10-20 22:48:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-afdb997b-f953-45fe-a257-bbf12ee6779b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.327s
2020-10-20 22:48:10 |

2020-10-20 22:48:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-20 22:48:10 | ------------------------------------

2020-10-20 22:48:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-afdb997b-f953-45fe-a257-bbf12ee6779b</node><jids><value>admin@test-domain.com</value></jids></data>

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