Generated by TestNG with ReportNG at 21:29 PST on Tuesday 26 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.105s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2021-01-26 21:44:53 |

2021-01-26 21:44:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:44:53 | ------------------------------------

2021-01-26 21:44:53 | [Mutex] waiting for: [configured:node:node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3:node-d574f802-350c-4c4b-bcbc-ef6c5ff8c1a5]

2021-01-26 21:44:53 | [Mutex] received everything.

2021-01-26 21:44:53 | [Mutex] isItemNotified: configured:node:node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3:node-d574f802-350c-4c4b-bcbc-ef6c5ff8c1a5 :: true

2021-01-26 21:44:54 | [Mutex] waiting for: [received:nodes:505bd024-5a19-453b-88fe-73c704e51b05:localhost]

2021-01-26 21:44:54 | [Mutex] received everything.

2021-01-26 21:44:54 | [Mutex] isItemNotified: received:node:505bd024-5a19-453b-88fe-73c704e51b05:localhost:node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3:Node 7d03d38a-6ffe-4ddb-8cac-c59393d521f3 :: true

2021-01-26 21:44:54 | [Mutex] waiting for: [received:nodes:528b7cd5-cd1d-4ed4-8c50-20991cfc159d:localhost]

2021-01-26 21:44:54 | [Mutex] received everything.

2021-01-26 21:44:54 | [Mutex] isItemNotified: received:node:528b7cd5-cd1d-4ed4-8c50-20991cfc159d:localhost:node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3:Node 7d03d38a-6ffe-4ddb-8cac-c59393d521f3 :: false

createNodes 1.587s
2021-01-26 21:44:51 |

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

2021-01-26 21:44:51 | ------------------------------------

2021-01-26 21:44:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7d03d38a-6ffe-4ddb-8cac-c59393d521f3</title></pubsub></data>

2021-01-26 21:44: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-26 21:44:52 | [Mutex] waiting for: [received:nodes:dab09f7c-a5d7-4375-bbf4-7caf476bef86:localhost]

2021-01-26 21:44:52 | [Mutex] received everything.

2021-01-26 21:44:52 | [Mutex] isItemNotified: received:node:dab09f7c-a5d7-4375-bbf4-7caf476bef86:localhost:node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3:Node 7d03d38a-6ffe-4ddb-8cac-c59393d521f3 :: true

createSubnodes 1.031s
2021-01-26 21:44:52 |

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

2021-01-26 21:44:52 | ------------------------------------

2021-01-26 21:44:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d574f802-350c-4c4b-bcbc-ef6c5ff8c1a5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d574f802-350c-4c4b-bcbc-ef6c5ff8c1a5</title></pubsub></data>

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

2021-01-26 21:44:53 | [Mutex] waiting for: [received:nodes:226f3010-2550-4435-b806-f89618b178e1:localhost]

2021-01-26 21:44:53 | [Mutex] received everything.

2021-01-26 21:44:53 | [Mutex] isItemNotified: received:node:226f3010-2550-4435-b806-f89618b178e1:localhost:node-d574f802-350c-4c4b-bcbc-ef6c5ff8c1a5:Node d574f802-350c-4c4b-bcbc-ef6c5ff8c1a5 :: true

deleteNodes 1.022s
2021-01-26 21:44:59 |

2021-01-26 21:44:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 21:44:59 | ------------------------------------

2021-01-26 21:44:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d574f802-350c-4c4b-bcbc-ef6c5ff8c1a5</node></data>

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

2021-01-26 21:45:00 | [Mutex] waiting for: [received:nodes:3c47a684-b5d6-4931-a7a4-2413b79366e8:localhost]

2021-01-26 21:45:00 | [Mutex] received everything.

2021-01-26 21:45:00 | [Mutex] isItemNotified: received:node:3c47a684-b5d6-4931-a7a4-2413b79366e8:localhost:node-d574f802-350c-4c4b-bcbc-ef6c5ff8c1a5:Node d574f802-350c-4c4b-bcbc-ef6c5ff8c1a5 :: false

deleteSubnodes 1.144s
2021-01-26 21:44:58 |

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

2021-01-26 21:44:58 | ------------------------------------

2021-01-26 21:44:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3</node></data>

2021-01-26 21:44: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-26 21:44:59 | [Mutex] waiting for: [received:nodes:2f833cbb-a131-4f19-90cd-e827dbbf8a9a:localhost]

2021-01-26 21:44:59 | [Mutex] received everything.

