Generated by TestNG with ReportNG at 21:17 PST on Wednesday 23 February 2022
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.167s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2022-02-23 21:32:45 |

2022-02-23 21:32:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:45 | ------------------------------------

2022-02-23 21:32:45 | [Mutex] waiting for: [configured:node:node-04262f87-9ac0-42d9-8eb4-7a0ca4505811:node-074cd270-6a62-4a53-91fe-c6195bcd2328]

2022-02-23 21:32:46 | [Mutex] received everything.

2022-02-23 21:32:46 | [Mutex] isItemNotified: configured:node:node-04262f87-9ac0-42d9-8eb4-7a0ca4505811:node-074cd270-6a62-4a53-91fe-c6195bcd2328 :: true

2022-02-23 21:32:47 | [Mutex] waiting for: [received:nodes:26603d71-07cc-40b3-993e-2919156c8881:localhost]

2022-02-23 21:32:47 | [Mutex] received everything.

2022-02-23 21:32:47 | [Mutex] isItemNotified: received:node:26603d71-07cc-40b3-993e-2919156c8881:localhost:node-04262f87-9ac0-42d9-8eb4-7a0ca4505811:Node 04262f87-9ac0-42d9-8eb4-7a0ca4505811 :: true

2022-02-23 21:32:47 | [Mutex] waiting for: [received:nodes:7b005b32-1742-44fd-b5db-3437973a9ab7:localhost]

2022-02-23 21:32:47 | [Mutex] received everything.

2022-02-23 21:32:47 | [Mutex] isItemNotified: received:node:7b005b32-1742-44fd-b5db-3437973a9ab7:localhost:node-04262f87-9ac0-42d9-8eb4-7a0ca4505811:Node 04262f87-9ac0-42d9-8eb4-7a0ca4505811 :: false

createNodes 1.535s
2022-02-23 21:32:43 |

2022-02-23 21:32:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:43 | ------------------------------------

2022-02-23 21:32:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-04262f87-9ac0-42d9-8eb4-7a0ca4505811</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 04262f87-9ac0-42d9-8eb4-7a0ca4505811</title></pubsub></data>

2022-02-23 21:32:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-23 21:32:44 | [Mutex] waiting for: [received:nodes:73111c90-fec3-4fb9-8ab9-f92baa993c04:localhost]

2022-02-23 21:32:44 | [Mutex] received everything.

2022-02-23 21:32:44 | [Mutex] isItemNotified: received:node:73111c90-fec3-4fb9-8ab9-f92baa993c04:localhost:node-04262f87-9ac0-42d9-8eb4-7a0ca4505811:Node 04262f87-9ac0-42d9-8eb4-7a0ca4505811 :: true

createSubnodes 1.030s
2022-02-23 21:32:44 |

2022-02-23 21:32:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:44 | ------------------------------------

2022-02-23 21:32:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-074cd270-6a62-4a53-91fe-c6195bcd2328</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 074cd270-6a62-4a53-91fe-c6195bcd2328</title></pubsub></data>

2022-02-23 21:32:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-23 21:32:45 | [Mutex] waiting for: [received:nodes:a7b56ce5-8d0a-4341-804f-b7592a467bbc:localhost]

2022-02-23 21:32:45 | [Mutex] received everything.

2022-02-23 21:32:45 | [Mutex] isItemNotified: received:node:a7b56ce5-8d0a-4341-804f-b7592a467bbc:localhost:node-074cd270-6a62-4a53-91fe-c6195bcd2328:Node 074cd270-6a62-4a53-91fe-c6195bcd2328 :: true

deleteNodes 1.024s
2022-02-23 21:32:51 |

2022-02-23 21:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:51 | ------------------------------------

2022-02-23 21:32:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-074cd270-6a62-4a53-91fe-c6195bcd2328</node></data>

2022-02-23 21:32:51 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-23 21:32:52 | [Mutex] waiting for: [received:nodes:857ac49f-7e57-49f9-8643-5ab33485eedf:localhost]

2022-02-23 21:32:52 | [Mutex] received everything.

2022-02-23 21:32:52 | [Mutex] isItemNotified: received:node:857ac49f-7e57-49f9-8643-5ab33485eedf:localhost:node-074cd270-6a62-4a53-91fe-c6195bcd2328:Node 074cd270-6a62-4a53-91fe-c6195bcd2328 :: false

deleteSubnodes 1.195s
2022-02-23 21:32:50 |

2022-02-23 21:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:50 | ------------------------------------

2022-02-23 21:32:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-04262f87-9ac0-42d9-8eb4-7a0ca4505811</node></data>

2022-02-23 21:32:50 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-23 21:32:51 | [Mutex] waiting for: [received:nodes:2c504679-ce9c-41df-a06a-02473323ba6e:localhost]

2022-02-23 21:32:51 | [Mutex] received everything.

