Generated by TestNG with ReportNG at 08:01 PDT on Friday 25 June 2021
root@b2c2a8eba6e6 / 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.190s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2021-06-25 08:17:46 |

2021-06-25 08:17:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:46 | ------------------------------------

2021-06-25 08:17:46 | [Mutex] waiting for: [configured:node:node-dc190f5f-a262-4374-a2fa-2b2db9794684:node-e9be4206-b008-49b7-9880-462e9e99e91a]

2021-06-25 08:17:46 | [Mutex] received everything.

2021-06-25 08:17:46 | [Mutex] isItemNotified: configured:node:node-dc190f5f-a262-4374-a2fa-2b2db9794684:node-e9be4206-b008-49b7-9880-462e9e99e91a :: true

2021-06-25 08:17:47 | [Mutex] waiting for: [received:nodes:b35a652b-5b60-4e86-9e74-a3ff5e5def44:localhost]

2021-06-25 08:17:47 | [Mutex] received everything.

2021-06-25 08:17:47 | [Mutex] isItemNotified: received:node:b35a652b-5b60-4e86-9e74-a3ff5e5def44:localhost:node-dc190f5f-a262-4374-a2fa-2b2db9794684:Node dc190f5f-a262-4374-a2fa-2b2db9794684 :: true

2021-06-25 08:17:47 | [Mutex] waiting for: [received:nodes:1fdc0f7f-b419-4d72-bc40-b22a4623ec06:localhost]

2021-06-25 08:17:47 | [Mutex] received everything.

2021-06-25 08:17:47 | [Mutex] isItemNotified: received:node:1fdc0f7f-b419-4d72-bc40-b22a4623ec06:localhost:node-dc190f5f-a262-4374-a2fa-2b2db9794684:Node dc190f5f-a262-4374-a2fa-2b2db9794684 :: false

createNodes 1.521s
2021-06-25 08:17:43 |

2021-06-25 08:17:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:43 | ------------------------------------

2021-06-25 08:17:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dc190f5f-a262-4374-a2fa-2b2db9794684</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dc190f5f-a262-4374-a2fa-2b2db9794684</title></pubsub></data>

2021-06-25 08:17:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 08:17:45 | [Mutex] waiting for: [received:nodes:be951952-52b1-404c-97b0-803ada548d05:localhost]

2021-06-25 08:17:45 | [Mutex] waiting for: [received:nodes:be951952-52b1-404c-97b0-803ada548d05:localhost]

2021-06-25 08:17:45 | [Mutex] waiting for: [received:nodes:be951952-52b1-404c-97b0-803ada548d05:localhost]

2021-06-25 08:17:45 | [Mutex] received everything.

2021-06-25 08:17:45 | [Mutex] isItemNotified: received:node:be951952-52b1-404c-97b0-803ada548d05:localhost:node-dc190f5f-a262-4374-a2fa-2b2db9794684:Node dc190f5f-a262-4374-a2fa-2b2db9794684 :: true

createSubnodes 1.034s
2021-06-25 08:17:45 |

2021-06-25 08:17:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:45 | ------------------------------------

2021-06-25 08:17:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e9be4206-b008-49b7-9880-462e9e99e91a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e9be4206-b008-49b7-9880-462e9e99e91a</title></pubsub></data>

2021-06-25 08:17:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 08:17:46 | [Mutex] waiting for: [received:nodes:4d33af87-a1aa-4186-b4b1-58fce5180257:localhost]

2021-06-25 08:17:46 | [Mutex] waiting for: [received:nodes:4d33af87-a1aa-4186-b4b1-58fce5180257:localhost]

2021-06-25 08:17:46 | [Mutex] received everything.

2021-06-25 08:17:46 | [Mutex] isItemNotified: received:node:4d33af87-a1aa-4186-b4b1-58fce5180257:localhost:node-e9be4206-b008-49b7-9880-462e9e99e91a:Node e9be4206-b008-49b7-9880-462e9e99e91a :: true

deleteNodes 1.025s
2021-06-25 08:17:52 |

2021-06-25 08:17:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:52 | ------------------------------------

2021-06-25 08:17:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e9be4206-b008-49b7-9880-462e9e99e91a</node></data>

2021-06-25 08:17:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 08:17:53 | [Mutex] waiting for: [received:nodes:1893d4d4-9d82-4f1c-86e7-e74cecdc6855:localhost]

2021-06-25 08:17:53 | [Mutex] waiting for: [received:nodes:1893d4d4-9d82-4f1c-86e7-e74cecdc6855:localhost]

2021-06-25 08:17:53 | [Mutex] received everything.

2021-06-25 08:17:53 | [Mutex] isItemNotified: received:node:1893d4d4-9d82-4f1c-86e7-e74cecdc6855:localhost:node-e9be4206-b008-49b7-9880-462e9e99e91a:Node e9be4206-b008-49b7-9880-462e9e99e91a :: false

