Generated by TestNG with ReportNG at 22:17 PDT on Tuesday 05 July 2022
root@ed1b7dd8a1b3 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.656s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2022-07-05 22:31:55 |

2022-07-05 22:31:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:31:55 | ------------------------------------

2022-07-05 22:31:55 | [Mutex] waiting for: [configured:node:node-0e526187-4532-4ee2-b506-5ba6711f0ada:node-c5092f3c-4e5d-4e21-8c10-cbd3d8330bf0]

2022-07-05 22:31:55 | [Mutex] received everything.

2022-07-05 22:31:55 | [Mutex] isItemNotified: configured:node:node-0e526187-4532-4ee2-b506-5ba6711f0ada:node-c5092f3c-4e5d-4e21-8c10-cbd3d8330bf0 :: true

2022-07-05 22:31:56 | [Mutex] waiting for: [received:nodes:f7448e53-442c-4efe-a88f-66dccc1adab2:localhost]

2022-07-05 22:31:56 | [Mutex] waiting for: [received:nodes:f7448e53-442c-4efe-a88f-66dccc1adab2:localhost]

2022-07-05 22:31:56 | [Mutex] received everything.

2022-07-05 22:31:56 | [Mutex] isItemNotified: received:node:f7448e53-442c-4efe-a88f-66dccc1adab2:localhost:node-0e526187-4532-4ee2-b506-5ba6711f0ada:Node 0e526187-4532-4ee2-b506-5ba6711f0ada :: true

2022-07-05 22:31:56 | [Mutex] waiting for: [received:nodes:5b6ddc26-b7e3-49df-b7c0-149646515864:localhost]

2022-07-05 22:31:56 | [Mutex] waiting for: [received:nodes:5b6ddc26-b7e3-49df-b7c0-149646515864:localhost]

2022-07-05 22:31:56 | [Mutex] waiting for: [received:nodes:5b6ddc26-b7e3-49df-b7c0-149646515864:localhost]

2022-07-05 22:31:56 | [Mutex] waiting for: [received:nodes:5b6ddc26-b7e3-49df-b7c0-149646515864:localhost]

2022-07-05 22:31:56 | [Mutex] received everything.

2022-07-05 22:31:56 | [Mutex] isItemNotified: received:node:5b6ddc26-b7e3-49df-b7c0-149646515864:localhost:node-0e526187-4532-4ee2-b506-5ba6711f0ada:Node 0e526187-4532-4ee2-b506-5ba6711f0ada :: false

createNodes 1.489s
2022-07-05 22:31:53 |

2022-07-05 22:31:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:31:53 | ------------------------------------

2022-07-05 22:31:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0e526187-4532-4ee2-b506-5ba6711f0ada</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0e526187-4532-4ee2-b506-5ba6711f0ada</title></pubsub></data>

2022-07-05 22:31:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-05 22:31:54 | [Mutex] waiting for: [received:nodes:224b695f-030e-457c-98d2-0838a66a631a:localhost]

2022-07-05 22:31:54 | [Mutex] received everything.

2022-07-05 22:31:54 | [Mutex] isItemNotified: received:node:224b695f-030e-457c-98d2-0838a66a631a:localhost:node-0e526187-4532-4ee2-b506-5ba6711f0ada:Node 0e526187-4532-4ee2-b506-5ba6711f0ada :: true

createSubnodes 1.024s
2022-07-05 22:31:54 |

2022-07-05 22:31:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:31:54 | ------------------------------------

2022-07-05 22:31:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c5092f3c-4e5d-4e21-8c10-cbd3d8330bf0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c5092f3c-4e5d-4e21-8c10-cbd3d8330bf0</title></pubsub></data>

2022-07-05 22:31:54 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-05 22:31:55 | [Mutex] waiting for: [received:nodes:31f0fa64-e99b-4286-9a14-5a418ac6a9ff:localhost]

2022-07-05 22:31:55 | [Mutex] waiting for: [received:nodes:31f0fa64-e99b-4286-9a14-5a418ac6a9ff:localhost]

2022-07-05 22:31:55 | [Mutex] received everything.

2022-07-05 22:31:55 | [Mutex] isItemNotified: received:node:31f0fa64-e99b-4286-9a14-5a418ac6a9ff:localhost:node-c5092f3c-4e5d-4e21-8c10-cbd3d8330bf0:Node c5092f3c-4e5d-4e21-8c10-cbd3d8330bf0 :: true

deleteNodes 1.017s
2022-07-05 22:32:01 |

2022-07-05 22:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:32:01 | ------------------------------------

2022-07-05 22:32:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c5092f3c-4e5d-4e21-8c10-cbd3d8330bf0</node></data>

2022-07-05 22:32:01 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-05 22:32:02 | [Mutex] waiting for: [received:nodes:4058085b-5241-45c8-baa8-51bc01e9354d:localhost]

2022-07-05 22:32:02 | [Mutex] received everything.

2022-07-05 22:32:02 | [Mutex] isItemNotified: received:node:4058085b-5241-45c8-baa8-51bc01e9354d:localhost:node-c5092f3c-4e5d-4e21-8c10-cbd3d8330bf0:Node c5092f3c-4e5d-4e21-8c10-cbd3d8330bf0 :: false

