Generated by TestNG with ReportNG at 22:18 PDT on Thursday 23 June 2022
root@1bc69cf4cb94 / 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.493s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-06-23 22:39:37 |

2022-06-23 22:39:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:39:37 | ------------------------------------

2022-06-23 22:39:37 | [Mutex] waiting for: [configured:node:node-bb67813c-02d2-4ba5-9bb8-f9968339cde6:node-e8c9f454-c3e0-4b18-8b6f-991892f27265]

2022-06-23 22:39:37 | [Mutex] received everything.

2022-06-23 22:39:37 | [Mutex] isItemNotified: configured:node:node-bb67813c-02d2-4ba5-9bb8-f9968339cde6:node-e8c9f454-c3e0-4b18-8b6f-991892f27265 :: true

2022-06-23 22:39:38 | [Mutex] waiting for: [received:nodes:9f794322-64ff-48c9-8dbd-7e63c2d8b52c:localhost]

2022-06-23 22:39:38 | [Mutex] received everything.

2022-06-23 22:39:38 | [Mutex] isItemNotified: received:node:9f794322-64ff-48c9-8dbd-7e63c2d8b52c:localhost:node-bb67813c-02d2-4ba5-9bb8-f9968339cde6:Node bb67813c-02d2-4ba5-9bb8-f9968339cde6 :: true

2022-06-23 22:39:38 | [Mutex] waiting for: [received:nodes:fe9aaade-86d0-4c3e-bb45-b636ccdc5305:localhost]

2022-06-23 22:39:38 | [Mutex] waiting for: [received:nodes:fe9aaade-86d0-4c3e-bb45-b636ccdc5305:localhost]

2022-06-23 22:39:38 | [Mutex] waiting for: [received:nodes:fe9aaade-86d0-4c3e-bb45-b636ccdc5305:localhost]

2022-06-23 22:39:38 | [Mutex] received everything.

2022-06-23 22:39:38 | [Mutex] isItemNotified: received:node:fe9aaade-86d0-4c3e-bb45-b636ccdc5305:localhost:node-bb67813c-02d2-4ba5-9bb8-f9968339cde6:Node bb67813c-02d2-4ba5-9bb8-f9968339cde6 :: false

createNodes 1.395s
2022-06-23 22:39:34 |

2022-06-23 22:39:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:39:34 | ------------------------------------

2022-06-23 22:39:34 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bb67813c-02d2-4ba5-9bb8-f9968339cde6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bb67813c-02d2-4ba5-9bb8-f9968339cde6</title></pubsub></data>

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

2022-06-23 22:39:36 | [Mutex] waiting for: [received:nodes:c4ba5dbe-7364-42d6-957c-6c90a75dbc16:localhost]

2022-06-23 22:39:36 | [Mutex] received everything.

2022-06-23 22:39:36 | [Mutex] isItemNotified: received:node:c4ba5dbe-7364-42d6-957c-6c90a75dbc16:localhost:node-bb67813c-02d2-4ba5-9bb8-f9968339cde6:Node bb67813c-02d2-4ba5-9bb8-f9968339cde6 :: true

createSubnodes 1.020s
2022-06-23 22:39:36 |

2022-06-23 22:39:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:39:36 | ------------------------------------

2022-06-23 22:39:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e8c9f454-c3e0-4b18-8b6f-991892f27265</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e8c9f454-c3e0-4b18-8b6f-991892f27265</title></pubsub></data>

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

2022-06-23 22:39:37 | [Mutex] waiting for: [received:nodes:2cd8ddac-2d84-4e8d-9be9-27eb1684a6a1:localhost]

2022-06-23 22:39:37 | [Mutex] received everything.

2022-06-23 22:39:37 | [Mutex] isItemNotified: received:node:2cd8ddac-2d84-4e8d-9be9-27eb1684a6a1:localhost:node-e8c9f454-c3e0-4b18-8b6f-991892f27265:Node e8c9f454-c3e0-4b18-8b6f-991892f27265 :: true

deleteNodes 1.015s
2022-06-23 22:39:42 |

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

2022-06-23 22:39:42 | ------------------------------------

2022-06-23 22:39:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e8c9f454-c3e0-4b18-8b6f-991892f27265</node></data>

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

2022-06-23 22:39:43 | [Mutex] waiting for: [received:nodes:da0bd463-b548-4e34-95d5-c0a4ae246d7b:localhost]

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

2022-06-23 22:39:43 | [Mutex] isItemNotified: received:node:da0bd463-b548-4e34-95d5-c0a4ae246d7b:localhost:node-e8c9f454-c3e0-4b18-8b6f-991892f27265:Node e8c9f454-c3e0-4b18-8b6f-991892f27265 :: false

deleteSubnodes 1.140s
2022-06-23 22:39:41 |

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

2022-06-23 22:39:41 | ------------------------------------

2022-06-23 22:39:41 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bb67813c-02d2-4ba5-9bb8-f9968339cde6</node></data>

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

2022-06-23 22:39:42 | [Mutex] waiting for: [received:nodes:980f05ba-a437-43a3-9749-7d99fef81c64:localhost]

