Generated by TestNG with ReportNG at 19:33 PDT on Tuesday 01 September 2020
root@45eef7750236 / 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.721s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.130s
2020-09-01 19:49:53 |

2020-09-01 19:49:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:53 | ------------------------------------

2020-09-01 19:49:53 | [Mutex] waiting for: [configured:node:node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7:node-b622e655-04b4-4e04-a4a0-c27718b749a4]

2020-09-01 19:49:53 | [Mutex] received everything.

2020-09-01 19:49:53 | [Mutex] isItemNotified: configured:node:node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7:node-b622e655-04b4-4e04-a4a0-c27718b749a4 :: true

2020-09-01 19:49:54 | [Mutex] waiting for: [received:nodes:dfb666e0-faa1-40ed-b7c5-2e5abf2819a5:localhost]

2020-09-01 19:49:54 | [Mutex] received everything.

2020-09-01 19:49:54 | [Mutex] isItemNotified: received:node:dfb666e0-faa1-40ed-b7c5-2e5abf2819a5:localhost:node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7:Node 28e48e0f-708a-461c-9ec3-d8f1d289b0f7 :: true

2020-09-01 19:49:54 | [Mutex] waiting for: [received:nodes:aa4273a8-2b35-4c41-b342-73f7c5b31722:localhost]

2020-09-01 19:49:54 | [Mutex] received everything.

2020-09-01 19:49:54 | [Mutex] isItemNotified: received:node:aa4273a8-2b35-4c41-b342-73f7c5b31722:localhost:node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7:Node 28e48e0f-708a-461c-9ec3-d8f1d289b0f7 :: false

createNodes 1.396s
2020-09-01 19:49:50 |

2020-09-01 19:49:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:50 | ------------------------------------

2020-09-01 19:49:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 28e48e0f-708a-461c-9ec3-d8f1d289b0f7</title></pubsub></data>

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

2020-09-01 19:49:52 | [Mutex] waiting for: [received:nodes:824b848b-bbda-44e1-86a2-c020c48b5be9:localhost]

2020-09-01 19:49:52 | [Mutex] waiting for: [received:nodes:824b848b-bbda-44e1-86a2-c020c48b5be9:localhost]

2020-09-01 19:49:52 | [Mutex] received everything.

2020-09-01 19:49:52 | [Mutex] isItemNotified: received:node:824b848b-bbda-44e1-86a2-c020c48b5be9:localhost:node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7:Node 28e48e0f-708a-461c-9ec3-d8f1d289b0f7 :: true

createSubnodes 1.027s
2020-09-01 19:49:52 |

2020-09-01 19:49:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:52 | ------------------------------------

2020-09-01 19:49:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b622e655-04b4-4e04-a4a0-c27718b749a4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b622e655-04b4-4e04-a4a0-c27718b749a4</title></pubsub></data>

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

2020-09-01 19:49:53 | [Mutex] waiting for: [received:nodes:e4ab23f4-4bc9-4a91-9270-aa244ccdc734:localhost]

2020-09-01 19:49:53 | [Mutex] received everything.

2020-09-01 19:49:53 | [Mutex] isItemNotified: received:node:e4ab23f4-4bc9-4a91-9270-aa244ccdc734:localhost:node-b622e655-04b4-4e04-a4a0-c27718b749a4:Node b622e655-04b4-4e04-a4a0-c27718b749a4 :: true

deleteNodes 1.018s
2020-09-01 19:49:58 |

2020-09-01 19:49:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:58 | ------------------------------------

2020-09-01 19:49:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b622e655-04b4-4e04-a4a0-c27718b749a4</node></data>

2020-09-01 19:49:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-01 19:49:59 | [Mutex] waiting for: [received:nodes:cb501867-50e0-4745-bb00-a66a399c8b2a:localhost]

2020-09-01 19:49:59 | [Mutex] received everything.

2020-09-01 19:49:59 | [Mutex] isItemNotified: received:node:cb501867-50e0-4745-bb00-a66a399c8b2a:localhost:node-b622e655-04b4-4e04-a4a0-c27718b749a4:Node b622e655-04b4-4e04-a4a0-c27718b749a4 :: false

deleteSubnodes 1.125s
2020-09-01 19:49:57 |

2020-09-01 19:49:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:57 | ------------------------------------

2020-09-01 19:49:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7</node></data>

2020-09-01 19:49:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-01 19:49:58 | [Mutex] waiting for: [received:nodes:521bf4d1-8ad5-44c6-b0ec-12ecfe616259:localhost]