deleteSubnodes 1.112s
2022-07-05 22:32:00 |

2022-07-05 22:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:32:00 | ------------------------------------

2022-07-05 22:32:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0e526187-4532-4ee2-b506-5ba6711f0ada</node></data>

2022-07-05 22:32:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-05 22:32:01 | [Mutex] waiting for: [received:nodes:861d171a-82e4-4b8d-9336-2d79057df2f5:localhost]

2022-07-05 22:32:01 | [Mutex] received everything.

2022-07-05 22:32:01 | [Mutex] isItemNotified: received:node:861d171a-82e4-4b8d-9336-2d79057df2f5:localhost:node-0e526187-4532-4ee2-b506-5ba6711f0ada:Node 0e526187-4532-4ee2-b506-5ba6711f0ada :: false

2022-07-05 22:32:01 | [Mutex] waiting for: [received:nodes:ba712793-fb60-4d87-864e-e9b237d1e9ac:localhost]

2022-07-05 22:32:01 | [Mutex] received everything.

2022-07-05 22:32:01 | [Mutex] isItemNotified: received:node:ba712793-fb60-4d87-864e-e9b237d1e9ac:localhost:node-0e526187-4532-4ee2-b506-5ba6711f0ada:Node 0e526187-4532-4ee2-b506-5ba6711f0ada :: false

publishItemsToNodes 0.201s
2022-07-05 22:31:58 |

2022-07-05 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:31:58 | ------------------------------------

2022-07-05 22:31:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0e526187-4532-4ee2-b506-5ba6711f0ada</node><item-id>item-b1e59a8d-7259-46ea-8b89-f03629bba151</item-id><entry><test>item-b1e59a8d-7259-46ea-8b89-f03629bba151</test></entry></data>

2022-07-05 22:31:58 | 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-b1e59a8d-7259-46ea-8b89-f03629bba151</value></item-id></result>

2022-07-05 22:31:58 | [Mutex] waiting for: [published:item:notifieditem-b1e59a8d-7259-46ea-8b89-f03629bba151:admin@test-domain.com]

2022-07-05 22:31:58 | [Mutex] received everything.

2022-07-05 22:31:58 | [Mutex] isItemNotified: published:item:notifieditem-b1e59a8d-7259-46ea-8b89-f03629bba151:admin@test-domain.com :: true

retractItemsFromNodes 0.375s
2022-07-05 22:31:58 |

2022-07-05 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:31:58 | ------------------------------------

2022-07-05 22:31:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0e526187-4532-4ee2-b506-5ba6711f0ada</node><item-id>item-b1e59a8d-7259-46ea-8b89-f03629bba151</item-id></data>

2022-07-05 22:31:58 | 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-b1e59a8d-7259-46ea-8b89-f03629bba151</value></item-id></result>

2022-07-05 22:31:58 | [Mutex] received everything.

2022-07-05 22:31:58 | [Mutex] isItemNotified: retracted:item:notifieditem-b1e59a8d-7259-46ea-8b89-f03629bba151:admin@test-domain.com :: true

retrieveItemsFromNodes 0.212s
2022-07-05 22:31:58 |

2022-07-05 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:31:58 | ------------------------------------

2022-07-05 22:31:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0e526187-4532-4ee2-b506-5ba6711f0ada</node><item-id>item-b1e59a8d-7259-46ea-8b89-f03629bba151</item-id></data>

2022-07-05 22:31:58 | 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-0e526187-4532-4ee2-b506-5ba6711f0ada</value></node><item-id type="text-single" label="Item ID"><value>item-b1e59a8d-7259-46ea-8b89-f03629bba151</value></item-id><item type="text-multi" label="Item"><value><item id="item-b1e59a8d-7259-46ea-8b89-f03629bba151"><test>item-b1e59a8d-7259-46ea-8b89-f03629bba151</test></item></value></item></result>

2022-07-05 22:31:58 | [Mutex] notify: [retrieved:item:item-b1e59a8d-7259-46ea-8b89-f03629bba151:payload-matches:true:localhost]

2022-07-05 22:31:58 | [Mutex] received everything.

2022-07-05 22:31:58 | [Mutex] isItemNotified: retrieved:item:item-b1e59a8d-7259-46ea-8b89-f03629bba151:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.054s
2022-07-05 22:31:58 |

2022-07-05 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:31:58 | ------------------------------------

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

2022-07-05 22:31:58 | 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-0e526187-4532-4ee2-b506-5ba6711f0ada</value><value>node-c5092f3c-4e5d-4e21-8c10-cbd3d8330bf0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-07-05 22:31:58 |

2022-07-05 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:31:58 | ------------------------------------

2022-07-05 22:31:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0e526187-4532-4ee2-b506-5ba6711f0ada)</node-pattern></data>

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

subscribeNodes 1.131s
2022-07-05 22:31:56 |

2022-07-05 22:31:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:31:56 | ------------------------------------

2022-07-05 22:31:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0e526187-4532-4ee2-b506-5ba6711f0ada</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-05 22:31:57 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.199s
2022-07-05 22:31:58 |

2022-07-05 22:31:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-05 22:31:58 | ------------------------------------

2022-07-05 22:31:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0e526187-4532-4ee2-b506-5ba6711f0ada</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-05 22:31:59 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>