Generated by TestNG with ReportNG at 22:28 PDT on Friday 25 September 2020
root@a0242a034c6f / 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.375s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2020-09-25 22:43:27 |

2020-09-25 22:43:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:27 | ------------------------------------

2020-09-25 22:43:27 | [Mutex] waiting for: [configured:node:node-8499046c-eb08-41b5-bdf6-3d8698207707:node-908c612a-1b45-43fe-ba65-fd672d6b3232]

2020-09-25 22:43:27 | [Mutex] received everything.

2020-09-25 22:43:27 | [Mutex] isItemNotified: configured:node:node-8499046c-eb08-41b5-bdf6-3d8698207707:node-908c612a-1b45-43fe-ba65-fd672d6b3232 :: true

2020-09-25 22:43:28 | [Mutex] waiting for: [received:nodes:4fda3b08-c60d-4a73-89d7-1e0fbd822358:localhost]

2020-09-25 22:43:28 | [Mutex] received everything.

2020-09-25 22:43:28 | [Mutex] isItemNotified: received:node:4fda3b08-c60d-4a73-89d7-1e0fbd822358:localhost:node-8499046c-eb08-41b5-bdf6-3d8698207707:Node 8499046c-eb08-41b5-bdf6-3d8698207707 :: true

2020-09-25 22:43:28 | [Mutex] waiting for: [received:nodes:fbaa0400-1a35-4f83-869b-a24046aa1b39:localhost]

2020-09-25 22:43:28 | [Mutex] waiting for: [received:nodes:fbaa0400-1a35-4f83-869b-a24046aa1b39:localhost]

2020-09-25 22:43:28 | [Mutex] received everything.

2020-09-25 22:43:28 | [Mutex] isItemNotified: received:node:fbaa0400-1a35-4f83-869b-a24046aa1b39:localhost:node-8499046c-eb08-41b5-bdf6-3d8698207707:Node 8499046c-eb08-41b5-bdf6-3d8698207707 :: false

createNodes 1.581s
2020-09-25 22:43:24 |

2020-09-25 22:43:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:24 | ------------------------------------

2020-09-25 22:43:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8499046c-eb08-41b5-bdf6-3d8698207707</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8499046c-eb08-41b5-bdf6-3d8698207707</title></pubsub></data>

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

2020-09-25 22:43:26 | [Mutex] waiting for: [received:nodes:58edfed4-ab6a-421f-bfa3-5b814a4e1feb:localhost]

2020-09-25 22:43:26 | [Mutex] waiting for: [received:nodes:58edfed4-ab6a-421f-bfa3-5b814a4e1feb:localhost]

2020-09-25 22:43:26 | [Mutex] received everything.

2020-09-25 22:43:26 | [Mutex] isItemNotified: received:node:58edfed4-ab6a-421f-bfa3-5b814a4e1feb:localhost:node-8499046c-eb08-41b5-bdf6-3d8698207707:Node 8499046c-eb08-41b5-bdf6-3d8698207707 :: true

createSubnodes 1.029s
2020-09-25 22:43:26 |

2020-09-25 22:43:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:26 | ------------------------------------

2020-09-25 22:43:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-908c612a-1b45-43fe-ba65-fd672d6b3232</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 908c612a-1b45-43fe-ba65-fd672d6b3232</title></pubsub></data>

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

2020-09-25 22:43:27 | [Mutex] waiting for: [received:nodes:397dde91-ea00-4fa4-a82a-0a37914ef429:localhost]

2020-09-25 22:43:27 | [Mutex] received everything.

2020-09-25 22:43:27 | [Mutex] isItemNotified: received:node:397dde91-ea00-4fa4-a82a-0a37914ef429:localhost:node-908c612a-1b45-43fe-ba65-fd672d6b3232:Node 908c612a-1b45-43fe-ba65-fd672d6b3232 :: true

deleteNodes 1.021s
2020-09-25 22:43:32 |

2020-09-25 22:43:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:32 | ------------------------------------

2020-09-25 22:43:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-908c612a-1b45-43fe-ba65-fd672d6b3232</node></data>

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

2020-09-25 22:43:33 | [Mutex] waiting for: [received:nodes:10d2a15e-bddb-4bdd-9b88-46d98d05bc33:localhost]

2020-09-25 22:43:33 | [Mutex] received everything.

2020-09-25 22:43:33 | [Mutex] isItemNotified: received:node:10d2a15e-bddb-4bdd-9b88-46d98d05bc33:localhost:node-908c612a-1b45-43fe-ba65-fd672d6b3232:Node 908c612a-1b45-43fe-ba65-fd672d6b3232 :: false

deleteSubnodes 1.135s
2020-09-25 22:43:31 |

2020-09-25 22:43:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:31 | ------------------------------------

2020-09-25 22:43:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8499046c-eb08-41b5-bdf6-3d8698207707</node></data>

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

