Generated by TestNG with ReportNG at 22:52 PDT on Friday 18 September 2020
root@f53a97fae7d2 / 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.938s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2020-09-18 23:06:55 |

2020-09-18 23:06:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 23:06:55 | ------------------------------------

2020-09-18 23:06:55 | [Mutex] waiting for: [configured:node:node-9e69b02b-1bbf-4925-aaad-0197610dd9da:node-e191e8f6-18ce-4077-83a2-53baad6c8233]

2020-09-18 23:06:55 | [Mutex] received everything.

2020-09-18 23:06:55 | [Mutex] isItemNotified: configured:node:node-9e69b02b-1bbf-4925-aaad-0197610dd9da:node-e191e8f6-18ce-4077-83a2-53baad6c8233 :: true

2020-09-18 23:06:56 | [Mutex] waiting for: [received:nodes:b510098f-b7a6-478e-b5d0-a8422a8cbfa3:localhost]

2020-09-18 23:06:56 | [Mutex] received everything.

2020-09-18 23:06:56 | [Mutex] isItemNotified: received:node:b510098f-b7a6-478e-b5d0-a8422a8cbfa3:localhost:node-9e69b02b-1bbf-4925-aaad-0197610dd9da:Node 9e69b02b-1bbf-4925-aaad-0197610dd9da :: true

2020-09-18 23:06:56 | [Mutex] waiting for: [received:nodes:66352c2b-1eb2-4ff6-84c0-7ab3befac117:localhost]

2020-09-18 23:06:56 | [Mutex] received everything.

2020-09-18 23:06:56 | [Mutex] isItemNotified: received:node:66352c2b-1eb2-4ff6-84c0-7ab3befac117:localhost:node-9e69b02b-1bbf-4925-aaad-0197610dd9da:Node 9e69b02b-1bbf-4925-aaad-0197610dd9da :: false

createNodes 1.438s
2020-09-18 23:06:52 |

2020-09-18 23:06:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 23:06:52 | ------------------------------------

2020-09-18 23:06:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9e69b02b-1bbf-4925-aaad-0197610dd9da</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9e69b02b-1bbf-4925-aaad-0197610dd9da</title></pubsub></data>

2020-09-18 23:06:53 | 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 23:06:54 | [Mutex] waiting for: [received:nodes:a62ae3d4-ca73-4963-b6fd-129ba5e224f5:localhost]

2020-09-18 23:06:54 | [Mutex] received everything.

2020-09-18 23:06:54 | [Mutex] isItemNotified: received:node:a62ae3d4-ca73-4963-b6fd-129ba5e224f5:localhost:node-9e69b02b-1bbf-4925-aaad-0197610dd9da:Node 9e69b02b-1bbf-4925-aaad-0197610dd9da :: true

createSubnodes 1.024s
2020-09-18 23:06:54 |

2020-09-18 23:06:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 23:06:54 | ------------------------------------

2020-09-18 23:06:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e191e8f6-18ce-4077-83a2-53baad6c8233</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e191e8f6-18ce-4077-83a2-53baad6c8233</title></pubsub></data>

2020-09-18 23:06:54 | 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 23:06:55 | [Mutex] waiting for: [received:nodes:63fce5c6-a973-43c0-acf0-f5ed77a0fe4c:localhost]

2020-09-18 23:06:55 | [Mutex] received everything.

2020-09-18 23:06:55 | [Mutex] isItemNotified: received:node:63fce5c6-a973-43c0-acf0-f5ed77a0fe4c:localhost:node-e191e8f6-18ce-4077-83a2-53baad6c8233:Node e191e8f6-18ce-4077-83a2-53baad6c8233 :: true

deleteNodes 1.016s
2020-09-18 23:07:00 |

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

2020-09-18 23:07:00 | ------------------------------------

2020-09-18 23:07:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e191e8f6-18ce-4077-83a2-53baad6c8233</node></data>

2020-09-18 23:07:00 | 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 23:07:01 | [Mutex] waiting for: [received:nodes:76187046-7934-4ecc-bc64-1677dddb48f3:localhost]

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

2020-09-18 23:07:01 | [Mutex] isItemNotified: received:node:76187046-7934-4ecc-bc64-1677dddb48f3:localhost:node-e191e8f6-18ce-4077-83a2-53baad6c8233:Node e191e8f6-18ce-4077-83a2-53baad6c8233 :: false

deleteSubnodes 1.127s
2020-09-18 23:06:59 |

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

2020-09-18 23:06:59 | ------------------------------------

2020-09-18 23:06:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9e69b02b-1bbf-4925-aaad-0197610dd9da</node></data>

2020-09-18 23:06:59 | 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 23:07:00 | [Mutex] waiting for: [received:nodes:8c8e7897-cf88-4b62-a6ea-b40e3eaf5bb9:localhost]

