Generated by TestNG with ReportNG at 21:13 PST on Sunday 14 February 2021
root@43fec6d4badf / 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.235s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-02-14 21:29:32 |

2021-02-14 21:29:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:32 | ------------------------------------

2021-02-14 21:29:32 | [Mutex] waiting for: [configured:node:node-b900f938-366b-4222-9b3c-6e6f78fe73fe:node-3039377b-cc4e-45a5-8741-dd054e5812cd]

2021-02-14 21:29:32 | [Mutex] received everything.

2021-02-14 21:29:32 | [Mutex] isItemNotified: configured:node:node-b900f938-366b-4222-9b3c-6e6f78fe73fe:node-3039377b-cc4e-45a5-8741-dd054e5812cd :: true

2021-02-14 21:29:33 | [Mutex] waiting for: [received:nodes:7977553d-2714-4861-bb1b-bdaa74614141:localhost]

2021-02-14 21:29:33 | [Mutex] received everything.

2021-02-14 21:29:33 | [Mutex] isItemNotified: received:node:7977553d-2714-4861-bb1b-bdaa74614141:localhost:node-b900f938-366b-4222-9b3c-6e6f78fe73fe:Node b900f938-366b-4222-9b3c-6e6f78fe73fe :: true

2021-02-14 21:29:33 | [Mutex] waiting for: [received:nodes:29ab5b72-4512-4e4e-9268-7efae21dafcc:localhost]

2021-02-14 21:29:33 | [Mutex] received everything.

2021-02-14 21:29:33 | [Mutex] isItemNotified: received:node:29ab5b72-4512-4e4e-9268-7efae21dafcc:localhost:node-b900f938-366b-4222-9b3c-6e6f78fe73fe:Node b900f938-366b-4222-9b3c-6e6f78fe73fe :: false

createNodes 1.522s
2021-02-14 21:29:29 |

2021-02-14 21:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:29 | ------------------------------------

2021-02-14 21:29:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b900f938-366b-4222-9b3c-6e6f78fe73fe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b900f938-366b-4222-9b3c-6e6f78fe73fe</title></pubsub></data>

2021-02-14 21:29:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-14 21:29:31 | [Mutex] waiting for: [received:nodes:426cdd76-325c-4484-a660-bb2284bb033b:localhost]

2021-02-14 21:29:31 | [Mutex] waiting for: [received:nodes:426cdd76-325c-4484-a660-bb2284bb033b:localhost]

2021-02-14 21:29:31 | [Mutex] received everything.

2021-02-14 21:29:31 | [Mutex] isItemNotified: received:node:426cdd76-325c-4484-a660-bb2284bb033b:localhost:node-b900f938-366b-4222-9b3c-6e6f78fe73fe:Node b900f938-366b-4222-9b3c-6e6f78fe73fe :: true

createSubnodes 1.028s
2021-02-14 21:29:31 |

2021-02-14 21:29:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:31 | ------------------------------------

2021-02-14 21:29:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3039377b-cc4e-45a5-8741-dd054e5812cd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3039377b-cc4e-45a5-8741-dd054e5812cd</title></pubsub></data>

2021-02-14 21:29:31 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-14 21:29:32 | [Mutex] waiting for: [received:nodes:f4c96a7b-db64-4a6b-b2e6-13c58d0e8104:localhost]

2021-02-14 21:29:32 | [Mutex] received everything.

2021-02-14 21:29:32 | [Mutex] isItemNotified: received:node:f4c96a7b-db64-4a6b-b2e6-13c58d0e8104:localhost:node-3039377b-cc4e-45a5-8741-dd054e5812cd:Node 3039377b-cc4e-45a5-8741-dd054e5812cd :: true

deleteNodes 1.031s
2021-02-14 21:29:37 |

2021-02-14 21:29:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:37 | ------------------------------------

2021-02-14 21:29:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3039377b-cc4e-45a5-8741-dd054e5812cd</node></data>

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

2021-02-14 21:29:38 | [Mutex] waiting for: [received:nodes:cc8ba696-c25c-42e1-bf75-f5596a93cd2c:localhost]

2021-02-14 21:29:38 | [Mutex] received everything.

2021-02-14 21:29:38 | [Mutex] isItemNotified: received:node:cc8ba696-c25c-42e1-bf75-f5596a93cd2c:localhost:node-3039377b-cc4e-45a5-8741-dd054e5812cd:Node 3039377b-cc4e-45a5-8741-dd054e5812cd :: false

