Generated by TestNG with ReportNG at 20:05 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 : 10.014s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2020-09-01 20:19:47 |

2020-09-01 20:19:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:47 | ------------------------------------

2020-09-01 20:19:47 | [Mutex] waiting for: [configured:node:node-611c6c38-a774-4a78-9b3e-2a08bc67852d:node-8841973a-d2a5-4b7c-86a0-96f45471b485]

2020-09-01 20:19:47 | [Mutex] received everything.

2020-09-01 20:19:47 | [Mutex] isItemNotified: configured:node:node-611c6c38-a774-4a78-9b3e-2a08bc67852d:node-8841973a-d2a5-4b7c-86a0-96f45471b485 :: true

2020-09-01 20:19:48 | [Mutex] waiting for: [received:nodes:1096d6a5-e9f7-481f-84dc-a97d83fb3a81:localhost]

2020-09-01 20:19:48 | [Mutex] received everything.

2020-09-01 20:19:48 | [Mutex] isItemNotified: received:node:1096d6a5-e9f7-481f-84dc-a97d83fb3a81:localhost:node-611c6c38-a774-4a78-9b3e-2a08bc67852d:Node 611c6c38-a774-4a78-9b3e-2a08bc67852d :: true

2020-09-01 20:19:48 | [Mutex] waiting for: [received:nodes:b5e7a050-5b8a-485c-ab21-516159e1f6f6:localhost]

2020-09-01 20:19:48 | [Mutex] received everything.

2020-09-01 20:19:48 | [Mutex] isItemNotified: received:node:b5e7a050-5b8a-485c-ab21-516159e1f6f6:localhost:node-611c6c38-a774-4a78-9b3e-2a08bc67852d:Node 611c6c38-a774-4a78-9b3e-2a08bc67852d :: false

createNodes 1.506s
2020-09-01 20:19:45 |

2020-09-01 20:19:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:45 | ------------------------------------

2020-09-01 20:19:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-611c6c38-a774-4a78-9b3e-2a08bc67852d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 611c6c38-a774-4a78-9b3e-2a08bc67852d</title></pubsub></data>

2020-09-01 20:19:45 | 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 20:19:46 | [Mutex] waiting for: [received:nodes:9ca031f0-d02e-45e2-bbc7-1701bd929d9c:localhost]

2020-09-01 20:19:46 | [Mutex] received everything.

2020-09-01 20:19:46 | [Mutex] isItemNotified: received:node:9ca031f0-d02e-45e2-bbc7-1701bd929d9c:localhost:node-611c6c38-a774-4a78-9b3e-2a08bc67852d:Node 611c6c38-a774-4a78-9b3e-2a08bc67852d :: true

createSubnodes 1.027s
2020-09-01 20:19:46 |

2020-09-01 20:19:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:46 | ------------------------------------

2020-09-01 20:19:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8841973a-d2a5-4b7c-86a0-96f45471b485</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8841973a-d2a5-4b7c-86a0-96f45471b485</title></pubsub></data>

2020-09-01 20:19:46 | 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 20:19:47 | [Mutex] waiting for: [received:nodes:07b345e4-1643-4401-82c1-961aa4959ab9:localhost]

2020-09-01 20:19:47 | [Mutex] waiting for: [received:nodes:07b345e4-1643-4401-82c1-961aa4959ab9:localhost]

2020-09-01 20:19:47 | [Mutex] received everything.

2020-09-01 20:19:47 | [Mutex] isItemNotified: received:node:07b345e4-1643-4401-82c1-961aa4959ab9:localhost:node-8841973a-d2a5-4b7c-86a0-96f45471b485:Node 8841973a-d2a5-4b7c-86a0-96f45471b485 :: true

deleteNodes 1.021s
2020-09-01 20:19:53 |

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

2020-09-01 20:19:53 | ------------------------------------

2020-09-01 20:19:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8841973a-d2a5-4b7c-86a0-96f45471b485</node></data>

2020-09-01 20:19:53 | 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 20:19:54 | [Mutex] waiting for: [received:nodes:fe1e271d-1a31-45b0-8bf0-70aeafbbc544:localhost]

2020-09-01 20:19:54 | [Mutex] waiting for: [received:nodes:fe1e271d-1a31-45b0-8bf0-70aeafbbc544:localhost]

2020-09-01 20:19:54 | [Mutex] received everything.

2020-09-01 20:19:54 | [Mutex] isItemNotified: received:node:fe1e271d-1a31-45b0-8bf0-70aeafbbc544:localhost:node-8841973a-d2a5-4b7c-86a0-96f45471b485:Node 8841973a-d2a5-4b7c-86a0-96f45471b485 :: false

