Generated by TestNG with ReportNG at 21:30 PST on Friday 25 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.542s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.145s
2022-02-25 21:46:27 |

2022-02-25 21:46:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:27 | ------------------------------------

2022-02-25 21:46:27 | [Mutex] waiting for: [configured:node:node-01eb64e6-4bf7-4600-b7b3-567d63139866:node-a9a546b8-537e-4d31-9a0c-6cfb2844fd24]

2022-02-25 21:46:27 | [Mutex] received everything.

2022-02-25 21:46:27 | [Mutex] isItemNotified: configured:node:node-01eb64e6-4bf7-4600-b7b3-567d63139866:node-a9a546b8-537e-4d31-9a0c-6cfb2844fd24 :: true

2022-02-25 21:46:28 | [Mutex] waiting for: [received:nodes:250be26b-40da-4aa0-890e-111763281089:localhost]

2022-02-25 21:46:28 | [Mutex] received everything.

2022-02-25 21:46:28 | [Mutex] isItemNotified: received:node:250be26b-40da-4aa0-890e-111763281089:localhost:node-01eb64e6-4bf7-4600-b7b3-567d63139866:Node 01eb64e6-4bf7-4600-b7b3-567d63139866 :: true

2022-02-25 21:46:28 | [Mutex] waiting for: [received:nodes:3216bd79-9b5e-48cb-be90-0aa9d3961380:localhost]

2022-02-25 21:46:28 | [Mutex] received everything.

2022-02-25 21:46:28 | [Mutex] isItemNotified: received:node:3216bd79-9b5e-48cb-be90-0aa9d3961380:localhost:node-01eb64e6-4bf7-4600-b7b3-567d63139866:Node 01eb64e6-4bf7-4600-b7b3-567d63139866 :: false

createNodes 1.736s
2022-02-25 21:46:24 |

2022-02-25 21:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:24 | ------------------------------------

2022-02-25 21:46:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-01eb64e6-4bf7-4600-b7b3-567d63139866</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 01eb64e6-4bf7-4600-b7b3-567d63139866</title></pubsub></data>

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

2022-02-25 21:46:26 | [Mutex] waiting for: [received:nodes:6f2d6ad0-2be8-4617-a996-d3c5ef3ecef0:localhost]

2022-02-25 21:46:26 | [Mutex] waiting for: [received:nodes:6f2d6ad0-2be8-4617-a996-d3c5ef3ecef0:localhost]

2022-02-25 21:46:26 | [Mutex] received everything.

2022-02-25 21:46:26 | [Mutex] isItemNotified: received:node:6f2d6ad0-2be8-4617-a996-d3c5ef3ecef0:localhost:node-01eb64e6-4bf7-4600-b7b3-567d63139866:Node 01eb64e6-4bf7-4600-b7b3-567d63139866 :: true

createSubnodes 1.040s
2022-02-25 21:46:26 |

2022-02-25 21:46:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:26 | ------------------------------------

2022-02-25 21:46:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a9a546b8-537e-4d31-9a0c-6cfb2844fd24</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a9a546b8-537e-4d31-9a0c-6cfb2844fd24</title></pubsub></data>

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

2022-02-25 21:46:27 | [Mutex] waiting for: [received:nodes:bee7a0cb-bc8e-41ec-8bde-08cf145ffb38:localhost]

2022-02-25 21:46:27 | [Mutex] waiting for: [received:nodes:bee7a0cb-bc8e-41ec-8bde-08cf145ffb38:localhost]

2022-02-25 21:46:27 | [Mutex] received everything.

2022-02-25 21:46:27 | [Mutex] isItemNotified: received:node:bee7a0cb-bc8e-41ec-8bde-08cf145ffb38:localhost:node-a9a546b8-537e-4d31-9a0c-6cfb2844fd24:Node a9a546b8-537e-4d31-9a0c-6cfb2844fd24 :: true

deleteNodes 1.028s
2022-02-25 21:46:33 |

2022-02-25 21:46:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:33 | ------------------------------------

2022-02-25 21:46:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a9a546b8-537e-4d31-9a0c-6cfb2844fd24</node></data>

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

2022-02-25 21:46:34 | [Mutex] waiting for: [received:nodes:3b0348d5-106c-4a54-b164-8940d92999b9:localhost]

2022-02-25 21:46:34 | [Mutex] received everything.

2022-02-25 21:46:34 | [Mutex] isItemNotified: received:node:3b0348d5-106c-4a54-b164-8940d92999b9:localhost:node-a9a546b8-537e-4d31-9a0c-6cfb2844fd24:Node a9a546b8-537e-4d31-9a0c-6cfb2844fd24 :: false

deleteSubnodes 1.160s
2022-02-25 21:46:32 |

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

2022-02-25 21:46:32 | ------------------------------------

2022-02-25 21:46:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-01eb64e6-4bf7-4600-b7b3-567d63139866</node></data>

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

2022-02-25 21:46:33 | [Mutex] waiting for: [received:nodes:7c1eed34-c820-40f2-940e-41ad22132875:localhost]

