Generated by TestNG with ReportNG at 05:53 PST on Wednesday 27 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.040s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.151s
2021-01-27 06:08:26 |

2021-01-27 06:08:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:26 | ------------------------------------

2021-01-27 06:08:26 | [Mutex] waiting for: [configured:node:node-82d71029-613f-4550-8fa7-97793e136eed:node-f85deb1b-cf6b-41db-8da1-e380145e7b62]

2021-01-27 06:08:26 | [Mutex] received everything.

2021-01-27 06:08:26 | [Mutex] isItemNotified: configured:node:node-82d71029-613f-4550-8fa7-97793e136eed:node-f85deb1b-cf6b-41db-8da1-e380145e7b62 :: true

2021-01-27 06:08:27 | [Mutex] waiting for: [received:nodes:02079d4a-406e-41ea-b123-734dd97510e5:localhost]

2021-01-27 06:08:27 | [Mutex] received everything.

2021-01-27 06:08:27 | [Mutex] isItemNotified: received:node:02079d4a-406e-41ea-b123-734dd97510e5:localhost:node-82d71029-613f-4550-8fa7-97793e136eed:Node 82d71029-613f-4550-8fa7-97793e136eed :: true

2021-01-27 06:08:27 | [Mutex] waiting for: [received:nodes:096d907c-9dbe-4554-b7ad-c783da5565f8:localhost]

2021-01-27 06:08:27 | [Mutex] received everything.

2021-01-27 06:08:27 | [Mutex] isItemNotified: received:node:096d907c-9dbe-4554-b7ad-c783da5565f8:localhost:node-82d71029-613f-4550-8fa7-97793e136eed:Node 82d71029-613f-4550-8fa7-97793e136eed :: false

createNodes 1.423s
2021-01-27 06:08:24 |

2021-01-27 06:08:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:24 | ------------------------------------

2021-01-27 06:08:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-82d71029-613f-4550-8fa7-97793e136eed</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 82d71029-613f-4550-8fa7-97793e136eed</title></pubsub></data>

2021-01-27 06:08:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 06:08:25 | [Mutex] waiting for: [received:nodes:dce216c7-1ed4-4b63-91ba-ca244b385d10:localhost]

2021-01-27 06:08:25 | [Mutex] received everything.

2021-01-27 06:08:25 | [Mutex] isItemNotified: received:node:dce216c7-1ed4-4b63-91ba-ca244b385d10:localhost:node-82d71029-613f-4550-8fa7-97793e136eed:Node 82d71029-613f-4550-8fa7-97793e136eed :: true

createSubnodes 1.025s
2021-01-27 06:08:25 |

2021-01-27 06:08:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:25 | ------------------------------------

2021-01-27 06:08:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f85deb1b-cf6b-41db-8da1-e380145e7b62</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f85deb1b-cf6b-41db-8da1-e380145e7b62</title></pubsub></data>

2021-01-27 06:08:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 06:08:26 | [Mutex] waiting for: [received:nodes:718d87b7-2699-4aad-9c8a-d7b7611ffd4e:localhost]

2021-01-27 06:08:26 | [Mutex] received everything.

2021-01-27 06:08:26 | [Mutex] isItemNotified: received:node:718d87b7-2699-4aad-9c8a-d7b7611ffd4e:localhost:node-f85deb1b-cf6b-41db-8da1-e380145e7b62:Node f85deb1b-cf6b-41db-8da1-e380145e7b62 :: true

deleteNodes 1.025s
2021-01-27 06:08:32 |

2021-01-27 06:08:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:32 | ------------------------------------

2021-01-27 06:08:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f85deb1b-cf6b-41db-8da1-e380145e7b62</node></data>

2021-01-27 06:08:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 06:08:33 | [Mutex] waiting for: [received:nodes:27c4abf8-fbee-469f-8f92-8b8b47582b77:localhost]

2021-01-27 06:08:33 | [Mutex] received everything.

2021-01-27 06:08:33 | [Mutex] isItemNotified: received:node:27c4abf8-fbee-469f-8f92-8b8b47582b77:localhost:node-f85deb1b-cf6b-41db-8da1-e380145e7b62:Node f85deb1b-cf6b-41db-8da1-e380145e7b62 :: false

deleteSubnodes 1.133s
2021-01-27 06:08:31 |

2021-01-27 06:08:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:31 | ------------------------------------

2021-01-27 06:08:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-82d71029-613f-4550-8fa7-97793e136eed</node></data>

2021-01-27 06:08:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-01-27 06:08:32 | [Mutex] waiting for: [received:nodes:2a283f6b-16c8-4bd0-b2d4-99bc252f3c53:localhost]

2021-01-27 06:08:32 | [Mutex] received everything.