2022-02-23 21:32:51 | [Mutex] isItemNotified: received:node:2c504679-ce9c-41df-a06a-02473323ba6e:localhost:node-04262f87-9ac0-42d9-8eb4-7a0ca4505811:Node 04262f87-9ac0-42d9-8eb4-7a0ca4505811 :: false

2022-02-23 21:32:51 | [Mutex] waiting for: [received:nodes:46adf075-cef6-439e-b1bc-b55745d408e4:localhost]

2022-02-23 21:32:51 | [Mutex] received everything.

2022-02-23 21:32:51 | [Mutex] isItemNotified: received:node:46adf075-cef6-439e-b1bc-b55745d408e4:localhost:node-04262f87-9ac0-42d9-8eb4-7a0ca4505811:Node 04262f87-9ac0-42d9-8eb4-7a0ca4505811 :: false

publishItemsToNodes 0.331s
2022-02-23 21:32:48 |

2022-02-23 21:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:48 | ------------------------------------

2022-02-23 21:32:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-04262f87-9ac0-42d9-8eb4-7a0ca4505811</node><item-id>item-e21a68e6-80be-4a2c-91e8-a15640d68993</item-id><entry><test>item-e21a68e6-80be-4a2c-91e8-a15640d68993</test></entry></data>

2022-02-23 21:32:48 | 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-e21a68e6-80be-4a2c-91e8-a15640d68993</value></item-id></result>

2022-02-23 21:32:48 | [Mutex] waiting for: [published:item:notifieditem-e21a68e6-80be-4a2c-91e8-a15640d68993:admin@test-domain.com]

2022-02-23 21:32:48 | [Mutex] received everything.

2022-02-23 21:32:48 | [Mutex] isItemNotified: published:item:notifieditem-e21a68e6-80be-4a2c-91e8-a15640d68993:admin@test-domain.com :: true

retractItemsFromNodes 0.311s
2022-02-23 21:32:48 |

2022-02-23 21:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:48 | ------------------------------------

2022-02-23 21:32:48 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-04262f87-9ac0-42d9-8eb4-7a0ca4505811</node><item-id>item-e21a68e6-80be-4a2c-91e8-a15640d68993</item-id></data>

2022-02-23 21:32: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-e21a68e6-80be-4a2c-91e8-a15640d68993</value></item-id></result>

2022-02-23 21:32:49 | [Mutex] received everything.

2022-02-23 21:32:49 | [Mutex] isItemNotified: retracted:item:notifieditem-e21a68e6-80be-4a2c-91e8-a15640d68993:admin@test-domain.com :: true

retrieveItemsFromNodes 0.254s
2022-02-23 21:32:48 |

2022-02-23 21:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:48 | ------------------------------------

2022-02-23 21:32:48 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-04262f87-9ac0-42d9-8eb4-7a0ca4505811</node><item-id>item-e21a68e6-80be-4a2c-91e8-a15640d68993</item-id></data>

2022-02-23 21:32:48 | 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-04262f87-9ac0-42d9-8eb4-7a0ca4505811</value></node><item-id type="text-single" label="Item ID"><value>item-e21a68e6-80be-4a2c-91e8-a15640d68993</value></item-id><item type="text-multi" label="Item"><value><item id="item-e21a68e6-80be-4a2c-91e8-a15640d68993"><test>item-e21a68e6-80be-4a2c-91e8-a15640d68993</test></item></value></item></result>

2022-02-23 21:32:48 | [Mutex] notify: [retrieved:item:item-e21a68e6-80be-4a2c-91e8-a15640d68993:payload-matches:true:localhost]

2022-02-23 21:32:48 | [Mutex] received everything.

2022-02-23 21:32:48 | [Mutex] isItemNotified: retrieved:item:item-e21a68e6-80be-4a2c-91e8-a15640d68993:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-02-23 21:32:48 |

2022-02-23 21:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:48 | ------------------------------------

2022-02-23 21:32:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-23 21:32:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-074cd270-6a62-4a53-91fe-c6195bcd2328</value><value>node-04262f87-9ac0-42d9-8eb4-7a0ca4505811</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-23 21:32:48 |

2022-02-23 21:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:48 | ------------------------------------

2022-02-23 21:32:48 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-04262f87-9ac0-42d9-8eb4-7a0ca4505811)</node-pattern></data>

2022-02-23 21:32:48 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.171s
2022-02-23 21:32:47 |

2022-02-23 21:32:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:47 | ------------------------------------

2022-02-23 21:32:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-04262f87-9ac0-42d9-8eb4-7a0ca4505811</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-23 21:32: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.211s
2022-02-23 21:32:49 |

2022-02-23 21:32:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-23 21:32:49 | ------------------------------------

2022-02-23 21:32:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-04262f87-9ac0-42d9-8eb4-7a0ca4505811</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-23 21:32:49 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>