Generated by TestNG with ReportNG at 22:13 PDT on Wednesday 24 March 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.070s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.132s
2021-03-24 22:30:19 |

2021-03-24 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:19 | ------------------------------------

2021-03-24 22:30:19 | [Mutex] waiting for: [configured:node:node-96e82e23-54b4-43b1-8d6e-933606828b8a:node-5965812f-389b-4ba3-9852-fb8b425ef664]

2021-03-24 22:30:19 | [Mutex] received everything.

2021-03-24 22:30:19 | [Mutex] isItemNotified: configured:node:node-96e82e23-54b4-43b1-8d6e-933606828b8a:node-5965812f-389b-4ba3-9852-fb8b425ef664 :: true

2021-03-24 22:30:20 | [Mutex] waiting for: [received:nodes:103df817-dd7e-4f38-b67b-6c9dd55c783f:localhost]

2021-03-24 22:30:20 | [Mutex] received everything.

2021-03-24 22:30:20 | [Mutex] isItemNotified: received:node:103df817-dd7e-4f38-b67b-6c9dd55c783f:localhost:node-96e82e23-54b4-43b1-8d6e-933606828b8a:Node 96e82e23-54b4-43b1-8d6e-933606828b8a :: true

2021-03-24 22:30:20 | [Mutex] waiting for: [received:nodes:965521f4-43ed-4bb8-85df-80865e582554:localhost]

2021-03-24 22:30:20 | [Mutex] received everything.

2021-03-24 22:30:20 | [Mutex] isItemNotified: received:node:965521f4-43ed-4bb8-85df-80865e582554:localhost:node-96e82e23-54b4-43b1-8d6e-933606828b8a:Node 96e82e23-54b4-43b1-8d6e-933606828b8a :: false

createNodes 1.360s
2021-03-24 22:30:16 |

2021-03-24 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:16 | ------------------------------------

2021-03-24 22:30:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-96e82e23-54b4-43b1-8d6e-933606828b8a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 96e82e23-54b4-43b1-8d6e-933606828b8a</title></pubsub></data>

2021-03-24 22:30:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-24 22:30:18 | [Mutex] waiting for: [received:nodes:f5258b79-0282-49a8-8a95-0add587a3826:localhost]

2021-03-24 22:30:18 | [Mutex] received everything.

2021-03-24 22:30:18 | [Mutex] isItemNotified: received:node:f5258b79-0282-49a8-8a95-0add587a3826:localhost:node-96e82e23-54b4-43b1-8d6e-933606828b8a:Node 96e82e23-54b4-43b1-8d6e-933606828b8a :: true

createSubnodes 1.027s
2021-03-24 22:30:18 |

2021-03-24 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:18 | ------------------------------------

2021-03-24 22:30:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5965812f-389b-4ba3-9852-fb8b425ef664</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5965812f-389b-4ba3-9852-fb8b425ef664</title></pubsub></data>

2021-03-24 22:30:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-24 22:30:19 | [Mutex] waiting for: [received:nodes:c4ac79c7-6485-4459-9f59-4fd6121fba72:localhost]

2021-03-24 22:30:19 | [Mutex] received everything.

2021-03-24 22:30:19 | [Mutex] isItemNotified: received:node:c4ac79c7-6485-4459-9f59-4fd6121fba72:localhost:node-5965812f-389b-4ba3-9852-fb8b425ef664:Node 5965812f-389b-4ba3-9852-fb8b425ef664 :: true

deleteNodes 1.019s
2021-03-24 22:30:25 |

2021-03-24 22:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:25 | ------------------------------------

2021-03-24 22:30:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5965812f-389b-4ba3-9852-fb8b425ef664</node></data>

2021-03-24 22:30:25 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-24 22:30:26 | [Mutex] waiting for: [received:nodes:6640190b-bf68-4154-936d-f35ddcf99c76:localhost]

2021-03-24 22:30:26 | [Mutex] received everything.

2021-03-24 22:30:26 | [Mutex] isItemNotified: received:node:6640190b-bf68-4154-936d-f35ddcf99c76:localhost:node-5965812f-389b-4ba3-9852-fb8b425ef664:Node 5965812f-389b-4ba3-9852-fb8b425ef664 :: false

deleteSubnodes 1.159s
2021-03-24 22:30:23 |

2021-03-24 22:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:23 | ------------------------------------

2021-03-24 22:30:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-96e82e23-54b4-43b1-8d6e-933606828b8a</node></data>

2021-03-24 22:30:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-24 22:30:25 | [Mutex] waiting for: [received:nodes:f779cac6-6a59-4303-9c7b-fa1be90c8c95:localhost]

2021-03-24 22:30:25 | [Mutex] waiting for: [received:nodes:f779cac6-6a59-4303-9c7b-fa1be90c8c95:localhost]