deleteSubnodes 1.113s
2021-02-14 21:29:36 |

2021-02-14 21:29:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:36 | ------------------------------------

2021-02-14 21:29:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b900f938-366b-4222-9b3c-6e6f78fe73fe</node></data>

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

2021-02-14 21:29:37 | [Mutex] waiting for: [received:nodes:1478f3ce-1fee-494d-a1be-fc5fc8cdbaae:localhost]

2021-02-14 21:29:37 | [Mutex] received everything.

2021-02-14 21:29:37 | [Mutex] isItemNotified: received:node:1478f3ce-1fee-494d-a1be-fc5fc8cdbaae:localhost:node-b900f938-366b-4222-9b3c-6e6f78fe73fe:Node b900f938-366b-4222-9b3c-6e6f78fe73fe :: false

2021-02-14 21:29:37 | [Mutex] waiting for: [received:nodes:f256d50d-ed95-4cc8-bfde-45e86ee111b1:localhost]

2021-02-14 21:29:37 | [Mutex] received everything.

2021-02-14 21:29:37 | [Mutex] isItemNotified: received:node:f256d50d-ed95-4cc8-bfde-45e86ee111b1:localhost:node-b900f938-366b-4222-9b3c-6e6f78fe73fe:Node b900f938-366b-4222-9b3c-6e6f78fe73fe :: false

publishItemsToNodes 0.225s
2021-02-14 21:29:34 |

2021-02-14 21:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:34 | ------------------------------------

2021-02-14 21:29:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b900f938-366b-4222-9b3c-6e6f78fe73fe</node><item-id>item-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e</item-id><entry><test>item-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e</test></entry></data>

2021-02-14 21:29:34 | 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-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e</value></item-id></result>

2021-02-14 21:29:34 | [Mutex] waiting for: [published:item:notifieditem-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e:admin@test-domain.com]

2021-02-14 21:29:34 | [Mutex] received everything.

2021-02-14 21:29:34 | [Mutex] isItemNotified: published:item:notifieditem-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e:admin@test-domain.com :: true

retractItemsFromNodes 0.371s
2021-02-14 21:29:35 |

2021-02-14 21:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:35 | ------------------------------------

2021-02-14 21:29:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b900f938-366b-4222-9b3c-6e6f78fe73fe</node><item-id>item-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e</item-id></data>

2021-02-14 21:29:35 | 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-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e</value></item-id></result>

2021-02-14 21:29:35 | [Mutex] received everything.

2021-02-14 21:29:35 | [Mutex] isItemNotified: retracted:item:notifieditem-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.268s
2021-02-14 21:29:34 |

2021-02-14 21:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:34 | ------------------------------------

2021-02-14 21:29:34 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b900f938-366b-4222-9b3c-6e6f78fe73fe</node><item-id>item-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e</item-id></data>

2021-02-14 21:29:34 | 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-b900f938-366b-4222-9b3c-6e6f78fe73fe</value></node><item-id label="Item ID" type="text-single"><value>item-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e</value></item-id><item label="Item" type="text-multi"><value><item id="item-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e"><test>item-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e</test></item></value></item></result>

2021-02-14 21:29:34 | [Mutex] notify: [retrieved:item:item-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e:payload-matches:true:localhost]

2021-02-14 21:29:34 | [Mutex] received everything.

2021-02-14 21:29:34 | [Mutex] isItemNotified: retrieved:item:item-bfa7f8f3-5dfc-44b8-ac22-cb2bf38dc39e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-02-14 21:29:34 |

2021-02-14 21:29:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:34 | ------------------------------------

2021-02-14 21:29:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-14 21:29:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b900f938-366b-4222-9b3c-6e6f78fe73fe</value><value>test</value><value>node-3039377b-cc4e-45a5-8741-dd054e5812cd</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-02-14 21:29:35 |

2021-02-14 21:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:35 | ------------------------------------

2021-02-14 21:29:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b900f938-366b-4222-9b3c-6e6f78fe73fe)</node-pattern></data>

2021-02-14 21:29:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.161s
2021-02-14 21:29:33 |

2021-02-14 21:29:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:33 | ------------------------------------

2021-02-14 21:29:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b900f938-366b-4222-9b3c-6e6f78fe73fe</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-14 21:29:33 | 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
2021-02-14 21:29:35 |

2021-02-14 21:29:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-14 21:29:35 | ------------------------------------

2021-02-14 21:29:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b900f938-366b-4222-9b3c-6e6f78fe73fe</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-14 21:29:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>