Generated by TestNG with ReportNG at 18:37 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.732s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2020-09-01 18:53:10 |

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

2020-09-01 18:53:10 | ------------------------------------

2020-09-01 18:53:10 | [Mutex] waiting for: [configured:node:node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f:node-8619ab96-0626-4322-8876-c27da93f4fd5]

2020-09-01 18:53:10 | [Mutex] received everything.

2020-09-01 18:53:10 | [Mutex] isItemNotified: configured:node:node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f:node-8619ab96-0626-4322-8876-c27da93f4fd5 :: true

2020-09-01 18:53:11 | [Mutex] waiting for: [received:nodes:5c11e426-c4cf-4e0a-b094-8ac928b20ba3:localhost]

2020-09-01 18:53:11 | [Mutex] received everything.

2020-09-01 18:53:11 | [Mutex] isItemNotified: received:node:5c11e426-c4cf-4e0a-b094-8ac928b20ba3:localhost:node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f:Node 08b92588-badd-4da8-ae4a-d0d3cfbbe65f :: true

2020-09-01 18:53:11 | [Mutex] waiting for: [received:nodes:8d61175d-7258-445a-bdcc-52ab056f091f:localhost]

2020-09-01 18:53:11 | [Mutex] received everything.

2020-09-01 18:53:11 | [Mutex] isItemNotified: received:node:8d61175d-7258-445a-bdcc-52ab056f091f:localhost:node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f:Node 08b92588-badd-4da8-ae4a-d0d3cfbbe65f :: false

createNodes 1.423s
2020-09-01 18:53:08 |

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

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

2020-09-01 18:53:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 08b92588-badd-4da8-ae4a-d0d3cfbbe65f</title></pubsub></data>

2020-09-01 18:53:08 | 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 18:53:09 | [Mutex] waiting for: [received:nodes:ee051bba-5f51-4b23-bfef-daf3d952307f:localhost]

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

2020-09-01 18:53:09 | [Mutex] isItemNotified: received:node:ee051bba-5f51-4b23-bfef-daf3d952307f:localhost:node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f:Node 08b92588-badd-4da8-ae4a-d0d3cfbbe65f :: true

createSubnodes 1.023s
2020-09-01 18:53:09 |

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

2020-09-01 18:53:09 | ------------------------------------

2020-09-01 18:53:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8619ab96-0626-4322-8876-c27da93f4fd5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8619ab96-0626-4322-8876-c27da93f4fd5</title></pubsub></data>

2020-09-01 18:53:09 | 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 18:53:10 | [Mutex] waiting for: [received:nodes:8afb5abd-22ff-4c18-8754-58fb000f7fd9:localhost]

2020-09-01 18:53:10 | [Mutex] waiting for: [received:nodes:8afb5abd-22ff-4c18-8754-58fb000f7fd9:localhost]

2020-09-01 18:53:10 | [Mutex] received everything.

2020-09-01 18:53:10 | [Mutex] isItemNotified: received:node:8afb5abd-22ff-4c18-8754-58fb000f7fd9:localhost:node-8619ab96-0626-4322-8876-c27da93f4fd5:Node 8619ab96-0626-4322-8876-c27da93f4fd5 :: true

deleteNodes 1.017s
2020-09-01 18:53:16 |

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

2020-09-01 18:53:16 | ------------------------------------

2020-09-01 18:53:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8619ab96-0626-4322-8876-c27da93f4fd5</node></data>

2020-09-01 18:53:16 | 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 18:53:17 | [Mutex] waiting for: [received:nodes:01b8a346-cdca-4e54-8950-24df6a6321eb:localhost]

2020-09-01 18:53:17 | [Mutex] received everything.

2020-09-01 18:53:17 | [Mutex] isItemNotified: received:node:01b8a346-cdca-4e54-8950-24df6a6321eb:localhost:node-8619ab96-0626-4322-8876-c27da93f4fd5:Node 8619ab96-0626-4322-8876-c27da93f4fd5 :: false

