Generated by TestNG with ReportNG at 22:07 PST on Monday 15 November 2021
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.313s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.130s
2021-11-15 22:22:53 |

2021-11-15 22:22:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:53 | ------------------------------------

2021-11-15 22:22:53 | [Mutex] waiting for: [configured:node:node-e653c769-0e6d-47c4-b16f-06598924cc14:node-d4da33ef-4a03-41ab-970d-f6f625f35a78]

2021-11-15 22:22:53 | [Mutex] received everything.

2021-11-15 22:22:53 | [Mutex] isItemNotified: configured:node:node-e653c769-0e6d-47c4-b16f-06598924cc14:node-d4da33ef-4a03-41ab-970d-f6f625f35a78 :: true

2021-11-15 22:22:54 | [Mutex] waiting for: [received:nodes:efd1752f-2eeb-4536-95e7-97e9124b9235:localhost]

2021-11-15 22:22:54 | [Mutex] received everything.

2021-11-15 22:22:54 | [Mutex] isItemNotified: received:node:efd1752f-2eeb-4536-95e7-97e9124b9235:localhost:node-e653c769-0e6d-47c4-b16f-06598924cc14:Node e653c769-0e6d-47c4-b16f-06598924cc14 :: true

2021-11-15 22:22:54 | [Mutex] waiting for: [received:nodes:693524a6-66bf-494b-bcba-634ec4fbb2f3:localhost]

2021-11-15 22:22:54 | [Mutex] received everything.

2021-11-15 22:22:54 | [Mutex] isItemNotified: received:node:693524a6-66bf-494b-bcba-634ec4fbb2f3:localhost:node-e653c769-0e6d-47c4-b16f-06598924cc14:Node e653c769-0e6d-47c4-b16f-06598924cc14 :: false

createNodes 1.509s
2021-11-15 22:22:51 |

2021-11-15 22:22:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:51 | ------------------------------------

2021-11-15 22:22:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e653c769-0e6d-47c4-b16f-06598924cc14</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e653c769-0e6d-47c4-b16f-06598924cc14</title></pubsub></data>

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

2021-11-15 22:22:52 | [Mutex] waiting for: [received:nodes:48eecb30-d422-4c64-a05f-1e941675da50:localhost]

2021-11-15 22:22:52 | [Mutex] received everything.

2021-11-15 22:22:52 | [Mutex] isItemNotified: received:node:48eecb30-d422-4c64-a05f-1e941675da50:localhost:node-e653c769-0e6d-47c4-b16f-06598924cc14:Node e653c769-0e6d-47c4-b16f-06598924cc14 :: true

createSubnodes 1.027s
2021-11-15 22:22:52 |

2021-11-15 22:22:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:52 | ------------------------------------

2021-11-15 22:22:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d4da33ef-4a03-41ab-970d-f6f625f35a78</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d4da33ef-4a03-41ab-970d-f6f625f35a78</title></pubsub></data>

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

2021-11-15 22:22:53 | [Mutex] waiting for: [received:nodes:c4b813cc-9d02-428a-a736-e171be3ec2d1:localhost]

2021-11-15 22:22:53 | [Mutex] waiting for: [received:nodes:c4b813cc-9d02-428a-a736-e171be3ec2d1:localhost]

2021-11-15 22:22:53 | [Mutex] received everything.

2021-11-15 22:22:53 | [Mutex] isItemNotified: received:node:c4b813cc-9d02-428a-a736-e171be3ec2d1:localhost:node-d4da33ef-4a03-41ab-970d-f6f625f35a78:Node d4da33ef-4a03-41ab-970d-f6f625f35a78 :: true

deleteNodes 1.020s
2021-11-15 22:22:59 |

2021-11-15 22:22:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:59 | ------------------------------------

2021-11-15 22:22:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d4da33ef-4a03-41ab-970d-f6f625f35a78</node></data>

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

2021-11-15 22:23:00 | [Mutex] waiting for: [received:nodes:2b4c91b3-9b0f-4180-bb46-38ac062c4c09:localhost]

2021-11-15 22:23:00 | [Mutex] received everything.

2021-11-15 22:23:00 | [Mutex] isItemNotified: received:node:2b4c91b3-9b0f-4180-bb46-38ac062c4c09:localhost:node-d4da33ef-4a03-41ab-970d-f6f625f35a78:Node d4da33ef-4a03-41ab-970d-f6f625f35a78 :: false

deleteSubnodes 1.178s
2021-11-15 22:22:58 |

2021-11-15 22:22:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:58 | ------------------------------------

2021-11-15 22:22:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e653c769-0e6d-47c4-b16f-06598924cc14</node></data>

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

2021-11-15 22:22:59 | [Mutex] waiting for: [received:nodes:a42f53e7-854b-4905-8376-0d15f11519e2:localhost]

