Generated by TestNG with ReportNG at 23:01 PDT on Monday 06 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.495s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-06-06 23:15:43 |

2022-06-06 23:15:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-06 23:15:43 | ------------------------------------

2022-06-06 23:15:43 | [Mutex] waiting for: [configured:node:node-f24a5b0b-2a01-4837-a77d-eac2a55517c8:node-11470dc7-2159-4a79-a235-70149e76f5eb]

2022-06-06 23:15:43 | [Mutex] received everything.

2022-06-06 23:15:43 | [Mutex] isItemNotified: configured:node:node-f24a5b0b-2a01-4837-a77d-eac2a55517c8:node-11470dc7-2159-4a79-a235-70149e76f5eb :: true

2022-06-06 23:15:44 | [Mutex] waiting for: [received:nodes:149a221b-07c5-4113-abcd-34a52f04eae0:localhost]

2022-06-06 23:15:44 | [Mutex] received everything.

2022-06-06 23:15:44 | [Mutex] isItemNotified: received:node:149a221b-07c5-4113-abcd-34a52f04eae0:localhost:node-f24a5b0b-2a01-4837-a77d-eac2a55517c8:Node f24a5b0b-2a01-4837-a77d-eac2a55517c8 :: true

2022-06-06 23:15:44 | [Mutex] waiting for: [received:nodes:dcf4f514-0ade-4c7f-9602-1d3db082149e:localhost]

2022-06-06 23:15:44 | [Mutex] waiting for: [received:nodes:dcf4f514-0ade-4c7f-9602-1d3db082149e:localhost]

2022-06-06 23:15:44 | [Mutex] received everything.

2022-06-06 23:15:44 | [Mutex] isItemNotified: received:node:dcf4f514-0ade-4c7f-9602-1d3db082149e:localhost:node-f24a5b0b-2a01-4837-a77d-eac2a55517c8:Node f24a5b0b-2a01-4837-a77d-eac2a55517c8 :: false

createNodes 1.391s
2022-06-06 23:15:41 |

2022-06-06 23:15:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-06 23:15:41 | ------------------------------------

2022-06-06 23:15:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f24a5b0b-2a01-4837-a77d-eac2a55517c8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f24a5b0b-2a01-4837-a77d-eac2a55517c8</title></pubsub></data>

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

2022-06-06 23:15:42 | [Mutex] waiting for: [received:nodes:ddf2c09d-22ca-4f18-a85a-7a29903dbede:localhost]

2022-06-06 23:15:42 | [Mutex] received everything.

2022-06-06 23:15:42 | [Mutex] isItemNotified: received:node:ddf2c09d-22ca-4f18-a85a-7a29903dbede:localhost:node-f24a5b0b-2a01-4837-a77d-eac2a55517c8:Node f24a5b0b-2a01-4837-a77d-eac2a55517c8 :: true

createSubnodes 1.023s
2022-06-06 23:15:42 |

2022-06-06 23:15:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-06 23:15:42 | ------------------------------------

2022-06-06 23:15:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-11470dc7-2159-4a79-a235-70149e76f5eb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 11470dc7-2159-4a79-a235-70149e76f5eb</title></pubsub></data>

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

2022-06-06 23:15:43 | [Mutex] waiting for: [received:nodes:09c43cd2-5153-4336-bdcc-301bf65e1556:localhost]

2022-06-06 23:15:43 | [Mutex] received everything.

2022-06-06 23:15:43 | [Mutex] isItemNotified: received:node:09c43cd2-5153-4336-bdcc-301bf65e1556:localhost:node-11470dc7-2159-4a79-a235-70149e76f5eb:Node 11470dc7-2159-4a79-a235-70149e76f5eb :: true

deleteNodes 1.017s
2022-06-06 23:15:49 |

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

2022-06-06 23:15:49 | ------------------------------------

2022-06-06 23:15:49 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-11470dc7-2159-4a79-a235-70149e76f5eb</node></data>

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

2022-06-06 23:15:50 | [Mutex] waiting for: [received:nodes:737c19a0-b4ff-49f9-8510-61b282f3a2ea:localhost]

2022-06-06 23:15:50 | [Mutex] waiting for: [received:nodes:737c19a0-b4ff-49f9-8510-61b282f3a2ea:localhost]

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

2022-06-06 23:15:50 | [Mutex] isItemNotified: received:node:737c19a0-b4ff-49f9-8510-61b282f3a2ea:localhost:node-11470dc7-2159-4a79-a235-70149e76f5eb:Node 11470dc7-2159-4a79-a235-70149e76f5eb :: false

deleteSubnodes 1.134s
2022-06-06 23:15:48 |

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

2022-06-06 23:15:48 | ------------------------------------

2022-06-06 23:15:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f24a5b0b-2a01-4837-a77d-eac2a55517c8</node></data>

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

2022-06-06 23:15:49 | [Mutex] waiting for: [received:nodes:b6e0f373-c78c-4035-95b5-2cfc15fad329:localhost]

