Generated by TestNG with ReportNG at 21:22 PST on Monday 18 January 2021
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 : 10.246s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2021-01-18 21:38:52 |

2021-01-18 21:38:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:52 | ------------------------------------

2021-01-18 21:38:52 | [Mutex] waiting for: [configured:node:node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8:node-7ec09a86-80f9-4637-8ac3-0aaf70f8751e]

2021-01-18 21:38:52 | [Mutex] received everything.

2021-01-18 21:38:52 | [Mutex] isItemNotified: configured:node:node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8:node-7ec09a86-80f9-4637-8ac3-0aaf70f8751e :: true

2021-01-18 21:38:53 | [Mutex] waiting for: [received:nodes:3c183c76-1128-4a3a-88ef-58ee803658a1:localhost]

2021-01-18 21:38:54 | [Mutex] received everything.

2021-01-18 21:38:54 | [Mutex] isItemNotified: received:node:3c183c76-1128-4a3a-88ef-58ee803658a1:localhost:node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8:Node df8ea312-532a-4ff6-bfb9-8d3de8646cd8 :: true

2021-01-18 21:38:54 | [Mutex] waiting for: [received:nodes:238682ad-2f37-475b-8151-0feb10e2f57a:localhost]

2021-01-18 21:38:54 | [Mutex] waiting for: [received:nodes:238682ad-2f37-475b-8151-0feb10e2f57a:localhost]

2021-01-18 21:38:54 | [Mutex] waiting for: [received:nodes:238682ad-2f37-475b-8151-0feb10e2f57a:localhost]

2021-01-18 21:38:54 | [Mutex] received everything.

2021-01-18 21:38:54 | [Mutex] isItemNotified: received:node:238682ad-2f37-475b-8151-0feb10e2f57a:localhost:node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8:Node df8ea312-532a-4ff6-bfb9-8d3de8646cd8 :: false

createNodes 1.666s
2021-01-18 21:38:50 |

2021-01-18 21:38:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:50 | ------------------------------------

2021-01-18 21:38:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node df8ea312-532a-4ff6-bfb9-8d3de8646cd8</title></pubsub></data>

2021-01-18 21:38:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-18 21:38:51 | [Mutex] waiting for: [received:nodes:c0b2d0a1-8afa-4861-bb14-af58c8b382c2:localhost]

2021-01-18 21:38:51 | [Mutex] received everything.

2021-01-18 21:38:51 | [Mutex] isItemNotified: received:node:c0b2d0a1-8afa-4861-bb14-af58c8b382c2:localhost:node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8:Node df8ea312-532a-4ff6-bfb9-8d3de8646cd8 :: true

createSubnodes 1.025s
2021-01-18 21:38:51 |

2021-01-18 21:38:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:51 | ------------------------------------

2021-01-18 21:38:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7ec09a86-80f9-4637-8ac3-0aaf70f8751e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7ec09a86-80f9-4637-8ac3-0aaf70f8751e</title></pubsub></data>

2021-01-18 21:38:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-18 21:38:52 | [Mutex] waiting for: [received:nodes:f5d97107-b372-4385-967c-6e0914989353:localhost]

2021-01-18 21:38:52 | [Mutex] received everything.

2021-01-18 21:38:52 | [Mutex] isItemNotified: received:node:f5d97107-b372-4385-967c-6e0914989353:localhost:node-7ec09a86-80f9-4637-8ac3-0aaf70f8751e:Node 7ec09a86-80f9-4637-8ac3-0aaf70f8751e :: true

deleteNodes 1.023s
2021-01-18 21:38:58 |

2021-01-18 21:38:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:58 | ------------------------------------

2021-01-18 21:38:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7ec09a86-80f9-4637-8ac3-0aaf70f8751e</node></data>

2021-01-18 21:38:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-18 21:38:59 | [Mutex] waiting for: [received:nodes:dd4cc3c4-18c8-42c0-a01c-c8f99c7c1f4a:localhost]

2021-01-18 21:38:59 | [Mutex] received everything.

2021-01-18 21:38:59 | [Mutex] isItemNotified: received:node:dd4cc3c4-18c8-42c0-a01c-c8f99c7c1f4a:localhost:node-7ec09a86-80f9-4637-8ac3-0aaf70f8751e:Node 7ec09a86-80f9-4637-8ac3-0aaf70f8751e :: false

deleteSubnodes 1.124s
2021-01-18 21:38:57 |

2021-01-18 21:38:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:57 | ------------------------------------

2021-01-18 21:38:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8</node></data>