2022-06-23 22:39:42 | [Mutex] waiting for: [received:nodes:980f05ba-a437-43a3-9749-7d99fef81c64:localhost]

2022-06-23 22:39:42 | [Mutex] waiting for: [received:nodes:980f05ba-a437-43a3-9749-7d99fef81c64:localhost]

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

2022-06-23 22:39:42 | [Mutex] isItemNotified: received:node:980f05ba-a437-43a3-9749-7d99fef81c64:localhost:node-bb67813c-02d2-4ba5-9bb8-f9968339cde6:Node bb67813c-02d2-4ba5-9bb8-f9968339cde6 :: false

2022-06-23 22:39:42 | [Mutex] waiting for: [received:nodes:456957da-7e3d-4f60-b213-f31f147410a7:localhost]

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

2022-06-23 22:39:42 | [Mutex] isItemNotified: received:node:456957da-7e3d-4f60-b213-f31f147410a7:localhost:node-bb67813c-02d2-4ba5-9bb8-f9968339cde6:Node bb67813c-02d2-4ba5-9bb8-f9968339cde6 :: false

publishItemsToNodes 0.193s
2022-06-23 22:39:39 |

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

2022-06-23 22:39:39 | ------------------------------------

2022-06-23 22:39:39 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bb67813c-02d2-4ba5-9bb8-f9968339cde6</node><item-id>item-dec69603-61c3-494e-8ebd-83b3e33c5332</item-id><entry><test>item-dec69603-61c3-494e-8ebd-83b3e33c5332</test></entry></data>

2022-06-23 22:39:39 | 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-dec69603-61c3-494e-8ebd-83b3e33c5332</value></item-id></result>

2022-06-23 22:39:39 | [Mutex] waiting for: [published:item:notifieditem-dec69603-61c3-494e-8ebd-83b3e33c5332:admin@test-domain.com]

2022-06-23 22:39:39 | [Mutex] received everything.

2022-06-23 22:39:39 | [Mutex] isItemNotified: published:item:notifieditem-dec69603-61c3-494e-8ebd-83b3e33c5332:admin@test-domain.com :: true

retractItemsFromNodes 0.347s
2022-06-23 22:39:39 |

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

2022-06-23 22:39:39 | ------------------------------------

2022-06-23 22:39:39 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bb67813c-02d2-4ba5-9bb8-f9968339cde6</node><item-id>item-dec69603-61c3-494e-8ebd-83b3e33c5332</item-id></data>

2022-06-23 22:39:40 | 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-dec69603-61c3-494e-8ebd-83b3e33c5332</value></item-id></result>

2022-06-23 22:39:40 | [Mutex] received everything.

2022-06-23 22:39:40 | [Mutex] isItemNotified: retracted:item:notifieditem-dec69603-61c3-494e-8ebd-83b3e33c5332:admin@test-domain.com :: true

retrieveItemsFromNodes 0.126s
2022-06-23 22:39:39 |

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

2022-06-23 22:39:39 | ------------------------------------

2022-06-23 22:39:39 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bb67813c-02d2-4ba5-9bb8-f9968339cde6</node><item-id>item-dec69603-61c3-494e-8ebd-83b3e33c5332</item-id></data>

2022-06-23 22:39:39 | 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-bb67813c-02d2-4ba5-9bb8-f9968339cde6</value></node><item-id label="Item ID" type="text-single"><value>item-dec69603-61c3-494e-8ebd-83b3e33c5332</value></item-id><item label="Item" type="text-multi"><value><item id="item-dec69603-61c3-494e-8ebd-83b3e33c5332"><test>item-dec69603-61c3-494e-8ebd-83b3e33c5332</test></item></value></item></result>

2022-06-23 22:39:39 | [Mutex] notify: [retrieved:item:item-dec69603-61c3-494e-8ebd-83b3e33c5332:payload-matches:true:localhost]

2022-06-23 22:39:39 | [Mutex] received everything.

2022-06-23 22:39:39 | [Mutex] isItemNotified: retrieved:item:item-dec69603-61c3-494e-8ebd-83b3e33c5332:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-06-23 22:39:39 |

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

2022-06-23 22:39:39 | ------------------------------------

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

2022-06-23 22:39:39 | 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-bb67813c-02d2-4ba5-9bb8-f9968339cde6</value><value>node-e8c9f454-c3e0-4b18-8b6f-991892f27265</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.056s
2022-06-23 22:39:39 |

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

2022-06-23 22:39:39 | ------------------------------------

2022-06-23 22:39:39 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bb67813c-02d2-4ba5-9bb8-f9968339cde6)</node-pattern></data>

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

subscribeNodes 1.109s
2022-06-23 22:39:38 |

2022-06-23 22:39:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:39:38 | ------------------------------------

2022-06-23 22:39:38 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bb67813c-02d2-4ba5-9bb8-f9968339cde6</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.207s
2022-06-23 22:39:40 |

2022-06-23 22:39:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-23 22:39:40 | ------------------------------------

2022-06-23 22:39:40 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bb67813c-02d2-4ba5-9bb8-f9968339cde6</node><jids><value>admin@test-domain.com</value></jids></data>

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