Generated by TestNG with ReportNG at 22:19 PDT on Wednesday 24 August 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.373s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-08-24 22:34:09 |

2022-08-24 22:34:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:09 | ------------------------------------

2022-08-24 22:34:09 | [Mutex] waiting for: [configured:node:node-152c334c-fb76-45a9-9682-4e0d74a04bb0:node-779875b8-c372-44a4-9903-fda5236720d2]

2022-08-24 22:34:09 | [Mutex] received everything.

2022-08-24 22:34:09 | [Mutex] isItemNotified: configured:node:node-152c334c-fb76-45a9-9682-4e0d74a04bb0:node-779875b8-c372-44a4-9903-fda5236720d2 :: true

2022-08-24 22:34:10 | [Mutex] waiting for: [received:nodes:164b2fef-f919-4d99-a312-a7e1b19a6f5b:localhost]

2022-08-24 22:34:10 | [Mutex] received everything.

2022-08-24 22:34:10 | [Mutex] isItemNotified: received:node:164b2fef-f919-4d99-a312-a7e1b19a6f5b:localhost:node-152c334c-fb76-45a9-9682-4e0d74a04bb0:Node 152c334c-fb76-45a9-9682-4e0d74a04bb0 :: true

2022-08-24 22:34:10 | [Mutex] waiting for: [received:nodes:c6f52d07-7a85-44b8-809e-8c386ac8a2e1:localhost]

2022-08-24 22:34:10 | [Mutex] waiting for: [received:nodes:c6f52d07-7a85-44b8-809e-8c386ac8a2e1:localhost]

2022-08-24 22:34:10 | [Mutex] received everything.

2022-08-24 22:34:10 | [Mutex] isItemNotified: received:node:c6f52d07-7a85-44b8-809e-8c386ac8a2e1:localhost:node-152c334c-fb76-45a9-9682-4e0d74a04bb0:Node 152c334c-fb76-45a9-9682-4e0d74a04bb0 :: false

createNodes 1.364s
2022-08-24 22:34:07 |

2022-08-24 22:34:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:07 | ------------------------------------

2022-08-24 22:34:07 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-152c334c-fb76-45a9-9682-4e0d74a04bb0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 152c334c-fb76-45a9-9682-4e0d74a04bb0</title></pubsub></data>

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

2022-08-24 22:34:08 | [Mutex] waiting for: [received:nodes:6e50bc8b-7c6c-49ad-8af8-ec300c91ed56:localhost]

2022-08-24 22:34:08 | [Mutex] received everything.

2022-08-24 22:34:08 | [Mutex] isItemNotified: received:node:6e50bc8b-7c6c-49ad-8af8-ec300c91ed56:localhost:node-152c334c-fb76-45a9-9682-4e0d74a04bb0:Node 152c334c-fb76-45a9-9682-4e0d74a04bb0 :: true

createSubnodes 1.020s
2022-08-24 22:34:08 |

2022-08-24 22:34:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:08 | ------------------------------------

2022-08-24 22:34:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-779875b8-c372-44a4-9903-fda5236720d2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 779875b8-c372-44a4-9903-fda5236720d2</title></pubsub></data>

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

2022-08-24 22:34:09 | [Mutex] waiting for: [received:nodes:867aee2e-d688-42f8-ad8c-91f6b7e46bed:localhost]

2022-08-24 22:34:09 | [Mutex] waiting for: [received:nodes:867aee2e-d688-42f8-ad8c-91f6b7e46bed:localhost]

2022-08-24 22:34:09 | [Mutex] received everything.

2022-08-24 22:34:09 | [Mutex] isItemNotified: received:node:867aee2e-d688-42f8-ad8c-91f6b7e46bed:localhost:node-779875b8-c372-44a4-9903-fda5236720d2:Node 779875b8-c372-44a4-9903-fda5236720d2 :: true

deleteNodes 1.017s
2022-08-24 22:34:15 |

2022-08-24 22:34:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:15 | ------------------------------------

2022-08-24 22:34:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-779875b8-c372-44a4-9903-fda5236720d2</node></data>

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

2022-08-24 22:34:16 | [Mutex] waiting for: [received:nodes:b21ada20-977c-4758-940b-c9941094ee6e:localhost]

2022-08-24 22:34:16 | [Mutex] waiting for: [received:nodes:b21ada20-977c-4758-940b-c9941094ee6e:localhost]

2022-08-24 22:34:16 | [Mutex] received everything.

2022-08-24 22:34:16 | [Mutex] isItemNotified: received:node:b21ada20-977c-4758-940b-c9941094ee6e:localhost:node-779875b8-c372-44a4-9903-fda5236720d2:Node 779875b8-c372-44a4-9903-fda5236720d2 :: false

deleteSubnodes 1.155s
2022-08-24 22:34:13 |

2022-08-24 22:34:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:13 | ------------------------------------

