Generated by TestNG with ReportNG at 01:53 PDT on Friday 18 September 2020
root@62b09120cfea / 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.846s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2020-09-18 02:07:59 |

2020-09-18 02:07:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:07:59 | ------------------------------------

2020-09-18 02:07:59 | [Mutex] waiting for: [configured:node:node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851:node-469de005-15f1-4e1f-b5f5-b86cb2d2d8b8]

2020-09-18 02:07:59 | [Mutex] received everything.

2020-09-18 02:07:59 | [Mutex] isItemNotified: configured:node:node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851:node-469de005-15f1-4e1f-b5f5-b86cb2d2d8b8 :: true

2020-09-18 02:08:00 | [Mutex] waiting for: [received:nodes:8badb1ae-80a7-43d4-b757-d11ab92bf31c:localhost]

2020-09-18 02:08:00 | [Mutex] received everything.

2020-09-18 02:08:00 | [Mutex] isItemNotified: received:node:8badb1ae-80a7-43d4-b757-d11ab92bf31c:localhost:node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851:Node dac5d714-dd8d-4c02-8b71-ea91ec4d5851 :: true

2020-09-18 02:08:00 | [Mutex] waiting for: [received:nodes:216a2882-7a5e-4713-932a-fc91ddcd9ad8:localhost]

2020-09-18 02:08:00 | [Mutex] received everything.

2020-09-18 02:08:00 | [Mutex] isItemNotified: received:node:216a2882-7a5e-4713-932a-fc91ddcd9ad8:localhost:node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851:Node dac5d714-dd8d-4c02-8b71-ea91ec4d5851 :: false

createNodes 1.369s
2020-09-18 02:07:57 |

2020-09-18 02:07:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:07:57 | ------------------------------------

2020-09-18 02:07:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dac5d714-dd8d-4c02-8b71-ea91ec4d5851</title></pubsub></data>

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

2020-09-18 02:07:58 | [Mutex] waiting for: [received:nodes:6c1481b2-6dda-4984-96ea-00baafe9affa:localhost]

2020-09-18 02:07:58 | [Mutex] received everything.

2020-09-18 02:07:58 | [Mutex] isItemNotified: received:node:6c1481b2-6dda-4984-96ea-00baafe9affa:localhost:node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851:Node dac5d714-dd8d-4c02-8b71-ea91ec4d5851 :: true

createSubnodes 1.023s
2020-09-18 02:07:58 |

2020-09-18 02:07:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:07:58 | ------------------------------------

2020-09-18 02:07:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-469de005-15f1-4e1f-b5f5-b86cb2d2d8b8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 469de005-15f1-4e1f-b5f5-b86cb2d2d8b8</title></pubsub></data>

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

2020-09-18 02:07:59 | [Mutex] waiting for: [received:nodes:0c218b87-0e68-4a9b-9d9f-23f0283cc4a6:localhost]

2020-09-18 02:07:59 | [Mutex] received everything.

2020-09-18 02:07:59 | [Mutex] isItemNotified: received:node:0c218b87-0e68-4a9b-9d9f-23f0283cc4a6:localhost:node-469de005-15f1-4e1f-b5f5-b86cb2d2d8b8:Node 469de005-15f1-4e1f-b5f5-b86cb2d2d8b8 :: true

deleteNodes 1.016s
2020-09-18 02:08:05 |

2020-09-18 02:08:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:08:05 | ------------------------------------

2020-09-18 02:08:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-469de005-15f1-4e1f-b5f5-b86cb2d2d8b8</node></data>

2020-09-18 02:08:05 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-18 02:08:06 | [Mutex] waiting for: [received:nodes:9f5fef48-7dbb-4313-bdb7-857779d26ab2:localhost]

2020-09-18 02:08:06 | [Mutex] waiting for: [received:nodes:9f5fef48-7dbb-4313-bdb7-857779d26ab2:localhost]

2020-09-18 02:08:06 | [Mutex] received everything.

2020-09-18 02:08:06 | [Mutex] isItemNotified: received:node:9f5fef48-7dbb-4313-bdb7-857779d26ab2:localhost:node-469de005-15f1-4e1f-b5f5-b86cb2d2d8b8:Node 469de005-15f1-4e1f-b5f5-b86cb2d2d8b8 :: false

deleteSubnodes 1.105s
2020-09-18 02:08:03 |

2020-09-18 02:08:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:08:03 | ------------------------------------

2020-09-18 02:08:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851</node></data>

2020-09-18 02:08:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-18 02:08:05 | [Mutex] waiting for: [received:nodes:b23856bc-0b92-4a44-8c52-b2072a18ce46:localhost]

2020-09-18 02:08:05 | [Mutex] waiting for: [received:nodes:b23856bc-0b92-4a44-8c52-b2072a18ce46:localhost]

