Generated by TestNG with ReportNG at 21:29 PST on Sunday 16 January 2022
root@785cf647a4ab / 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.472s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.109s
2022-01-16 21:45:34 |

2022-01-16 21:45:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:34 | ------------------------------------

2022-01-16 21:45:34 | [Mutex] waiting for: [configured:node:node-ea06f55d-c847-4d5d-9386-e37470cf3666:node-7b9812f7-8823-4e83-acea-88ecaf9ee61f]

2022-01-16 21:45:34 | [Mutex] received everything.

2022-01-16 21:45:34 | [Mutex] isItemNotified: configured:node:node-ea06f55d-c847-4d5d-9386-e37470cf3666:node-7b9812f7-8823-4e83-acea-88ecaf9ee61f :: true

2022-01-16 21:45:35 | [Mutex] waiting for: [received:nodes:d7c562b8-4214-428e-ad34-1916b0c639a7:localhost]

2022-01-16 21:45:35 | [Mutex] received everything.

2022-01-16 21:45:35 | [Mutex] isItemNotified: received:node:d7c562b8-4214-428e-ad34-1916b0c639a7:localhost:node-ea06f55d-c847-4d5d-9386-e37470cf3666:Node ea06f55d-c847-4d5d-9386-e37470cf3666 :: true

2022-01-16 21:45:35 | [Mutex] waiting for: [received:nodes:32c8a760-5e70-4d27-9cc1-ca68ec16efed:localhost]

2022-01-16 21:45:35 | [Mutex] received everything.

2022-01-16 21:45:35 | [Mutex] isItemNotified: received:node:32c8a760-5e70-4d27-9cc1-ca68ec16efed:localhost:node-ea06f55d-c847-4d5d-9386-e37470cf3666:Node ea06f55d-c847-4d5d-9386-e37470cf3666 :: false

createNodes 1.652s
2022-01-16 21:45:31 |

2022-01-16 21:45:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:31 | ------------------------------------

2022-01-16 21:45:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ea06f55d-c847-4d5d-9386-e37470cf3666</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ea06f55d-c847-4d5d-9386-e37470cf3666</title></pubsub></data>

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

2022-01-16 21:45:33 | [Mutex] waiting for: [received:nodes:dda0c147-24f7-4cc2-9a81-9c030dcff3b7:localhost]

2022-01-16 21:45:33 | [Mutex] received everything.

2022-01-16 21:45:33 | [Mutex] isItemNotified: received:node:dda0c147-24f7-4cc2-9a81-9c030dcff3b7:localhost:node-ea06f55d-c847-4d5d-9386-e37470cf3666:Node ea06f55d-c847-4d5d-9386-e37470cf3666 :: true

createSubnodes 1.030s
2022-01-16 21:45:33 |

2022-01-16 21:45:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:33 | ------------------------------------

2022-01-16 21:45:33 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7b9812f7-8823-4e83-acea-88ecaf9ee61f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7b9812f7-8823-4e83-acea-88ecaf9ee61f</title></pubsub></data>

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

2022-01-16 21:45:34 | [Mutex] waiting for: [received:nodes:9d5a89e1-101a-4ab7-92b1-385c57b46340:localhost]

2022-01-16 21:45:34 | [Mutex] received everything.

2022-01-16 21:45:34 | [Mutex] isItemNotified: received:node:9d5a89e1-101a-4ab7-92b1-385c57b46340:localhost:node-7b9812f7-8823-4e83-acea-88ecaf9ee61f:Node 7b9812f7-8823-4e83-acea-88ecaf9ee61f :: true

deleteNodes 1.023s
2022-01-16 21:45:40 |

2022-01-16 21:45:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:40 | ------------------------------------

2022-01-16 21:45:40 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7b9812f7-8823-4e83-acea-88ecaf9ee61f</node></data>

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

2022-01-16 21:45:41 | [Mutex] waiting for: [received:nodes:7bf22706-ed20-4900-b146-729c78d12276:localhost]

2022-01-16 21:45:41 | [Mutex] received everything.

2022-01-16 21:45:41 | [Mutex] isItemNotified: received:node:7bf22706-ed20-4900-b146-729c78d12276:localhost:node-7b9812f7-8823-4e83-acea-88ecaf9ee61f:Node 7b9812f7-8823-4e83-acea-88ecaf9ee61f :: false

deleteSubnodes 1.174s
2022-01-16 21:45:38 |

2022-01-16 21:45:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:38 | ------------------------------------

2022-01-16 21:45:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ea06f55d-c847-4d5d-9386-e37470cf3666</node></data>

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

2022-01-16 21:45:40 | [Mutex] waiting for: [received:nodes:75a02548-7de0-4bb0-af54-7f5182ce1ecb:localhost]

2022-01-16 21:45:40 | [Mutex] waiting for: [received:nodes:75a02548-7de0-4bb0-af54-7f5182ce1ecb:localhost]

2022-01-16 21:45:40 | [Mutex] waiting for: [received:nodes:75a02548-7de0-4bb0-af54-7f5182ce1ecb:localhost]

2022-01-16 21:45:40 | [Mutex] received everything.