deleteSubnodes 1.137s
2020-09-01 20:19:52 |

2020-09-01 20:19:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:52 | ------------------------------------

2020-09-01 20:19:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-611c6c38-a774-4a78-9b3e-2a08bc67852d</node></data>

2020-09-01 20:19:52 | 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 20:19:53 | [Mutex] waiting for: [received:nodes:f4537939-a2cf-41ad-bf65-cf1233457cd3:localhost]

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

2020-09-01 20:19:53 | [Mutex] isItemNotified: received:node:f4537939-a2cf-41ad-bf65-cf1233457cd3:localhost:node-611c6c38-a774-4a78-9b3e-2a08bc67852d:Node 611c6c38-a774-4a78-9b3e-2a08bc67852d :: false

2020-09-01 20:19:53 | [Mutex] waiting for: [received:nodes:d193f673-9b56-4409-af4b-c3da6585c3d8:localhost]

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

2020-09-01 20:19:53 | [Mutex] isItemNotified: received:node:d193f673-9b56-4409-af4b-c3da6585c3d8:localhost:node-611c6c38-a774-4a78-9b3e-2a08bc67852d:Node 611c6c38-a774-4a78-9b3e-2a08bc67852d :: false

publishItemsToNodes 0.176s
2020-09-01 20:19:49 |

2020-09-01 20:19:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:49 | ------------------------------------

2020-09-01 20:19:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-611c6c38-a774-4a78-9b3e-2a08bc67852d</node><item-id>item-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d</item-id><entry><test>item-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d</test></entry></data>

2020-09-01 20:19:50 | 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-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d</value></item-id></result>

2020-09-01 20:19:50 | [Mutex] waiting for: [published:item:notifieditem-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d:admin@test-domain.com]

2020-09-01 20:19:50 | [Mutex] received everything.

2020-09-01 20:19:50 | [Mutex] isItemNotified: published:item:notifieditem-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d:admin@test-domain.com :: true

retractItemsFromNodes 0.335s
2020-09-01 20:19:50 |

2020-09-01 20:19:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:50 | ------------------------------------

2020-09-01 20:19:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-611c6c38-a774-4a78-9b3e-2a08bc67852d</node><item-id>item-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d</item-id></data>

2020-09-01 20:19:50 | 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-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d</value></item-id></result>

2020-09-01 20:19:50 | [Mutex] received everything.

2020-09-01 20:19:50 | [Mutex] isItemNotified: retracted:item:notifieditem-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.259s
2020-09-01 20:19:50 |

2020-09-01 20:19:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:50 | ------------------------------------

2020-09-01 20:19:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-611c6c38-a774-4a78-9b3e-2a08bc67852d</node><item-id>item-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d</item-id></data>

2020-09-01 20:19:50 | 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-611c6c38-a774-4a78-9b3e-2a08bc67852d</value></node><item-id label="Item ID" type="text-single"><value>item-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d</value></item-id><item label="Item" type="text-multi"><value><item id="item-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d"><test>item-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d</test></item></value></item></result>

2020-09-01 20:19:50 | [Mutex] notify: [retrieved:item:item-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d:payload-matches:true:localhost]

2020-09-01 20:19:50 | [Mutex] received everything.

2020-09-01 20:19:50 | [Mutex] isItemNotified: retrieved:item:item-aff684b3-e9e1-4bc1-b37a-4ea2f677e21d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2020-09-01 20:19:50 |

2020-09-01 20:19:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:50 | ------------------------------------

2020-09-01 20:19:50 | 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 20:19:50 | 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-8841973a-d2a5-4b7c-86a0-96f45471b485</value><value>node-611c6c38-a774-4a78-9b3e-2a08bc67852d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-01 20:19:50 |

2020-09-01 20:19:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:50 | ------------------------------------

2020-09-01 20:19:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-611c6c38-a774-4a78-9b3e-2a08bc67852d)</node-pattern></data>

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

subscribeNodes 1.138s
2020-09-01 20:19:48 |

2020-09-01 20:19:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:48 | ------------------------------------

2020-09-01 20:19:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-611c6c38-a774-4a78-9b3e-2a08bc67852d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.255s
2020-09-01 20:19:50 |

2020-09-01 20:19:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-01 20:19:50 | ------------------------------------

2020-09-01 20:19:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-611c6c38-a774-4a78-9b3e-2a08bc67852d</node><jids><value>admin@test-domain.com</value></jids></data>

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