Generated by TestNG with ReportNG at 23:01 PDT on Wednesday 01 June 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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 : 9.500s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2022-06-01 23:16:50 |

2022-06-01 23:16:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:50 | ------------------------------------

2022-06-01 23:16:50 | [Mutex] waiting for: [configured:node:node-b73013f9-b2be-4f03-99e2-d73e9dcabe98:node-8cfa7420-7f76-4010-b519-523fad905abb]

2022-06-01 23:16:50 | [Mutex] received everything.

2022-06-01 23:16:50 | [Mutex] isItemNotified: configured:node:node-b73013f9-b2be-4f03-99e2-d73e9dcabe98:node-8cfa7420-7f76-4010-b519-523fad905abb :: true

2022-06-01 23:16:51 | [Mutex] waiting for: [received:nodes:a2785f59-d349-4adc-b176-1c1c7640732b:localhost]

2022-06-01 23:16:51 | [Mutex] received everything.

2022-06-01 23:16:51 | [Mutex] isItemNotified: received:node:a2785f59-d349-4adc-b176-1c1c7640732b:localhost:node-b73013f9-b2be-4f03-99e2-d73e9dcabe98:Node b73013f9-b2be-4f03-99e2-d73e9dcabe98 :: true

2022-06-01 23:16:51 | [Mutex] waiting for: [received:nodes:01b0d4ba-11bf-437e-9fc7-c0333b955321:localhost]

2022-06-01 23:16:51 | [Mutex] received everything.

2022-06-01 23:16:51 | [Mutex] isItemNotified: received:node:01b0d4ba-11bf-437e-9fc7-c0333b955321:localhost:node-b73013f9-b2be-4f03-99e2-d73e9dcabe98:Node b73013f9-b2be-4f03-99e2-d73e9dcabe98 :: false

createNodes 1.474s
2022-06-01 23:16:48 |

2022-06-01 23:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:48 | ------------------------------------

2022-06-01 23:16:48 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b73013f9-b2be-4f03-99e2-d73e9dcabe98</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b73013f9-b2be-4f03-99e2-d73e9dcabe98</title></pubsub></data>

2022-06-01 23:16:48 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-01 23:16:49 | [Mutex] waiting for: [received:nodes:edc5d798-0f25-457e-8a36-11dd77cbaa2f:localhost]

2022-06-01 23:16:49 | [Mutex] received everything.

2022-06-01 23:16:49 | [Mutex] isItemNotified: received:node:edc5d798-0f25-457e-8a36-11dd77cbaa2f:localhost:node-b73013f9-b2be-4f03-99e2-d73e9dcabe98:Node b73013f9-b2be-4f03-99e2-d73e9dcabe98 :: true

createSubnodes 1.023s
2022-06-01 23:16:49 |

2022-06-01 23:16:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:49 | ------------------------------------

2022-06-01 23:16:49 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8cfa7420-7f76-4010-b519-523fad905abb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8cfa7420-7f76-4010-b519-523fad905abb</title></pubsub></data>

2022-06-01 23:16:49 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-01 23:16:50 | [Mutex] waiting for: [received:nodes:d88602bf-3b67-441e-8e2b-1933d41f9175:localhost]

2022-06-01 23:16:50 | [Mutex] waiting for: [received:nodes:d88602bf-3b67-441e-8e2b-1933d41f9175:localhost]

2022-06-01 23:16:50 | [Mutex] waiting for: [received:nodes:d88602bf-3b67-441e-8e2b-1933d41f9175:localhost]

2022-06-01 23:16:50 | [Mutex] received everything.

2022-06-01 23:16:50 | [Mutex] isItemNotified: received:node:d88602bf-3b67-441e-8e2b-1933d41f9175:localhost:node-8cfa7420-7f76-4010-b519-523fad905abb:Node 8cfa7420-7f76-4010-b519-523fad905abb :: true

deleteNodes 1.016s
2022-06-01 23:16:56 |

2022-06-01 23:16:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:56 | ------------------------------------

2022-06-01 23:16:56 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8cfa7420-7f76-4010-b519-523fad905abb</node></data>

2022-06-01 23:16:56 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-01 23:16:57 | [Mutex] waiting for: [received:nodes:808924d3-837f-4593-8cac-e025d0e488c1:localhost]

2022-06-01 23:16:57 | [Mutex] waiting for: [received:nodes:808924d3-837f-4593-8cac-e025d0e488c1:localhost]

2022-06-01 23:16:57 | [Mutex] received everything.

2022-06-01 23:16:57 | [Mutex] isItemNotified: received:node:808924d3-837f-4593-8cac-e025d0e488c1:localhost:node-8cfa7420-7f76-4010-b519-523fad905abb:Node 8cfa7420-7f76-4010-b519-523fad905abb :: false

deleteSubnodes 1.122s
2022-06-01 23:16:54 |

2022-06-01 23:16:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:54 | ------------------------------------

2022-06-01 23:16:54 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b73013f9-b2be-4f03-99e2-d73e9dcabe98</node></data>

2022-06-01 23:16:55 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-01 23:16:56 | [Mutex] waiting for: [received:nodes:a9559573-dbc7-498c-8bdf-dde6b3e6757d:localhost]