2020-09-18 23:07:00 | [Mutex] received everything.

2020-09-18 23:07:00 | [Mutex] isItemNotified: received:node:8c8e7897-cf88-4b62-a6ea-b40e3eaf5bb9:localhost:node-9e69b02b-1bbf-4925-aaad-0197610dd9da:Node 9e69b02b-1bbf-4925-aaad-0197610dd9da :: false

2020-09-18 23:07:00 | [Mutex] waiting for: [received:nodes:ffc54b55-9831-4661-b16f-4238773d125b:localhost]

2020-09-18 23:07:00 | [Mutex] received everything.

2020-09-18 23:07:00 | [Mutex] isItemNotified: received:node:ffc54b55-9831-4661-b16f-4238773d125b:localhost:node-9e69b02b-1bbf-4925-aaad-0197610dd9da:Node 9e69b02b-1bbf-4925-aaad-0197610dd9da :: false

publishItemsToNodes 0.217s
2020-09-18 23:06:57 |

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

2020-09-18 23:06:57 | ------------------------------------

2020-09-18 23:06:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9e69b02b-1bbf-4925-aaad-0197610dd9da</node><item-id>item-ed336d50-24fd-440d-9462-d9d64deb2a3e</item-id><entry><test>item-ed336d50-24fd-440d-9462-d9d64deb2a3e</test></entry></data>

2020-09-18 23:06:57 | 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-ed336d50-24fd-440d-9462-d9d64deb2a3e</value></item-id></result>

2020-09-18 23:06:57 | [Mutex] received everything.

2020-09-18 23:06:57 | [Mutex] isItemNotified: published:item:notifieditem-ed336d50-24fd-440d-9462-d9d64deb2a3e:admin@test-domain.com :: true

retractItemsFromNodes 0.284s
2020-09-18 23:06:57 |

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

2020-09-18 23:06:57 | ------------------------------------

2020-09-18 23:06:57 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9e69b02b-1bbf-4925-aaad-0197610dd9da</node><item-id>item-ed336d50-24fd-440d-9462-d9d64deb2a3e</item-id></data>

2020-09-18 23:06:58 | 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-ed336d50-24fd-440d-9462-d9d64deb2a3e</value></item-id></result>

2020-09-18 23:06:58 | [Mutex] received everything.

2020-09-18 23:06:58 | [Mutex] isItemNotified: retracted:item:notifieditem-ed336d50-24fd-440d-9462-d9d64deb2a3e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.211s
2020-09-18 23:06:57 |

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

2020-09-18 23:06:57 | ------------------------------------

2020-09-18 23:06:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9e69b02b-1bbf-4925-aaad-0197610dd9da</node><item-id>item-ed336d50-24fd-440d-9462-d9d64deb2a3e</item-id></data>

2020-09-18 23:06:57 | 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-9e69b02b-1bbf-4925-aaad-0197610dd9da</value></node><item-id type="text-single" label="Item ID"><value>item-ed336d50-24fd-440d-9462-d9d64deb2a3e</value></item-id><item type="text-multi" label="Item"><value><item id="item-ed336d50-24fd-440d-9462-d9d64deb2a3e"><test>item-ed336d50-24fd-440d-9462-d9d64deb2a3e</test></item></value></item></result>

2020-09-18 23:06:57 | [Mutex] notify: [retrieved:item:item-ed336d50-24fd-440d-9462-d9d64deb2a3e:payload-matches:true:localhost]

2020-09-18 23:06:57 | [Mutex] received everything.

2020-09-18 23:06:57 | [Mutex] isItemNotified: retrieved:item:item-ed336d50-24fd-440d-9462-d9d64deb2a3e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-09-18 23:06:57 |

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

2020-09-18 23:06:57 | ------------------------------------

2020-09-18 23:06:57 | 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 23:06:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-9e69b02b-1bbf-4925-aaad-0197610dd9da</value><value>test</value><value>node-e191e8f6-18ce-4077-83a2-53baad6c8233</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-18 23:06:57 |

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

2020-09-18 23:06:57 | ------------------------------------

2020-09-18 23:06:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9e69b02b-1bbf-4925-aaad-0197610dd9da)</node-pattern></data>

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

subscribeNodes 1.131s
2020-09-18 23:06:56 |

2020-09-18 23:06:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-18 23:06:56 | ------------------------------------

2020-09-18 23:06:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9e69b02b-1bbf-4925-aaad-0197610dd9da</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.306s
2020-09-18 23:06:58 |

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

2020-09-18 23:06:58 | ------------------------------------

2020-09-18 23:06:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9e69b02b-1bbf-4925-aaad-0197610dd9da</node><jids><value>admin@test-domain.com</value></jids></data>

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