2022-06-06 23:15:49 | [Mutex] waiting for: [received:nodes:b6e0f373-c78c-4035-95b5-2cfc15fad329:localhost]

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

2022-06-06 23:15:49 | [Mutex] isItemNotified: received:node:b6e0f373-c78c-4035-95b5-2cfc15fad329:localhost:node-f24a5b0b-2a01-4837-a77d-eac2a55517c8:Node f24a5b0b-2a01-4837-a77d-eac2a55517c8 :: false

2022-06-06 23:15:49 | [Mutex] waiting for: [received:nodes:6b51a0bd-64c3-45cd-8572-e3994895201b:localhost]

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

2022-06-06 23:15:49 | [Mutex] isItemNotified: received:node:6b51a0bd-64c3-45cd-8572-e3994895201b:localhost:node-f24a5b0b-2a01-4837-a77d-eac2a55517c8:Node f24a5b0b-2a01-4837-a77d-eac2a55517c8 :: false

publishItemsToNodes 0.259s
2022-06-06 23:15:45 |

2022-06-06 23:15:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-06 23:15:45 | ------------------------------------

2022-06-06 23:15:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f24a5b0b-2a01-4837-a77d-eac2a55517c8</node><item-id>item-736362e8-b41b-4f5b-ab45-68f8f2e89f75</item-id><entry><test>item-736362e8-b41b-4f5b-ab45-68f8f2e89f75</test></entry></data>

2022-06-06 23:15:46 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-736362e8-b41b-4f5b-ab45-68f8f2e89f75</value></item-id></result>

2022-06-06 23:15:46 | [Mutex] received everything.

2022-06-06 23:15:46 | [Mutex] isItemNotified: published:item:notifieditem-736362e8-b41b-4f5b-ab45-68f8f2e89f75:admin@test-domain.com :: true

retractItemsFromNodes 0.276s
2022-06-06 23:15:46 |

2022-06-06 23:15:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-06 23:15:46 | ------------------------------------

2022-06-06 23:15:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f24a5b0b-2a01-4837-a77d-eac2a55517c8</node><item-id>item-736362e8-b41b-4f5b-ab45-68f8f2e89f75</item-id></data>

2022-06-06 23:15:46 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-736362e8-b41b-4f5b-ab45-68f8f2e89f75</value></item-id></result>

2022-06-06 23:15:46 | [Mutex] waiting for: [retracted:item:notifieditem-736362e8-b41b-4f5b-ab45-68f8f2e89f75:admin@test-domain.com]

2022-06-06 23:15:46 | [Mutex] received everything.

2022-06-06 23:15:46 | [Mutex] isItemNotified: retracted:item:notifieditem-736362e8-b41b-4f5b-ab45-68f8f2e89f75:admin@test-domain.com :: true

retrieveItemsFromNodes 0.187s
2022-06-06 23:15:46 |

2022-06-06 23:15:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-06 23:15:46 | ------------------------------------

2022-06-06 23:15:46 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f24a5b0b-2a01-4837-a77d-eac2a55517c8</node><item-id>item-736362e8-b41b-4f5b-ab45-68f8f2e89f75</item-id></data>

2022-06-06 23:15:46 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-f24a5b0b-2a01-4837-a77d-eac2a55517c8</value></node><item-id label="Item ID" type="text-single"><value>item-736362e8-b41b-4f5b-ab45-68f8f2e89f75</value></item-id><item label="Item" type="text-multi"><value><item id="item-736362e8-b41b-4f5b-ab45-68f8f2e89f75"><test>item-736362e8-b41b-4f5b-ab45-68f8f2e89f75</test></item></value></item></result>

2022-06-06 23:15:46 | [Mutex] notify: [retrieved:item:item-736362e8-b41b-4f5b-ab45-68f8f2e89f75:payload-matches:true:localhost]

2022-06-06 23:15:46 | [Mutex] received everything.

2022-06-06 23:15:46 | [Mutex] isItemNotified: retrieved:item:item-736362e8-b41b-4f5b-ab45-68f8f2e89f75:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-06 23:15:46 |

2022-06-06 23:15:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-06 23:15:46 | ------------------------------------

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

2022-06-06 23:15:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-11470dc7-2159-4a79-a235-70149e76f5eb</value><value>node-f24a5b0b-2a01-4837-a77d-eac2a55517c8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-06 23:15:46 |

2022-06-06 23:15:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-06 23:15:46 | ------------------------------------

2022-06-06 23:15:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f24a5b0b-2a01-4837-a77d-eac2a55517c8)</node-pattern></data>

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

subscribeNodes 1.147s
2022-06-06 23:15:44 |

2022-06-06 23:15:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-06 23:15:44 | ------------------------------------

2022-06-06 23:15:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f24a5b0b-2a01-4837-a77d-eac2a55517c8</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.246s
2022-06-06 23:15:46 |

2022-06-06 23:15:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-06 23:15:46 | ------------------------------------

2022-06-06 23:15:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f24a5b0b-2a01-4837-a77d-eac2a55517c8</node><jids><value>admin@test-domain.com</value></jids></data>

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