2022-06-01 23:16:56 | [Mutex] waiting for: [received:nodes:a9559573-dbc7-498c-8bdf-dde6b3e6757d:localhost]

2022-06-01 23:16:56 | [Mutex] received everything.

2022-06-01 23:16:56 | [Mutex] isItemNotified: received:node:a9559573-dbc7-498c-8bdf-dde6b3e6757d:localhost:node-b73013f9-b2be-4f03-99e2-d73e9dcabe98:Node b73013f9-b2be-4f03-99e2-d73e9dcabe98 :: false

2022-06-01 23:16:56 | [Mutex] waiting for: [received:nodes:1bd20de0-caa3-4f9e-a32e-2cbe2eac2209:localhost]

2022-06-01 23:16:56 | [Mutex] received everything.

2022-06-01 23:16:56 | [Mutex] isItemNotified: received:node:1bd20de0-caa3-4f9e-a32e-2cbe2eac2209:localhost:node-b73013f9-b2be-4f03-99e2-d73e9dcabe98:Node b73013f9-b2be-4f03-99e2-d73e9dcabe98 :: false

publishItemsToNodes 0.240s
2022-06-01 23:16:52 |

2022-06-01 23:16:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:52 | ------------------------------------

2022-06-01 23:16:52 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b73013f9-b2be-4f03-99e2-d73e9dcabe98</node><item-id>item-cc633a9d-5139-4d96-90ab-f0c472bf2c68</item-id><entry><test>item-cc633a9d-5139-4d96-90ab-f0c472bf2c68</test></entry></data>

2022-06-01 23:16:53 | 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-cc633a9d-5139-4d96-90ab-f0c472bf2c68</value></item-id></result>

2022-06-01 23:16:53 | [Mutex] waiting for: [published:item:notifieditem-cc633a9d-5139-4d96-90ab-f0c472bf2c68:admin@test-domain.com]

2022-06-01 23:16:53 | [Mutex] received everything.

2022-06-01 23:16:53 | [Mutex] isItemNotified: published:item:notifieditem-cc633a9d-5139-4d96-90ab-f0c472bf2c68:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2022-06-01 23:16:53 |

2022-06-01 23:16:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:53 | ------------------------------------

2022-06-01 23:16:53 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b73013f9-b2be-4f03-99e2-d73e9dcabe98</node><item-id>item-cc633a9d-5139-4d96-90ab-f0c472bf2c68</item-id></data>

2022-06-01 23:16:53 | 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-cc633a9d-5139-4d96-90ab-f0c472bf2c68</value></item-id></result>

2022-06-01 23:16:53 | [Mutex] waiting for: [retracted:item:notifieditem-cc633a9d-5139-4d96-90ab-f0c472bf2c68:admin@test-domain.com]

2022-06-01 23:16:53 | [Mutex] received everything.

2022-06-01 23:16:53 | [Mutex] isItemNotified: retracted:item:notifieditem-cc633a9d-5139-4d96-90ab-f0c472bf2c68:admin@test-domain.com :: true

retrieveItemsFromNodes 0.194s
2022-06-01 23:16:53 |

2022-06-01 23:16:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:53 | ------------------------------------

2022-06-01 23:16:53 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b73013f9-b2be-4f03-99e2-d73e9dcabe98</node><item-id>item-cc633a9d-5139-4d96-90ab-f0c472bf2c68</item-id></data>

2022-06-01 23:16:53 | 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-b73013f9-b2be-4f03-99e2-d73e9dcabe98</value></node><item-id type="text-single" label="Item ID"><value>item-cc633a9d-5139-4d96-90ab-f0c472bf2c68</value></item-id><item type="text-multi" label="Item"><value><item id="item-cc633a9d-5139-4d96-90ab-f0c472bf2c68"><test>item-cc633a9d-5139-4d96-90ab-f0c472bf2c68</test></item></value></item></result>

2022-06-01 23:16:53 | [Mutex] notify: [retrieved:item:item-cc633a9d-5139-4d96-90ab-f0c472bf2c68:payload-matches:true:localhost]

2022-06-01 23:16:53 | [Mutex] received everything.

2022-06-01 23:16:53 | [Mutex] isItemNotified: retrieved:item:item-cc633a9d-5139-4d96-90ab-f0c472bf2c68:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-06-01 23:16:53 |

2022-06-01 23:16:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:53 | ------------------------------------

2022-06-01 23:16:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-01 23:16:53 | 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-b73013f9-b2be-4f03-99e2-d73e9dcabe98</value><value>node-8cfa7420-7f76-4010-b519-523fad905abb</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.050s
2022-06-01 23:16:53 |

2022-06-01 23:16:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:53 | ------------------------------------

2022-06-01 23:16:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b73013f9-b2be-4f03-99e2-d73e9dcabe98)</node-pattern></data>

2022-06-01 23:16:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.137s
2022-06-01 23:16:51 |

2022-06-01 23:16:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:51 | ------------------------------------

2022-06-01 23:16:51 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b73013f9-b2be-4f03-99e2-d73e9dcabe98</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-01 23:16:51 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.196s
2022-06-01 23:16:53 |

2022-06-01 23:16:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-01 23:16:53 | ------------------------------------

2022-06-01 23:16:53 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b73013f9-b2be-4f03-99e2-d73e9dcabe98</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-01 23:16:53 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>