2021-01-27 06:08:32 | [Mutex] isItemNotified: received:node:2a283f6b-16c8-4bd0-b2d4-99bc252f3c53:localhost:node-82d71029-613f-4550-8fa7-97793e136eed:Node 82d71029-613f-4550-8fa7-97793e136eed :: false

2021-01-27 06:08:32 | [Mutex] waiting for: [received:nodes:7d1c1a7d-4152-4df9-b12d-fe0964b79578:localhost]

2021-01-27 06:08:32 | [Mutex] received everything.

2021-01-27 06:08:32 | [Mutex] isItemNotified: received:node:7d1c1a7d-4152-4df9-b12d-fe0964b79578:localhost:node-82d71029-613f-4550-8fa7-97793e136eed:Node 82d71029-613f-4550-8fa7-97793e136eed :: false

publishItemsToNodes 0.244s
2021-01-27 06:08:28 |

2021-01-27 06:08:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:28 | ------------------------------------

2021-01-27 06:08:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-82d71029-613f-4550-8fa7-97793e136eed</node><item-id>item-6f9003e2-36a9-4912-8334-3606ae31ddbf</item-id><entry><test>item-6f9003e2-36a9-4912-8334-3606ae31ddbf</test></entry></data>

2021-01-27 06:08:29 | 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-6f9003e2-36a9-4912-8334-3606ae31ddbf</value></item-id></result>

2021-01-27 06:08:29 | [Mutex] waiting for: [published:item:notifieditem-6f9003e2-36a9-4912-8334-3606ae31ddbf:admin@test-domain.com]

2021-01-27 06:08:29 | [Mutex] received everything.

2021-01-27 06:08:29 | [Mutex] isItemNotified: published:item:notifieditem-6f9003e2-36a9-4912-8334-3606ae31ddbf:admin@test-domain.com :: true

retractItemsFromNodes 0.220s
2021-01-27 06:08:29 |

2021-01-27 06:08:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:29 | ------------------------------------

2021-01-27 06:08:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-82d71029-613f-4550-8fa7-97793e136eed</node><item-id>item-6f9003e2-36a9-4912-8334-3606ae31ddbf</item-id></data>

2021-01-27 06:08:29 | 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-6f9003e2-36a9-4912-8334-3606ae31ddbf</value></item-id></result>

2021-01-27 06:08:29 | [Mutex] waiting for: [retracted:item:notifieditem-6f9003e2-36a9-4912-8334-3606ae31ddbf:admin@test-domain.com]

2021-01-27 06:08:29 | [Mutex] received everything.

2021-01-27 06:08:29 | [Mutex] isItemNotified: retracted:item:notifieditem-6f9003e2-36a9-4912-8334-3606ae31ddbf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.326s
2021-01-27 06:08:29 |

2021-01-27 06:08:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:29 | ------------------------------------

2021-01-27 06:08:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-82d71029-613f-4550-8fa7-97793e136eed</node><item-id>item-6f9003e2-36a9-4912-8334-3606ae31ddbf</item-id></data>

2021-01-27 06:08:29 | 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-82d71029-613f-4550-8fa7-97793e136eed</value></node><item-id label="Item ID" type="text-single"><value>item-6f9003e2-36a9-4912-8334-3606ae31ddbf</value></item-id><item label="Item" type="text-multi"><value><item id="item-6f9003e2-36a9-4912-8334-3606ae31ddbf"><test>item-6f9003e2-36a9-4912-8334-3606ae31ddbf</test></item></value></item></result>

2021-01-27 06:08:29 | [Mutex] notify: [retrieved:item:item-6f9003e2-36a9-4912-8334-3606ae31ddbf:payload-matches:true:localhost]

2021-01-27 06:08:29 | [Mutex] received everything.

2021-01-27 06:08:29 | [Mutex] isItemNotified: retrieved:item:item-6f9003e2-36a9-4912-8334-3606ae31ddbf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-01-27 06:08:29 |

2021-01-27 06:08:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:29 | ------------------------------------

2021-01-27 06:08:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-01-27 06:08:29 | 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-f85deb1b-cf6b-41db-8da1-e380145e7b62</value><value>node-82d71029-613f-4550-8fa7-97793e136eed</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-01-27 06:08:29 |

2021-01-27 06:08:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:29 | ------------------------------------

2021-01-27 06:08:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-82d71029-613f-4550-8fa7-97793e136eed)</node-pattern></data>

2021-01-27 06:08:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.138s
2021-01-27 06:08:27 |

2021-01-27 06:08:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:27 | ------------------------------------

2021-01-27 06:08:27 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-82d71029-613f-4550-8fa7-97793e136eed</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.224s
2021-01-27 06:08:29 |

2021-01-27 06:08:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-27 06:08:29 | ------------------------------------

2021-01-27 06:08:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-82d71029-613f-4550-8fa7-97793e136eed</node><jids><value>admin@test-domain.com</value></jids></data>

2021-01-27 06:08:30 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>