deleteSubnodes 1.143s
2020-09-01 18:53:15 |

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

2020-09-01 18:53:15 | ------------------------------------

2020-09-01 18:53:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f</node></data>

2020-09-01 18:53:15 | 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 18:53:16 | [Mutex] waiting for: [received:nodes:dbc880f1-3607-4142-9bf5-53436cf66884:localhost]

2020-09-01 18:53:16 | [Mutex] received everything.

2020-09-01 18:53:16 | [Mutex] isItemNotified: received:node:dbc880f1-3607-4142-9bf5-53436cf66884:localhost:node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f:Node 08b92588-badd-4da8-ae4a-d0d3cfbbe65f :: false

2020-09-01 18:53:16 | [Mutex] waiting for: [received:nodes:b5e0930e-b6fe-4472-a321-90d4c7ca44e2:localhost]

2020-09-01 18:53:16 | [Mutex] received everything.

2020-09-01 18:53:16 | [Mutex] isItemNotified: received:node:b5e0930e-b6fe-4472-a321-90d4c7ca44e2:localhost:node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f:Node 08b92588-badd-4da8-ae4a-d0d3cfbbe65f :: false

publishItemsToNodes 0.276s
2020-09-01 18:53:12 |

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

2020-09-01 18:53:12 | ------------------------------------

2020-09-01 18:53:12 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f</node><item-id>item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a</item-id><entry><test>item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a</test></entry></data>

2020-09-01 18:53:13 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a</value></item-id></result>

2020-09-01 18:53:13 | [Mutex] waiting for: [published:item:notifieditem-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a:admin@test-domain.com]

2020-09-01 18:53:13 | [Mutex] received everything.

2020-09-01 18:53:13 | [Mutex] isItemNotified: published:item:notifieditem-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a:admin@test-domain.com :: true

retractItemsFromNodes 0.155s
2020-09-01 18:53:13 |

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

2020-09-01 18:53:13 | ------------------------------------

2020-09-01 18:53:13 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f</node><item-id>item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a</item-id></data>

2020-09-01 18:53:13 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a</value></item-id></result>

2020-09-01 18:53:13 | [Mutex] received everything.

2020-09-01 18:53:13 | [Mutex] isItemNotified: retracted:item:notifieditem-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.273s
2020-09-01 18:53:13 |

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

2020-09-01 18:53:13 | ------------------------------------

2020-09-01 18:53:13 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f</node><item-id>item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a</item-id></data>

2020-09-01 18:53:13 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f</value></node><item-id type="text-single" label="Item ID"><value>item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a</value></item-id><item type="text-multi" label="Item"><value><item id="item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a"><test>item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a</test></item></value></item></result>

2020-09-01 18:53:13 | [Mutex] notify: [retrieved:item:item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a:payload-matches:true:localhost]

2020-09-01 18:53:13 | [Mutex] received everything.

2020-09-01 18:53:13 | [Mutex] isItemNotified: retrieved:item:item-7722b78d-d28a-4ddd-a42b-ea5b574ecc3a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2020-09-01 18:53:13 |

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

2020-09-01 18:53:13 | ------------------------------------

2020-09-01 18:53:13 | 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 18:53:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f</value><value>test</value><value>node-8619ab96-0626-4322-8876-c27da93f4fd5</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-01 18:53:13 |

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

2020-09-01 18:53:13 | ------------------------------------

2020-09-01 18:53:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f)</node-pattern></data>

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

subscribeNodes 1.137s
2020-09-01 18:53:11 |

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

2020-09-01 18:53:11 | ------------------------------------

2020-09-01 18:53:11 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.235s
2020-09-01 18:53:13 |

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

2020-09-01 18:53:13 | ------------------------------------

2020-09-01 18:53:13 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-08b92588-badd-4da8-ae4a-d0d3cfbbe65f</node><jids><value>admin@test-domain.com</value></jids></data>

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