2022-02-25 21:46:33 | [Mutex] received everything.

2022-02-25 21:46:33 | [Mutex] isItemNotified: received:node:7c1eed34-c820-40f2-940e-41ad22132875:localhost:node-01eb64e6-4bf7-4600-b7b3-567d63139866:Node 01eb64e6-4bf7-4600-b7b3-567d63139866 :: false

2022-02-25 21:46:33 | [Mutex] waiting for: [received:nodes:d77520da-af49-4d90-9d5b-c74fc06b176b:localhost]

2022-02-25 21:46:33 | [Mutex] received everything.

2022-02-25 21:46:33 | [Mutex] isItemNotified: received:node:d77520da-af49-4d90-9d5b-c74fc06b176b:localhost:node-01eb64e6-4bf7-4600-b7b3-567d63139866:Node 01eb64e6-4bf7-4600-b7b3-567d63139866 :: false

publishItemsToNodes 0.228s
2022-02-25 21:46:29 |

2022-02-25 21:46:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:29 | ------------------------------------

2022-02-25 21:46:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-01eb64e6-4bf7-4600-b7b3-567d63139866</node><item-id>item-d0fe4a32-ec35-4030-97d2-79701bcaa0a5</item-id><entry><test>item-d0fe4a32-ec35-4030-97d2-79701bcaa0a5</test></entry></data>

2022-02-25 21:46:29 | 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-d0fe4a32-ec35-4030-97d2-79701bcaa0a5</value></item-id></result>

2022-02-25 21:46:29 | [Mutex] waiting for: [published:item:notifieditem-d0fe4a32-ec35-4030-97d2-79701bcaa0a5:admin@test-domain.com]

2022-02-25 21:46:29 | [Mutex] received everything.

2022-02-25 21:46:29 | [Mutex] isItemNotified: published:item:notifieditem-d0fe4a32-ec35-4030-97d2-79701bcaa0a5:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2022-02-25 21:46:30 |

2022-02-25 21:46:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:30 | ------------------------------------

2022-02-25 21:46:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-01eb64e6-4bf7-4600-b7b3-567d63139866</node><item-id>item-d0fe4a32-ec35-4030-97d2-79701bcaa0a5</item-id></data>

2022-02-25 21:46:30 | 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-d0fe4a32-ec35-4030-97d2-79701bcaa0a5</value></item-id></result>

2022-02-25 21:46:30 | [Mutex] received everything.

2022-02-25 21:46:30 | [Mutex] isItemNotified: retracted:item:notifieditem-d0fe4a32-ec35-4030-97d2-79701bcaa0a5:admin@test-domain.com :: true

retrieveItemsFromNodes 0.392s
2022-02-25 21:46:29 |

2022-02-25 21:46:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:29 | ------------------------------------

2022-02-25 21:46:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-01eb64e6-4bf7-4600-b7b3-567d63139866</node><item-id>item-d0fe4a32-ec35-4030-97d2-79701bcaa0a5</item-id></data>

2022-02-25 21:46:30 | 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-01eb64e6-4bf7-4600-b7b3-567d63139866</value></node><item-id type="text-single" label="Item ID"><value>item-d0fe4a32-ec35-4030-97d2-79701bcaa0a5</value></item-id><item type="text-multi" label="Item"><value><item id="item-d0fe4a32-ec35-4030-97d2-79701bcaa0a5"><test>item-d0fe4a32-ec35-4030-97d2-79701bcaa0a5</test></item></value></item></result>

2022-02-25 21:46:30 | [Mutex] notify: [retrieved:item:item-d0fe4a32-ec35-4030-97d2-79701bcaa0a5:payload-matches:true:localhost]

2022-02-25 21:46:30 | [Mutex] received everything.

2022-02-25 21:46:30 | [Mutex] isItemNotified: retrieved:item:item-d0fe4a32-ec35-4030-97d2-79701bcaa0a5:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.061s
2022-02-25 21:46:30 |

2022-02-25 21:46:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:30 | ------------------------------------

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

2022-02-25 21:46:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-a9a546b8-537e-4d31-9a0c-6cfb2844fd24</value><value>test</value><value>node-01eb64e6-4bf7-4600-b7b3-567d63139866</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-02-25 21:46:30 |

2022-02-25 21:46:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:30 | ------------------------------------

2022-02-25 21:46:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-01eb64e6-4bf7-4600-b7b3-567d63139866)</node-pattern></data>

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

subscribeNodes 1.172s
2022-02-25 21:46:28 |

2022-02-25 21:46:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:28 | ------------------------------------

2022-02-25 21:46:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-01eb64e6-4bf7-4600-b7b3-567d63139866</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-25 21:46:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.247s
2022-02-25 21:46:30 |

2022-02-25 21:46:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-25 21:46:30 | ------------------------------------

2022-02-25 21:46:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-01eb64e6-4bf7-4600-b7b3-567d63139866</node><jids><value>admin@test-domain.com</value></jids></data>

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