2020-09-18 02:08:05 | [Mutex] waiting for: [received:nodes:b23856bc-0b92-4a44-8c52-b2072a18ce46:localhost]

2020-09-18 02:08:05 | [Mutex] received everything.

2020-09-18 02:08:05 | [Mutex] isItemNotified: received:node:b23856bc-0b92-4a44-8c52-b2072a18ce46:localhost:node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851:Node dac5d714-dd8d-4c02-8b71-ea91ec4d5851 :: false

2020-09-18 02:08:05 | [Mutex] waiting for: [received:nodes:ab00fbcc-9fd6-49fd-a9cf-8fd2ceaeb493:localhost]

2020-09-18 02:08:05 | [Mutex] received everything.

2020-09-18 02:08:05 | [Mutex] isItemNotified: received:node:ab00fbcc-9fd6-49fd-a9cf-8fd2ceaeb493:localhost:node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851:Node dac5d714-dd8d-4c02-8b71-ea91ec4d5851 :: false

publishItemsToNodes 0.249s
2020-09-18 02:08:01 |

2020-09-18 02:08:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:08:01 | ------------------------------------

2020-09-18 02:08:01 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851</node><item-id>item-6403fc30-50fa-4bdd-a56b-5c05793dfedd</item-id><entry><test>item-6403fc30-50fa-4bdd-a56b-5c05793dfedd</test></entry></data>

2020-09-18 02:08:02 | 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-6403fc30-50fa-4bdd-a56b-5c05793dfedd</value></item-id></result>

2020-09-18 02:08:02 | [Mutex] waiting for: [published:item:notifieditem-6403fc30-50fa-4bdd-a56b-5c05793dfedd:admin@test-domain.com]

2020-09-18 02:08:02 | [Mutex] received everything.

2020-09-18 02:08:02 | [Mutex] isItemNotified: published:item:notifieditem-6403fc30-50fa-4bdd-a56b-5c05793dfedd:admin@test-domain.com :: true

retractItemsFromNodes 0.196s
2020-09-18 02:08:02 |

2020-09-18 02:08:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:08:02 | ------------------------------------

2020-09-18 02:08:02 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851</node><item-id>item-6403fc30-50fa-4bdd-a56b-5c05793dfedd</item-id></data>

2020-09-18 02:08:02 | 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-6403fc30-50fa-4bdd-a56b-5c05793dfedd</value></item-id></result>

2020-09-18 02:08:02 | [Mutex] received everything.

2020-09-18 02:08:02 | [Mutex] isItemNotified: retracted:item:notifieditem-6403fc30-50fa-4bdd-a56b-5c05793dfedd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.234s
2020-09-18 02:08:02 |

2020-09-18 02:08:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:08:02 | ------------------------------------

2020-09-18 02:08:02 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851</node><item-id>item-6403fc30-50fa-4bdd-a56b-5c05793dfedd</item-id></data>

2020-09-18 02:08:02 | 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-dac5d714-dd8d-4c02-8b71-ea91ec4d5851</value></node><item-id label="Item ID" type="text-single"><value>item-6403fc30-50fa-4bdd-a56b-5c05793dfedd</value></item-id><item label="Item" type="text-multi"><value><item id="item-6403fc30-50fa-4bdd-a56b-5c05793dfedd"><test>item-6403fc30-50fa-4bdd-a56b-5c05793dfedd</test></item></value></item></result>

2020-09-18 02:08:02 | [Mutex] notify: [retrieved:item:item-6403fc30-50fa-4bdd-a56b-5c05793dfedd:payload-matches:true:localhost]

2020-09-18 02:08:02 | [Mutex] received everything.

2020-09-18 02:08:02 | [Mutex] isItemNotified: retrieved:item:item-6403fc30-50fa-4bdd-a56b-5c05793dfedd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-18 02:08:02 |

2020-09-18 02:08:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:08:02 | ------------------------------------

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

2020-09-18 02:08:02 | 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-469de005-15f1-4e1f-b5f5-b86cb2d2d8b8</value><value>node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.073s
2020-09-18 02:08:02 |

2020-09-18 02:08:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:08:02 | ------------------------------------

2020-09-18 02:08:02 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851)</node-pattern></data>

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

subscribeNodes 1.117s
2020-09-18 02:08:00 |

2020-09-18 02:08:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:08:00 | ------------------------------------

2020-09-18 02:08:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-18 02:08:00 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.264s
2020-09-18 02:08:02 |

2020-09-18 02:08:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 02:08:02 | ------------------------------------

2020-09-18 02:08:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dac5d714-dd8d-4c02-8b71-ea91ec4d5851</node><jids><value>admin@test-domain.com</value></jids></data>

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