deleteSubnodes 1.169s
2021-06-25 08:17:51 |

2021-06-25 08:17:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:51 | ------------------------------------

2021-06-25 08:17:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dc190f5f-a262-4374-a2fa-2b2db9794684</node></data>

2021-06-25 08:17:51 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-25 08:17:52 | [Mutex] waiting for: [received:nodes:d9f1d660-51f8-48e3-b99e-b0a40e717683:localhost]

2021-06-25 08:17:52 | [Mutex] received everything.

2021-06-25 08:17:52 | [Mutex] isItemNotified: received:node:d9f1d660-51f8-48e3-b99e-b0a40e717683:localhost:node-dc190f5f-a262-4374-a2fa-2b2db9794684:Node dc190f5f-a262-4374-a2fa-2b2db9794684 :: false

2021-06-25 08:17:52 | [Mutex] waiting for: [received:nodes:8eceb178-0184-4795-971f-d6ba9d0c4975:localhost]

2021-06-25 08:17:52 | [Mutex] received everything.

2021-06-25 08:17:52 | [Mutex] isItemNotified: received:node:8eceb178-0184-4795-971f-d6ba9d0c4975:localhost:node-dc190f5f-a262-4374-a2fa-2b2db9794684:Node dc190f5f-a262-4374-a2fa-2b2db9794684 :: false

publishItemsToNodes 0.317s
2021-06-25 08:17:48 |

2021-06-25 08:17:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:48 | ------------------------------------

2021-06-25 08:17:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dc190f5f-a262-4374-a2fa-2b2db9794684</node><item-id>item-4b811911-eb57-4c41-af63-5cd087b2ece1</item-id><entry><test>item-4b811911-eb57-4c41-af63-5cd087b2ece1</test></entry></data>

2021-06-25 08:17:49 | 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-4b811911-eb57-4c41-af63-5cd087b2ece1</value></item-id></result>

2021-06-25 08:17:49 | [Mutex] received everything.

2021-06-25 08:17:49 | [Mutex] isItemNotified: published:item:notifieditem-4b811911-eb57-4c41-af63-5cd087b2ece1:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2021-06-25 08:17:49 |

2021-06-25 08:17:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:49 | ------------------------------------

2021-06-25 08:17:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dc190f5f-a262-4374-a2fa-2b2db9794684</node><item-id>item-4b811911-eb57-4c41-af63-5cd087b2ece1</item-id></data>

2021-06-25 08:17:49 | 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-4b811911-eb57-4c41-af63-5cd087b2ece1</value></item-id></result>

2021-06-25 08:17:49 | [Mutex] received everything.

2021-06-25 08:17:49 | [Mutex] isItemNotified: retracted:item:notifieditem-4b811911-eb57-4c41-af63-5cd087b2ece1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.272s
2021-06-25 08:17:49 |

2021-06-25 08:17:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:49 | ------------------------------------

2021-06-25 08:17:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dc190f5f-a262-4374-a2fa-2b2db9794684</node><item-id>item-4b811911-eb57-4c41-af63-5cd087b2ece1</item-id></data>

2021-06-25 08:17:49 | 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-dc190f5f-a262-4374-a2fa-2b2db9794684</value></node><item-id type="text-single" label="Item ID"><value>item-4b811911-eb57-4c41-af63-5cd087b2ece1</value></item-id><item type="text-multi" label="Item"><value><item id="item-4b811911-eb57-4c41-af63-5cd087b2ece1"><test>item-4b811911-eb57-4c41-af63-5cd087b2ece1</test></item></value></item></result>

2021-06-25 08:17:49 | [Mutex] notify: [retrieved:item:item-4b811911-eb57-4c41-af63-5cd087b2ece1:payload-matches:true:localhost]

2021-06-25 08:17:49 | [Mutex] received everything.

2021-06-25 08:17:49 | [Mutex] isItemNotified: retrieved:item:item-4b811911-eb57-4c41-af63-5cd087b2ece1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-06-25 08:17:49 |

2021-06-25 08:17:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:49 | ------------------------------------

2021-06-25 08:17:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-25 08:17:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-dc190f5f-a262-4374-a2fa-2b2db9794684</value><value>test</value><value>node-e9be4206-b008-49b7-9880-462e9e99e91a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-06-25 08:17:49 |

2021-06-25 08:17:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:49 | ------------------------------------

2021-06-25 08:17:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dc190f5f-a262-4374-a2fa-2b2db9794684)</node-pattern></data>

2021-06-25 08:17:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.204s
2021-06-25 08:17:47 |

2021-06-25 08:17:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:47 | ------------------------------------

2021-06-25 08:17:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dc190f5f-a262-4374-a2fa-2b2db9794684</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-25 08:17:47 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.351s
2021-06-25 08:17:49 |

2021-06-25 08:17:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-25 08:17:49 | ------------------------------------

2021-06-25 08:17:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dc190f5f-a262-4374-a2fa-2b2db9794684</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-25 08:17:50 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>