2021-11-15 22:22:59 | [Mutex] received everything.

2021-11-15 22:22:59 | [Mutex] isItemNotified: received:node:a42f53e7-854b-4905-8376-0d15f11519e2:localhost:node-e653c769-0e6d-47c4-b16f-06598924cc14:Node e653c769-0e6d-47c4-b16f-06598924cc14 :: false

2021-11-15 22:22:59 | [Mutex] waiting for: [received:nodes:f8ea0e5a-d8ae-4220-aa69-a3513e1fcae9:localhost]

2021-11-15 22:22:59 | [Mutex] received everything.

2021-11-15 22:22:59 | [Mutex] isItemNotified: received:node:f8ea0e5a-d8ae-4220-aa69-a3513e1fcae9:localhost:node-e653c769-0e6d-47c4-b16f-06598924cc14:Node e653c769-0e6d-47c4-b16f-06598924cc14 :: false

publishItemsToNodes 0.255s
2021-11-15 22:22:56 |

2021-11-15 22:22:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:56 | ------------------------------------

2021-11-15 22:22:56 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e653c769-0e6d-47c4-b16f-06598924cc14</node><item-id>item-e6c6d449-e01b-425d-9f8c-97e90a9d6d96</item-id><entry><test>item-e6c6d449-e01b-425d-9f8c-97e90a9d6d96</test></entry></data>

2021-11-15 22:22:56 | 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-e6c6d449-e01b-425d-9f8c-97e90a9d6d96</value></item-id></result>

2021-11-15 22:22:56 | [Mutex] received everything.

2021-11-15 22:22:56 | [Mutex] isItemNotified: published:item:notifieditem-e6c6d449-e01b-425d-9f8c-97e90a9d6d96:admin@test-domain.com :: true

retractItemsFromNodes 0.279s
2021-11-15 22:22:56 |

2021-11-15 22:22:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:56 | ------------------------------------

2021-11-15 22:22:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e653c769-0e6d-47c4-b16f-06598924cc14</node><item-id>item-e6c6d449-e01b-425d-9f8c-97e90a9d6d96</item-id></data>

2021-11-15 22:22:56 | 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-e6c6d449-e01b-425d-9f8c-97e90a9d6d96</value></item-id></result>

2021-11-15 22:22:56 | [Mutex] received everything.

2021-11-15 22:22:56 | [Mutex] isItemNotified: retracted:item:notifieditem-e6c6d449-e01b-425d-9f8c-97e90a9d6d96:admin@test-domain.com :: true

retrieveItemsFromNodes 0.270s
2021-11-15 22:22:56 |

2021-11-15 22:22:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:56 | ------------------------------------

2021-11-15 22:22:56 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e653c769-0e6d-47c4-b16f-06598924cc14</node><item-id>item-e6c6d449-e01b-425d-9f8c-97e90a9d6d96</item-id></data>

2021-11-15 22:22:56 | 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-e653c769-0e6d-47c4-b16f-06598924cc14</value></node><item-id type="text-single" label="Item ID"><value>item-e6c6d449-e01b-425d-9f8c-97e90a9d6d96</value></item-id><item type="text-multi" label="Item"><value><item id="item-e6c6d449-e01b-425d-9f8c-97e90a9d6d96"><test>item-e6c6d449-e01b-425d-9f8c-97e90a9d6d96</test></item></value></item></result>

2021-11-15 22:22:56 | [Mutex] notify: [retrieved:item:item-e6c6d449-e01b-425d-9f8c-97e90a9d6d96:payload-matches:true:localhost]

2021-11-15 22:22:56 | [Mutex] received everything.

2021-11-15 22:22:56 | [Mutex] isItemNotified: retrieved:item:item-e6c6d449-e01b-425d-9f8c-97e90a9d6d96:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-11-15 22:22:56 |

2021-11-15 22:22:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:56 | ------------------------------------

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

2021-11-15 22:22:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-e653c769-0e6d-47c4-b16f-06598924cc14</value><value>test</value><value>node-d4da33ef-4a03-41ab-970d-f6f625f35a78</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-11-15 22:22:56 |

2021-11-15 22:22:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:56 | ------------------------------------

2021-11-15 22:22:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e653c769-0e6d-47c4-b16f-06598924cc14)</node-pattern></data>

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

subscribeNodes 1.175s
2021-11-15 22:22:54 |

2021-11-15 22:22:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:54 | ------------------------------------

2021-11-15 22:22:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e653c769-0e6d-47c4-b16f-06598924cc14</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.399s
2021-11-15 22:22:56 |

2021-11-15 22:22:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-11-15 22:22:56 | ------------------------------------

2021-11-15 22:22:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e653c769-0e6d-47c4-b16f-06598924cc14</node><jids><value>admin@test-domain.com</value></jids></data>

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