2022-08-24 22:34:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-152c334c-fb76-45a9-9682-4e0d74a04bb0</node></data>

2022-08-24 22:34:14 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-24 22:34:15 | [Mutex] waiting for: [received:nodes:11f39a54-729b-4723-81b0-5cd14876c256:localhost]

2022-08-24 22:34:15 | [Mutex] received everything.

2022-08-24 22:34:15 | [Mutex] isItemNotified: received:node:11f39a54-729b-4723-81b0-5cd14876c256:localhost:node-152c334c-fb76-45a9-9682-4e0d74a04bb0:Node 152c334c-fb76-45a9-9682-4e0d74a04bb0 :: false

2022-08-24 22:34:15 | [Mutex] waiting for: [received:nodes:0f9d730f-2242-49c6-aa4c-677662b32969:localhost]

2022-08-24 22:34:15 | [Mutex] received everything.

2022-08-24 22:34:15 | [Mutex] isItemNotified: received:node:0f9d730f-2242-49c6-aa4c-677662b32969:localhost:node-152c334c-fb76-45a9-9682-4e0d74a04bb0:Node 152c334c-fb76-45a9-9682-4e0d74a04bb0 :: false

publishItemsToNodes 0.187s
2022-08-24 22:34:11 |

2022-08-24 22:34:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:11 | ------------------------------------

2022-08-24 22:34:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-152c334c-fb76-45a9-9682-4e0d74a04bb0</node><item-id>item-24bd41bc-37d5-43be-b8bf-092f88a2849d</item-id><entry><test>item-24bd41bc-37d5-43be-b8bf-092f88a2849d</test></entry></data>

2022-08-24 22:34:12 | 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-24bd41bc-37d5-43be-b8bf-092f88a2849d</value></item-id></result>

2022-08-24 22:34:12 | [Mutex] received everything.

2022-08-24 22:34:12 | [Mutex] isItemNotified: published:item:notifieditem-24bd41bc-37d5-43be-b8bf-092f88a2849d:admin@test-domain.com :: true

retractItemsFromNodes 0.199s
2022-08-24 22:34:12 |

2022-08-24 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:12 | ------------------------------------

2022-08-24 22:34:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-152c334c-fb76-45a9-9682-4e0d74a04bb0</node><item-id>item-24bd41bc-37d5-43be-b8bf-092f88a2849d</item-id></data>

2022-08-24 22:34:12 | 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-24bd41bc-37d5-43be-b8bf-092f88a2849d</value></item-id></result>

2022-08-24 22:34:12 | [Mutex] received everything.

2022-08-24 22:34:12 | [Mutex] isItemNotified: retracted:item:notifieditem-24bd41bc-37d5-43be-b8bf-092f88a2849d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.323s
2022-08-24 22:34:12 |

2022-08-24 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:12 | ------------------------------------

2022-08-24 22:34:12 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-152c334c-fb76-45a9-9682-4e0d74a04bb0</node><item-id>item-24bd41bc-37d5-43be-b8bf-092f88a2849d</item-id></data>

2022-08-24 22:34:12 | 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-152c334c-fb76-45a9-9682-4e0d74a04bb0</value></node><item-id label="Item ID" type="text-single"><value>item-24bd41bc-37d5-43be-b8bf-092f88a2849d</value></item-id><item label="Item" type="text-multi"><value><item id="item-24bd41bc-37d5-43be-b8bf-092f88a2849d"><test>item-24bd41bc-37d5-43be-b8bf-092f88a2849d</test></item></value></item></result>

2022-08-24 22:34:12 | [Mutex] notify: [retrieved:item:item-24bd41bc-37d5-43be-b8bf-092f88a2849d:payload-matches:true:localhost]

2022-08-24 22:34:12 | [Mutex] received everything.

2022-08-24 22:34:12 | [Mutex] isItemNotified: retrieved:item:item-24bd41bc-37d5-43be-b8bf-092f88a2849d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-24 22:34:12 |

2022-08-24 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:12 | ------------------------------------

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

2022-08-24 22:34:12 | 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-152c334c-fb76-45a9-9682-4e0d74a04bb0</value><value>node-779875b8-c372-44a4-9903-fda5236720d2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-24 22:34:12 |

2022-08-24 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:12 | ------------------------------------

2022-08-24 22:34:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-152c334c-fb76-45a9-9682-4e0d74a04bb0)</node-pattern></data>

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

subscribeNodes 1.131s
2022-08-24 22:34:10 |

2022-08-24 22:34:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:10 | ------------------------------------

2022-08-24 22:34:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-152c334c-fb76-45a9-9682-4e0d74a04bb0</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-24 22:34:10 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.171s
2022-08-24 22:34:12 |

2022-08-24 22:34:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-24 22:34:12 | ------------------------------------

2022-08-24 22:34:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-152c334c-fb76-45a9-9682-4e0d74a04bb0</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-24 22:34:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>