Generated by TestNG with ReportNG at 00:04 PDT on Tuesday 21 September 2021
root@f29ef40080b5 / 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.090s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.043s
2021-09-21 00:18:55 |

2021-09-21 00:18:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:18:55 | ------------------------------------

2021-09-21 00:18:55 | [Mutex] waiting for: [configured:node:node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d:node-d43223eb-33c4-4b7f-a089-c987abe1162d]

2021-09-21 00:18:55 | [Mutex] received everything.

2021-09-21 00:18:55 | [Mutex] isItemNotified: configured:node:node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d:node-d43223eb-33c4-4b7f-a089-c987abe1162d :: true

2021-09-21 00:18:56 | [Mutex] waiting for: [received:nodes:7b070dc9-8bab-4247-adea-98202534cb7b:localhost]

2021-09-21 00:18:56 | [Mutex] received everything.

2021-09-21 00:18:56 | [Mutex] isItemNotified: received:node:7b070dc9-8bab-4247-adea-98202534cb7b:localhost:node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d:Node 9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d :: true

2021-09-21 00:18:56 | [Mutex] waiting for: [received:nodes:9d59ba01-6e25-49b7-b396-42a7ae4f0dd5:localhost]

2021-09-21 00:18:56 | [Mutex] waiting for: [received:nodes:9d59ba01-6e25-49b7-b396-42a7ae4f0dd5:localhost]

2021-09-21 00:18:56 | [Mutex] received everything.

2021-09-21 00:18:56 | [Mutex] isItemNotified: received:node:9d59ba01-6e25-49b7-b396-42a7ae4f0dd5:localhost:node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d:Node 9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d :: false

createNodes 1.503s
2021-09-21 00:18:52 |

2021-09-21 00:18:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:18:52 | ------------------------------------

2021-09-21 00:18:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d</title></pubsub></data>

2021-09-21 00:18:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-21 00:18:54 | [Mutex] waiting for: [received:nodes:46621a29-7255-4659-8559-c615eb7fb4fa:localhost]

2021-09-21 00:18:54 | [Mutex] received everything.

2021-09-21 00:18:54 | [Mutex] isItemNotified: received:node:46621a29-7255-4659-8559-c615eb7fb4fa:localhost:node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d:Node 9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d :: true

createSubnodes 1.036s
2021-09-21 00:18:54 |

2021-09-21 00:18:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:18:54 | ------------------------------------

2021-09-21 00:18:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d43223eb-33c4-4b7f-a089-c987abe1162d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d43223eb-33c4-4b7f-a089-c987abe1162d</title></pubsub></data>

2021-09-21 00:18:54 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-21 00:18:55 | [Mutex] waiting for: [received:nodes:818c911a-c84f-40ed-9c20-5cfb0233568e:localhost]

2021-09-21 00:18:55 | [Mutex] received everything.

2021-09-21 00:18:55 | [Mutex] isItemNotified: received:node:818c911a-c84f-40ed-9c20-5cfb0233568e:localhost:node-d43223eb-33c4-4b7f-a089-c987abe1162d:Node d43223eb-33c4-4b7f-a089-c987abe1162d :: true

deleteNodes 1.016s
2021-09-21 00:19:01 |

2021-09-21 00:19:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:19:01 | ------------------------------------

2021-09-21 00:19:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d43223eb-33c4-4b7f-a089-c987abe1162d</node></data>

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

2021-09-21 00:19:02 | [Mutex] waiting for: [received:nodes:8c800250-e558-4793-850f-d218c98b2c74:localhost]

2021-09-21 00:19:02 | [Mutex] received everything.

2021-09-21 00:19:02 | [Mutex] isItemNotified: received:node:8c800250-e558-4793-850f-d218c98b2c74:localhost:node-d43223eb-33c4-4b7f-a089-c987abe1162d:Node d43223eb-33c4-4b7f-a089-c987abe1162d :: false

deleteSubnodes 1.129s
2021-09-21 00:19:00 |

2021-09-21 00:19:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:19:00 | ------------------------------------

2021-09-21 00:19:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d</node></data>

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

2021-09-21 00:19:01 | [Mutex] waiting for: [received:nodes:1bde06ae-9848-4d19-8f6b-6d5efc0af483:localhost]