2020-09-25 22:43:32 | [Mutex] waiting for: [received:nodes:2047828d-2a2c-4ab2-82eb-75df0df8d38f:localhost]

2020-09-25 22:43:32 | [Mutex] received everything.

2020-09-25 22:43:32 | [Mutex] isItemNotified: received:node:2047828d-2a2c-4ab2-82eb-75df0df8d38f:localhost:node-8499046c-eb08-41b5-bdf6-3d8698207707:Node 8499046c-eb08-41b5-bdf6-3d8698207707 :: false

2020-09-25 22:43:32 | [Mutex] waiting for: [received:nodes:678ffe23-69f4-408f-9158-9db877737101:localhost]

2020-09-25 22:43:32 | [Mutex] received everything.

2020-09-25 22:43:32 | [Mutex] isItemNotified: received:node:678ffe23-69f4-408f-9158-9db877737101:localhost:node-8499046c-eb08-41b5-bdf6-3d8698207707:Node 8499046c-eb08-41b5-bdf6-3d8698207707 :: false

publishItemsToNodes 0.290s
2020-09-25 22:43:29 |

2020-09-25 22:43:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:29 | ------------------------------------

2020-09-25 22:43:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8499046c-eb08-41b5-bdf6-3d8698207707</node><item-id>item-663b4dd8-1cf1-468a-882c-c1dc06d79438</item-id><entry><test>item-663b4dd8-1cf1-468a-882c-c1dc06d79438</test></entry></data>

2020-09-25 22:43:29 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-663b4dd8-1cf1-468a-882c-c1dc06d79438</value></item-id></result>

2020-09-25 22:43:29 | [Mutex] received everything.

2020-09-25 22:43:29 | [Mutex] isItemNotified: published:item:notifieditem-663b4dd8-1cf1-468a-882c-c1dc06d79438:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2020-09-25 22:43:30 |

2020-09-25 22:43:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:30 | ------------------------------------

2020-09-25 22:43:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8499046c-eb08-41b5-bdf6-3d8698207707</node><item-id>item-663b4dd8-1cf1-468a-882c-c1dc06d79438</item-id></data>

2020-09-25 22:43:30 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-663b4dd8-1cf1-468a-882c-c1dc06d79438</value></item-id></result>

2020-09-25 22:43:30 | [Mutex] received everything.

2020-09-25 22:43:30 | [Mutex] isItemNotified: retracted:item:notifieditem-663b4dd8-1cf1-468a-882c-c1dc06d79438:admin@test-domain.com :: true

retrieveItemsFromNodes 0.269s
2020-09-25 22:43:29 |

2020-09-25 22:43:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:29 | ------------------------------------

2020-09-25 22:43:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8499046c-eb08-41b5-bdf6-3d8698207707</node><item-id>item-663b4dd8-1cf1-468a-882c-c1dc06d79438</item-id></data>

2020-09-25 22:43:30 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-8499046c-eb08-41b5-bdf6-3d8698207707</value></node><item-id type="text-single" label="Item ID"><value>item-663b4dd8-1cf1-468a-882c-c1dc06d79438</value></item-id><item type="text-multi" label="Item"><value><item id="item-663b4dd8-1cf1-468a-882c-c1dc06d79438"><test>item-663b4dd8-1cf1-468a-882c-c1dc06d79438</test></item></value></item></result>

2020-09-25 22:43:30 | [Mutex] notify: [retrieved:item:item-663b4dd8-1cf1-468a-882c-c1dc06d79438:payload-matches:true:localhost]

2020-09-25 22:43:30 | [Mutex] received everything.

2020-09-25 22:43:30 | [Mutex] isItemNotified: retrieved:item:item-663b4dd8-1cf1-468a-882c-c1dc06d79438:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-25 22:43:30 |

2020-09-25 22:43:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:30 | ------------------------------------

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

2020-09-25 22:43:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-8499046c-eb08-41b5-bdf6-3d8698207707</value><value>test</value><value>node-908c612a-1b45-43fe-ba65-fd672d6b3232</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2020-09-25 22:43:30 |

2020-09-25 22:43:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:30 | ------------------------------------

2020-09-25 22:43:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8499046c-eb08-41b5-bdf6-3d8698207707)</node-pattern></data>

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

subscribeNodes 1.143s
2020-09-25 22:43:28 |

2020-09-25 22:43:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:28 | ------------------------------------

2020-09-25 22:43:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8499046c-eb08-41b5-bdf6-3d8698207707</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-25 22:43: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.375s
2020-09-25 22:43:30 |

2020-09-25 22:43:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-25 22:43:30 | ------------------------------------

2020-09-25 22:43:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8499046c-eb08-41b5-bdf6-3d8698207707</node><jids><value>admin@test-domain.com</value></jids></data>

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