2021-01-18 21:38:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-18 21:38:58 | [Mutex] waiting for: [received:nodes:6380ffa7-9d1c-42ef-9674-47b333715b61:localhost]

2021-01-18 21:38:58 | [Mutex] received everything.

2021-01-18 21:38:58 | [Mutex] isItemNotified: received:node:6380ffa7-9d1c-42ef-9674-47b333715b61:localhost:node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8:Node df8ea312-532a-4ff6-bfb9-8d3de8646cd8 :: false

2021-01-18 21:38:58 | [Mutex] waiting for: [received:nodes:afca49d5-f39b-4255-bfc0-6e7c733b7874:localhost]

2021-01-18 21:38:58 | [Mutex] received everything.

2021-01-18 21:38:58 | [Mutex] isItemNotified: received:node:afca49d5-f39b-4255-bfc0-6e7c733b7874:localhost:node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8:Node df8ea312-532a-4ff6-bfb9-8d3de8646cd8 :: false

publishItemsToNodes 0.247s
2021-01-18 21:38:55 |

2021-01-18 21:38:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:55 | ------------------------------------

2021-01-18 21:38:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8</node><item-id>item-959d4611-a9a5-44e3-8c68-79859b05df63</item-id><entry><test>item-959d4611-a9a5-44e3-8c68-79859b05df63</test></entry></data>

2021-01-18 21:38:55 | 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-959d4611-a9a5-44e3-8c68-79859b05df63</value></item-id></result>

2021-01-18 21:38:55 | [Mutex] waiting for: [published:item:notifieditem-959d4611-a9a5-44e3-8c68-79859b05df63:admin@test-domain.com]

2021-01-18 21:38:55 | [Mutex] received everything.

2021-01-18 21:38:55 | [Mutex] isItemNotified: published:item:notifieditem-959d4611-a9a5-44e3-8c68-79859b05df63:admin@test-domain.com :: true

retractItemsFromNodes 0.343s
2021-01-18 21:38:55 |

2021-01-18 21:38:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:55 | ------------------------------------

2021-01-18 21:38:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8</node><item-id>item-959d4611-a9a5-44e3-8c68-79859b05df63</item-id></data>

2021-01-18 21:38:56 | 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-959d4611-a9a5-44e3-8c68-79859b05df63</value></item-id></result>

2021-01-18 21:38:56 | [Mutex] received everything.

2021-01-18 21:38:56 | [Mutex] isItemNotified: retracted:item:notifieditem-959d4611-a9a5-44e3-8c68-79859b05df63:admin@test-domain.com :: true

retrieveItemsFromNodes 0.233s
2021-01-18 21:38:55 |

2021-01-18 21:38:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:55 | ------------------------------------

2021-01-18 21:38:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8</node><item-id>item-959d4611-a9a5-44e3-8c68-79859b05df63</item-id></data>

2021-01-18 21:38:55 | 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-df8ea312-532a-4ff6-bfb9-8d3de8646cd8</value></node><item-id label="Item ID" type="text-single"><value>item-959d4611-a9a5-44e3-8c68-79859b05df63</value></item-id><item label="Item" type="text-multi"><value><item id="item-959d4611-a9a5-44e3-8c68-79859b05df63"><test>item-959d4611-a9a5-44e3-8c68-79859b05df63</test></item></value></item></result>

2021-01-18 21:38:55 | [Mutex] notify: [retrieved:item:item-959d4611-a9a5-44e3-8c68-79859b05df63:payload-matches:true:localhost]

2021-01-18 21:38:55 | [Mutex] received everything.

2021-01-18 21:38:55 | [Mutex] isItemNotified: retrieved:item:item-959d4611-a9a5-44e3-8c68-79859b05df63:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2021-01-18 21:38:55 |

2021-01-18 21:38:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:55 | ------------------------------------

2021-01-18 21:38:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-18 21:38:55 | 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-df8ea312-532a-4ff6-bfb9-8d3de8646cd8</value><value>node-7ec09a86-80f9-4637-8ac3-0aaf70f8751e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-01-18 21:38:55 |

2021-01-18 21:38:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:55 | ------------------------------------

2021-01-18 21:38:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8)</node-pattern></data>

2021-01-18 21:38:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.119s
2021-01-18 21:38:54 |

2021-01-18 21:38:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:54 | ------------------------------------

2021-01-18 21:38:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-18 21:38:54 | 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-01-18 21:38:56 |

2021-01-18 21:38:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-18 21:38:56 | ------------------------------------

2021-01-18 21:38:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-df8ea312-532a-4ff6-bfb9-8d3de8646cd8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-18 21:38:56 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>