2021-09-21 00:19:01 | [Mutex] received everything.

2021-09-21 00:19:01 | [Mutex] isItemNotified: received:node:1bde06ae-9848-4d19-8f6b-6d5efc0af483:localhost:node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d:Node 9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d :: false

2021-09-21 00:19:01 | [Mutex] waiting for: [received:nodes:20ebb961-9bbb-48c4-ba9b-b70535eaed08:localhost]

2021-09-21 00:19:01 | [Mutex] received everything.

2021-09-21 00:19:01 | [Mutex] isItemNotified: received:node:20ebb961-9bbb-48c4-ba9b-b70535eaed08:localhost:node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d:Node 9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d :: false

publishItemsToNodes 0.252s
2021-09-21 00:18:57 |

2021-09-21 00:18:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:18:57 | ------------------------------------

2021-09-21 00:18:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d</node><item-id>item-08da826c-96cd-4a55-8bdc-6192ca28b3be</item-id><entry><test>item-08da826c-96cd-4a55-8bdc-6192ca28b3be</test></entry></data>

2021-09-21 00:18: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-08da826c-96cd-4a55-8bdc-6192ca28b3be</value></item-id></result>

2021-09-21 00:18:57 | [Mutex] waiting for: [published:item:notifieditem-08da826c-96cd-4a55-8bdc-6192ca28b3be:admin@test-domain.com]

2021-09-21 00:18:57 | [Mutex] received everything.

2021-09-21 00:18:57 | [Mutex] isItemNotified: published:item:notifieditem-08da826c-96cd-4a55-8bdc-6192ca28b3be:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2021-09-21 00:18:58 |

2021-09-21 00:18:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:18:58 | ------------------------------------

2021-09-21 00:18:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d</node><item-id>item-08da826c-96cd-4a55-8bdc-6192ca28b3be</item-id></data>

2021-09-21 00:18: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-08da826c-96cd-4a55-8bdc-6192ca28b3be</value></item-id></result>

2021-09-21 00:18:58 | [Mutex] received everything.

2021-09-21 00:18:58 | [Mutex] isItemNotified: retracted:item:notifieditem-08da826c-96cd-4a55-8bdc-6192ca28b3be:admin@test-domain.com :: true

retrieveItemsFromNodes 0.353s
2021-09-21 00:18:57 |

2021-09-21 00:18:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:18:57 | ------------------------------------

2021-09-21 00:18:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d</node><item-id>item-08da826c-96cd-4a55-8bdc-6192ca28b3be</item-id></data>

2021-09-21 00:18:58 | 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-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d</value></node><item-id type="text-single" label="Item ID"><value>item-08da826c-96cd-4a55-8bdc-6192ca28b3be</value></item-id><item type="text-multi" label="Item"><value><item id="item-08da826c-96cd-4a55-8bdc-6192ca28b3be"><test>item-08da826c-96cd-4a55-8bdc-6192ca28b3be</test></item></value></item></result>

2021-09-21 00:18:58 | [Mutex] notify: [retrieved:item:item-08da826c-96cd-4a55-8bdc-6192ca28b3be:payload-matches:true:localhost]

2021-09-21 00:18:58 | [Mutex] received everything.

2021-09-21 00:18:58 | [Mutex] isItemNotified: retrieved:item:item-08da826c-96cd-4a55-8bdc-6192ca28b3be:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-09-21 00:18:58 |

2021-09-21 00:18:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:18:58 | ------------------------------------

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

2021-09-21 00:18:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d43223eb-33c4-4b7f-a089-c987abe1162d</value><value>test</value><value>node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-09-21 00:18:58 |

2021-09-21 00:18:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:18:58 | ------------------------------------

2021-09-21 00:18:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d)</node-pattern></data>

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

subscribeNodes 1.136s
2021-09-21 00:18:56 |

2021-09-21 00:18:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:18:56 | ------------------------------------

2021-09-21 00:18:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-21 00:18: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.355s
2021-09-21 00:18:58 |

2021-09-21 00:18:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-21 00:18:58 | ------------------------------------

2021-09-21 00:18:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-9cb85a99-f9e3-4a34-bbbb-70abe99d0b1d</node><jids><value>admin@test-domain.com</value></jids></data>

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