2022-01-16 21:45:40 | [Mutex] isItemNotified: received:node:75a02548-7de0-4bb0-af54-7f5182ce1ecb:localhost:node-ea06f55d-c847-4d5d-9386-e37470cf3666:Node ea06f55d-c847-4d5d-9386-e37470cf3666 :: false

2022-01-16 21:45:40 | [Mutex] waiting for: [received:nodes:5f8ef633-85be-444d-8367-c65fadb299d1:localhost]

2022-01-16 21:45:40 | [Mutex] received everything.

2022-01-16 21:45:40 | [Mutex] isItemNotified: received:node:5f8ef633-85be-444d-8367-c65fadb299d1:localhost:node-ea06f55d-c847-4d5d-9386-e37470cf3666:Node ea06f55d-c847-4d5d-9386-e37470cf3666 :: false

publishItemsToNodes 0.267s
2022-01-16 21:45:36 |

2022-01-16 21:45:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:36 | ------------------------------------

2022-01-16 21:45:36 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ea06f55d-c847-4d5d-9386-e37470cf3666</node><item-id>item-55e65b5e-38c6-4f4c-927f-baf9c4e418df</item-id><entry><test>item-55e65b5e-38c6-4f4c-927f-baf9c4e418df</test></entry></data>

2022-01-16 21:45:36 | 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-55e65b5e-38c6-4f4c-927f-baf9c4e418df</value></item-id></result>

2022-01-16 21:45:36 | [Mutex] waiting for: [published:item:notifieditem-55e65b5e-38c6-4f4c-927f-baf9c4e418df:admin@test-domain.com]

2022-01-16 21:45:36 | [Mutex] received everything.

2022-01-16 21:45:36 | [Mutex] isItemNotified: published:item:notifieditem-55e65b5e-38c6-4f4c-927f-baf9c4e418df:admin@test-domain.com :: true

retractItemsFromNodes 0.439s
2022-01-16 21:45:37 |

2022-01-16 21:45:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:37 | ------------------------------------

2022-01-16 21:45:37 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ea06f55d-c847-4d5d-9386-e37470cf3666</node><item-id>item-55e65b5e-38c6-4f4c-927f-baf9c4e418df</item-id></data>

2022-01-16 21:45:37 | 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-55e65b5e-38c6-4f4c-927f-baf9c4e418df</value></item-id></result>

2022-01-16 21:45:37 | [Mutex] waiting for: [retracted:item:notifieditem-55e65b5e-38c6-4f4c-927f-baf9c4e418df:admin@test-domain.com]

2022-01-16 21:45:37 | [Mutex] received everything.

2022-01-16 21:45:37 | [Mutex] isItemNotified: retracted:item:notifieditem-55e65b5e-38c6-4f4c-927f-baf9c4e418df:admin@test-domain.com :: true

retrieveItemsFromNodes 0.267s
2022-01-16 21:45:36 |

2022-01-16 21:45:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:36 | ------------------------------------

2022-01-16 21:45:36 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ea06f55d-c847-4d5d-9386-e37470cf3666</node><item-id>item-55e65b5e-38c6-4f4c-927f-baf9c4e418df</item-id></data>

2022-01-16 21:45:37 | 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-ea06f55d-c847-4d5d-9386-e37470cf3666</value></node><item-id type="text-single" label="Item ID"><value>item-55e65b5e-38c6-4f4c-927f-baf9c4e418df</value></item-id><item type="text-multi" label="Item"><value><item id="item-55e65b5e-38c6-4f4c-927f-baf9c4e418df"><test>item-55e65b5e-38c6-4f4c-927f-baf9c4e418df</test></item></value></item></result>

2022-01-16 21:45:37 | [Mutex] notify: [retrieved:item:item-55e65b5e-38c6-4f4c-927f-baf9c4e418df:payload-matches:true:localhost]

2022-01-16 21:45:37 | [Mutex] received everything.

2022-01-16 21:45:37 | [Mutex] isItemNotified: retrieved:item:item-55e65b5e-38c6-4f4c-927f-baf9c4e418df:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-01-16 21:45:37 |

2022-01-16 21:45:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:37 | ------------------------------------

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

2022-01-16 21:45:37 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-7b9812f7-8823-4e83-acea-88ecaf9ee61f</value><value>test</value><value>node-ea06f55d-c847-4d5d-9386-e37470cf3666</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2022-01-16 21:45:37 |

2022-01-16 21:45:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:37 | ------------------------------------

2022-01-16 21:45:37 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ea06f55d-c847-4d5d-9386-e37470cf3666)</node-pattern></data>

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

subscribeNodes 1.188s
2022-01-16 21:45:35 |

2022-01-16 21:45:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:35 | ------------------------------------

2022-01-16 21:45:35 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ea06f55d-c847-4d5d-9386-e37470cf3666</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.201s
2022-01-16 21:45:37 |

2022-01-16 21:45:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-01-16 21:45:37 | ------------------------------------

2022-01-16 21:45:37 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ea06f55d-c847-4d5d-9386-e37470cf3666</node><jids><value>admin@test-domain.com</value></jids></data>

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