2021-01-26 21:44:59 | [Mutex] isItemNotified: received:node:2f833cbb-a131-4f19-90cd-e827dbbf8a9a:localhost:node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3:Node 7d03d38a-6ffe-4ddb-8cac-c59393d521f3 :: false

2021-01-26 21:44:59 | [Mutex] waiting for: [received:nodes:df59a6e6-01d5-4eb9-869f-fc517f33f75f:localhost]

2021-01-26 21:44:59 | [Mutex] received everything.

2021-01-26 21:44:59 | [Mutex] isItemNotified: received:node:df59a6e6-01d5-4eb9-869f-fc517f33f75f:localhost:node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3:Node 7d03d38a-6ffe-4ddb-8cac-c59393d521f3 :: false

publishItemsToNodes 0.214s
2021-01-26 21:44:56 |

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

2021-01-26 21:44:56 | ------------------------------------

2021-01-26 21:44:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3</node><item-id>item-c7095c9f-0819-4ee9-b1de-3788c8b8830d</item-id><entry><test>item-c7095c9f-0819-4ee9-b1de-3788c8b8830d</test></entry></data>

2021-01-26 21:44:56 | 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-c7095c9f-0819-4ee9-b1de-3788c8b8830d</value></item-id></result>

2021-01-26 21:44:56 | [Mutex] waiting for: [published:item:notifieditem-c7095c9f-0819-4ee9-b1de-3788c8b8830d:admin@test-domain.com]

2021-01-26 21:44:56 | [Mutex] received everything.

2021-01-26 21:44:56 | [Mutex] isItemNotified: published:item:notifieditem-c7095c9f-0819-4ee9-b1de-3788c8b8830d:admin@test-domain.com :: true

retractItemsFromNodes 0.234s
2021-01-26 21:44:56 |

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

2021-01-26 21:44:56 | ------------------------------------

2021-01-26 21:44:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3</node><item-id>item-c7095c9f-0819-4ee9-b1de-3788c8b8830d</item-id></data>

2021-01-26 21:44: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-c7095c9f-0819-4ee9-b1de-3788c8b8830d</value></item-id></result>

2021-01-26 21:44:56 | [Mutex] waiting for: [retracted:item:notifieditem-c7095c9f-0819-4ee9-b1de-3788c8b8830d:admin@test-domain.com]

2021-01-26 21:44:56 | [Mutex] received everything.

2021-01-26 21:44:56 | [Mutex] isItemNotified: retracted:item:notifieditem-c7095c9f-0819-4ee9-b1de-3788c8b8830d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.269s
2021-01-26 21:44:56 |

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

2021-01-26 21:44:56 | ------------------------------------

2021-01-26 21:44:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3</node><item-id>item-c7095c9f-0819-4ee9-b1de-3788c8b8830d</item-id></data>

2021-01-26 21:44:56 | 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-7d03d38a-6ffe-4ddb-8cac-c59393d521f3</value></node><item-id label="Item ID" type="text-single"><value>item-c7095c9f-0819-4ee9-b1de-3788c8b8830d</value></item-id><item label="Item" type="text-multi"><value><item id="item-c7095c9f-0819-4ee9-b1de-3788c8b8830d"><test>item-c7095c9f-0819-4ee9-b1de-3788c8b8830d</test></item></value></item></result>

2021-01-26 21:44:56 | [Mutex] notify: [retrieved:item:item-c7095c9f-0819-4ee9-b1de-3788c8b8830d:payload-matches:true:localhost]

2021-01-26 21:44:56 | [Mutex] received everything.

2021-01-26 21:44:56 | [Mutex] isItemNotified: retrieved:item:item-c7095c9f-0819-4ee9-b1de-3788c8b8830d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-26 21:44:56 |

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

2021-01-26 21:44:56 | ------------------------------------

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

2021-01-26 21:44: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-7d03d38a-6ffe-4ddb-8cac-c59393d521f3</value><value>node-d574f802-350c-4c4b-bcbc-ef6c5ff8c1a5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-01-26 21:44:56 |

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

2021-01-26 21:44:56 | ------------------------------------

2021-01-26 21:44: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-7d03d38a-6ffe-4ddb-8cac-c59393d521f3)</node-pattern></data>

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

subscribeNodes 1.095s
2021-01-26 21:44:54 |

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

2021-01-26 21:44:54 | ------------------------------------

2021-01-26 21:44:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-26 21:44:55 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.296s
2021-01-26 21:44:56 |

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

2021-01-26 21:44:56 | ------------------------------------

2021-01-26 21:44:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7d03d38a-6ffe-4ddb-8cac-c59393d521f3</node><jids><value>admin@test-domain.com</value></jids></data>

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