2021-03-24 22:30:25 | [Mutex] received everything.

2021-03-24 22:30:25 | [Mutex] isItemNotified: received:node:f779cac6-6a59-4303-9c7b-fa1be90c8c95:localhost:node-96e82e23-54b4-43b1-8d6e-933606828b8a:Node 96e82e23-54b4-43b1-8d6e-933606828b8a :: false

2021-03-24 22:30:25 | [Mutex] waiting for: [received:nodes:a0abcb93-e7fe-474c-898e-cd1f48a790bb:localhost]

2021-03-24 22:30:25 | [Mutex] received everything.

2021-03-24 22:30:25 | [Mutex] isItemNotified: received:node:a0abcb93-e7fe-474c-898e-cd1f48a790bb:localhost:node-96e82e23-54b4-43b1-8d6e-933606828b8a:Node 96e82e23-54b4-43b1-8d6e-933606828b8a :: false

publishItemsToNodes 0.240s
2021-03-24 22:30:21 |

2021-03-24 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:21 | ------------------------------------

2021-03-24 22:30:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-96e82e23-54b4-43b1-8d6e-933606828b8a</node><item-id>item-efdb2f49-064f-4438-b4e5-0793a55319a7</item-id><entry><test>item-efdb2f49-064f-4438-b4e5-0793a55319a7</test></entry></data>

2021-03-24 22:30:21 | 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-efdb2f49-064f-4438-b4e5-0793a55319a7</value></item-id></result>

2021-03-24 22:30:21 | [Mutex] waiting for: [published:item:notifieditem-efdb2f49-064f-4438-b4e5-0793a55319a7:admin@test-domain.com]

2021-03-24 22:30:21 | [Mutex] received everything.

2021-03-24 22:30:21 | [Mutex] isItemNotified: published:item:notifieditem-efdb2f49-064f-4438-b4e5-0793a55319a7:admin@test-domain.com :: true

retractItemsFromNodes 0.263s
2021-03-24 22:30:22 |

2021-03-24 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:22 | ------------------------------------

2021-03-24 22:30:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-96e82e23-54b4-43b1-8d6e-933606828b8a</node><item-id>item-efdb2f49-064f-4438-b4e5-0793a55319a7</item-id></data>

2021-03-24 22:30:22 | 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-efdb2f49-064f-4438-b4e5-0793a55319a7</value></item-id></result>

2021-03-24 22:30:22 | [Mutex] received everything.

2021-03-24 22:30:22 | [Mutex] isItemNotified: retracted:item:notifieditem-efdb2f49-064f-4438-b4e5-0793a55319a7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.264s
2021-03-24 22:30:21 |

2021-03-24 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:21 | ------------------------------------

2021-03-24 22:30:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-96e82e23-54b4-43b1-8d6e-933606828b8a</node><item-id>item-efdb2f49-064f-4438-b4e5-0793a55319a7</item-id></data>

2021-03-24 22:30:22 | 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-96e82e23-54b4-43b1-8d6e-933606828b8a</value></node><item-id label="Item ID" type="text-single"><value>item-efdb2f49-064f-4438-b4e5-0793a55319a7</value></item-id><item label="Item" type="text-multi"><value><item id="item-efdb2f49-064f-4438-b4e5-0793a55319a7"><test>item-efdb2f49-064f-4438-b4e5-0793a55319a7</test></item></value></item></result>

2021-03-24 22:30:22 | [Mutex] notify: [retrieved:item:item-efdb2f49-064f-4438-b4e5-0793a55319a7:payload-matches:true:localhost]

2021-03-24 22:30:22 | [Mutex] received everything.

2021-03-24 22:30:22 | [Mutex] isItemNotified: retrieved:item:item-efdb2f49-064f-4438-b4e5-0793a55319a7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2021-03-24 22:30:22 |

2021-03-24 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:22 | ------------------------------------

2021-03-24 22:30:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-24 22:30:22 | 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-96e82e23-54b4-43b1-8d6e-933606828b8a</value><value>node-5965812f-389b-4ba3-9852-fb8b425ef664</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-03-24 22:30:22 |

2021-03-24 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:22 | ------------------------------------

2021-03-24 22:30:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-96e82e23-54b4-43b1-8d6e-933606828b8a)</node-pattern></data>

2021-03-24 22:30:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.206s
2021-03-24 22:30:20 |

2021-03-24 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:20 | ------------------------------------

2021-03-24 22:30:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-96e82e23-54b4-43b1-8d6e-933606828b8a</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-24 22:30:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.391s
2021-03-24 22:30:22 |

2021-03-24 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-24 22:30:22 | ------------------------------------

2021-03-24 22:30:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-96e82e23-54b4-43b1-8d6e-933606828b8a</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-24 22:30:22 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>