2020-09-01 19:49:58 | [Mutex] waiting for: [received:nodes:521bf4d1-8ad5-44c6-b0ec-12ecfe616259:localhost]

2020-09-01 19:49:58 | [Mutex] waiting for: [received:nodes:521bf4d1-8ad5-44c6-b0ec-12ecfe616259:localhost]

2020-09-01 19:49:58 | [Mutex] received everything.

2020-09-01 19:49:58 | [Mutex] isItemNotified: received:node:521bf4d1-8ad5-44c6-b0ec-12ecfe616259:localhost:node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7:Node 28e48e0f-708a-461c-9ec3-d8f1d289b0f7 :: false

2020-09-01 19:49:58 | [Mutex] waiting for: [received:nodes:1be49faa-36cc-4c97-951e-486d443da629:localhost]

2020-09-01 19:49:58 | [Mutex] received everything.

2020-09-01 19:49:58 | [Mutex] isItemNotified: received:node:1be49faa-36cc-4c97-951e-486d443da629:localhost:node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7:Node 28e48e0f-708a-461c-9ec3-d8f1d289b0f7 :: false

publishItemsToNodes 0.195s
2020-09-01 19:49:55 |

2020-09-01 19:49:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:55 | ------------------------------------

2020-09-01 19:49:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7</node><item-id>item-7fc00bcc-9a22-48c3-8750-f469a796fc08</item-id><entry><test>item-7fc00bcc-9a22-48c3-8750-f469a796fc08</test></entry></data>

2020-09-01 19:49: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-7fc00bcc-9a22-48c3-8750-f469a796fc08</value></item-id></result>

2020-09-01 19:49:55 | [Mutex] received everything.

2020-09-01 19:49:55 | [Mutex] isItemNotified: published:item:notifieditem-7fc00bcc-9a22-48c3-8750-f469a796fc08:admin@test-domain.com :: true

retractItemsFromNodes 0.209s
2020-09-01 19:49:56 |

2020-09-01 19:49:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:56 | ------------------------------------

2020-09-01 19:49:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7</node><item-id>item-7fc00bcc-9a22-48c3-8750-f469a796fc08</item-id></data>

2020-09-01 19:49: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-7fc00bcc-9a22-48c3-8750-f469a796fc08</value></item-id></result>

2020-09-01 19:49:56 | [Mutex] received everything.

2020-09-01 19:49:56 | [Mutex] isItemNotified: retracted:item:notifieditem-7fc00bcc-9a22-48c3-8750-f469a796fc08:admin@test-domain.com :: true

retrieveItemsFromNodes 0.293s
2020-09-01 19:49:55 |

2020-09-01 19:49:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:55 | ------------------------------------

2020-09-01 19:49:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7</node><item-id>item-7fc00bcc-9a22-48c3-8750-f469a796fc08</item-id></data>

2020-09-01 19:49: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-28e48e0f-708a-461c-9ec3-d8f1d289b0f7</value></node><item-id label="Item ID" type="text-single"><value>item-7fc00bcc-9a22-48c3-8750-f469a796fc08</value></item-id><item label="Item" type="text-multi"><value><item id="item-7fc00bcc-9a22-48c3-8750-f469a796fc08"><test>item-7fc00bcc-9a22-48c3-8750-f469a796fc08</test></item></value></item></result>

2020-09-01 19:49:55 | [Mutex] notify: [retrieved:item:item-7fc00bcc-9a22-48c3-8750-f469a796fc08:payload-matches:true:localhost]

2020-09-01 19:49:55 | [Mutex] received everything.

2020-09-01 19:49:55 | [Mutex] isItemNotified: retrieved:item:item-7fc00bcc-9a22-48c3-8750-f469a796fc08:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-01 19:49:55 |

2020-09-01 19:49:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:55 | ------------------------------------

2020-09-01 19:49:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-01 19:49:56 | 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-b622e655-04b4-4e04-a4a0-c27718b749a4</value><value>node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-01 19:49:56 |

2020-09-01 19:49:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:56 | ------------------------------------

2020-09-01 19:49:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7)</node-pattern></data>

2020-09-01 19:49:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.084s
2020-09-01 19:49:54 |

2020-09-01 19:49:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:54 | ------------------------------------

2020-09-01 19:49:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-01 19:49: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.163s
2020-09-01 19:49:56 |

2020-09-01 19:49:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 19:49:56 | ------------------------------------

2020-09-01 19:49:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-28e48e0f-708a-461c-9ec3-d8f1d289b0f7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-01 19:49:56 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>