Generated by TestNG with ReportNG at 22:19 PDT on Monday 01 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.600s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2022-08-01 22:34:04 |

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

2022-08-01 22:34:04 | ------------------------------------

2022-08-01 22:34:04 | [Mutex] waiting for: [configured:node:node-8f426951-e5b8-49cc-a184-c4e68c2e7249:node-f1922002-fd2d-432e-a2e7-b766151f06a9]

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

2022-08-01 22:34:04 | [Mutex] isItemNotified: configured:node:node-8f426951-e5b8-49cc-a184-c4e68c2e7249:node-f1922002-fd2d-432e-a2e7-b766151f06a9 :: true

2022-08-01 22:34:05 | [Mutex] waiting for: [received:nodes:a36ad3f9-563b-4281-98d1-1bec1f70c164:localhost]

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

2022-08-01 22:34:05 | [Mutex] isItemNotified: received:node:a36ad3f9-563b-4281-98d1-1bec1f70c164:localhost:node-8f426951-e5b8-49cc-a184-c4e68c2e7249:Node 8f426951-e5b8-49cc-a184-c4e68c2e7249 :: true

2022-08-01 22:34:05 | [Mutex] waiting for: [received:nodes:7f6a0789-4af2-4e24-8119-cf9cfa49d8c4:localhost]

2022-08-01 22:34:05 | [Mutex] waiting for: [received:nodes:7f6a0789-4af2-4e24-8119-cf9cfa49d8c4:localhost]

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

2022-08-01 22:34:05 | [Mutex] isItemNotified: received:node:7f6a0789-4af2-4e24-8119-cf9cfa49d8c4:localhost:node-8f426951-e5b8-49cc-a184-c4e68c2e7249:Node 8f426951-e5b8-49cc-a184-c4e68c2e7249 :: false

createNodes 1.477s
2022-08-01 22:34:01 |

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

2022-08-01 22:34:01 | ------------------------------------

2022-08-01 22:34:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8f426951-e5b8-49cc-a184-c4e68c2e7249</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8f426951-e5b8-49cc-a184-c4e68c2e7249</title></pubsub></data>

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

2022-08-01 22:34:03 | [Mutex] waiting for: [received:nodes:af084a1a-5a8d-41f9-8ef7-5b3ab3b93444:localhost]

2022-08-01 22:34:03 | [Mutex] waiting for: [received:nodes:af084a1a-5a8d-41f9-8ef7-5b3ab3b93444:localhost]

2022-08-01 22:34:03 | [Mutex] waiting for: [received:nodes:af084a1a-5a8d-41f9-8ef7-5b3ab3b93444:localhost]

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

2022-08-01 22:34:03 | [Mutex] isItemNotified: received:node:af084a1a-5a8d-41f9-8ef7-5b3ab3b93444:localhost:node-8f426951-e5b8-49cc-a184-c4e68c2e7249:Node 8f426951-e5b8-49cc-a184-c4e68c2e7249 :: true

createSubnodes 1.025s
2022-08-01 22:34:03 |

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

2022-08-01 22:34:03 | ------------------------------------

2022-08-01 22:34:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f1922002-fd2d-432e-a2e7-b766151f06a9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f1922002-fd2d-432e-a2e7-b766151f06a9</title></pubsub></data>

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

2022-08-01 22:34:04 | [Mutex] waiting for: [received:nodes:ccf6e599-b338-41bb-8398-b3997033c159:localhost]

2022-08-01 22:34:04 | [Mutex] waiting for: [received:nodes:ccf6e599-b338-41bb-8398-b3997033c159:localhost]

2022-08-01 22:34:04 | [Mutex] waiting for: [received:nodes:ccf6e599-b338-41bb-8398-b3997033c159:localhost]

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

2022-08-01 22:34:04 | [Mutex] isItemNotified: received:node:ccf6e599-b338-41bb-8398-b3997033c159:localhost:node-f1922002-fd2d-432e-a2e7-b766151f06a9:Node f1922002-fd2d-432e-a2e7-b766151f06a9 :: true

deleteNodes 1.025s
2022-08-01 22:34:09 |

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

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

2022-08-01 22:34:09 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f1922002-fd2d-432e-a2e7-b766151f06a9</node></data>

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

2022-08-01 22:34:10 | [Mutex] waiting for: [received:nodes:a46a894e-bb95-442c-ac6e-77d6cb426043:localhost]

2022-08-01 22:34:10 | [Mutex] waiting for: [received:nodes:a46a894e-bb95-442c-ac6e-77d6cb426043:localhost]

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

2022-08-01 22:34:10 | [Mutex] isItemNotified: received:node:a46a894e-bb95-442c-ac6e-77d6cb426043:localhost:node-f1922002-fd2d-432e-a2e7-b766151f06a9:Node f1922002-fd2d-432e-a2e7-b766151f06a9 :: false

deleteSubnodes 1.162s
2022-08-01 22:34:08 |

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

2022-08-01 22:34:08 | ------------------------------------

2022-08-01 22:34:08 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8f426951-e5b8-49cc-a184-c4e68c2e7249</node></data>

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

2022-08-01 22:34:09 | [Mutex] waiting for: [received:nodes:20a20a98-2724-432e-ae5d-262b784e26f6:localhost]

2022-08-01 22:34:09 | [Mutex] waiting for: [received:nodes:20a20a98-2724-432e-ae5d-262b784e26f6:localhost]

2022-08-01 22:34:09 | [Mutex] waiting for: [received:nodes:20a20a98-2724-432e-ae5d-262b784e26f6:localhost]

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

2022-08-01 22:34:09 | [Mutex] isItemNotified: received:node:20a20a98-2724-432e-ae5d-262b784e26f6:localhost:node-8f426951-e5b8-49cc-a184-c4e68c2e7249:Node 8f426951-e5b8-49cc-a184-c4e68c2e7249 :: false

2022-08-01 22:34:09 | [Mutex] waiting for: [received:nodes:9372eeb2-a639-42cf-9557-d78c3a8d788e:localhost]

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

2022-08-01 22:34:09 | [Mutex] isItemNotified: received:node:9372eeb2-a639-42cf-9557-d78c3a8d788e:localhost:node-8f426951-e5b8-49cc-a184-c4e68c2e7249:Node 8f426951-e5b8-49cc-a184-c4e68c2e7249 :: false

publishItemsToNodes 0.241s
2022-08-01 22:34:06 |

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

2022-08-01 22:34:06 | ------------------------------------

2022-08-01 22:34:06 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8f426951-e5b8-49cc-a184-c4e68c2e7249</node><item-id>item-668ae5bd-c25f-43bd-b025-837fc4b33baf</item-id><entry><test>item-668ae5bd-c25f-43bd-b025-837fc4b33baf</test></entry></data>

2022-08-01 22:34:06 | 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-668ae5bd-c25f-43bd-b025-837fc4b33baf</value></item-id></result>

2022-08-01 22:34:06 | [Mutex] waiting for: [published:item:notifieditem-668ae5bd-c25f-43bd-b025-837fc4b33baf:admin@test-domain.com]

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

2022-08-01 22:34:06 | [Mutex] isItemNotified: published:item:notifieditem-668ae5bd-c25f-43bd-b025-837fc4b33baf:admin@test-domain.com :: true

retractItemsFromNodes 0.273s
2022-08-01 22:34:06 |

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

2022-08-01 22:34:06 | ------------------------------------

2022-08-01 22:34:06 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8f426951-e5b8-49cc-a184-c4e68c2e7249</node><item-id>item-668ae5bd-c25f-43bd-b025-837fc4b33baf</item-id></data>

2022-08-01 22:34:07 | 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-668ae5bd-c25f-43bd-b025-837fc4b33baf</value></item-id></result>

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

2022-08-01 22:34:07 | [Mutex] isItemNotified: retracted:item:notifieditem-668ae5bd-c25f-43bd-b025-837fc4b33baf:admin@test-domain.com :: true

retrieveItemsFromNodes 0.240s
2022-08-01 22:34:06 |

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

2022-08-01 22:34:06 | ------------------------------------

2022-08-01 22:34:06 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8f426951-e5b8-49cc-a184-c4e68c2e7249</node><item-id>item-668ae5bd-c25f-43bd-b025-837fc4b33baf</item-id></data>

2022-08-01 22:34:06 | 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-8f426951-e5b8-49cc-a184-c4e68c2e7249</value></node><item-id type="text-single" label="Item ID"><value>item-668ae5bd-c25f-43bd-b025-837fc4b33baf</value></item-id><item type="text-multi" label="Item"><value><item id="item-668ae5bd-c25f-43bd-b025-837fc4b33baf"><test>item-668ae5bd-c25f-43bd-b025-837fc4b33baf</test></item></value></item></result>

2022-08-01 22:34:06 | [Mutex] notify: [retrieved:item:item-668ae5bd-c25f-43bd-b025-837fc4b33baf:payload-matches:true:localhost]

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

2022-08-01 22:34:06 | [Mutex] isItemNotified: retrieved:item:item-668ae5bd-c25f-43bd-b025-837fc4b33baf:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-08-01 22:34:06 |

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

2022-08-01 22:34:06 | ------------------------------------

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

2022-08-01 22:34:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-8f426951-e5b8-49cc-a184-c4e68c2e7249</value><value>test</value><value>node-f1922002-fd2d-432e-a2e7-b766151f06a9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-08-01 22:34:06 |

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

2022-08-01 22:34:06 | ------------------------------------

2022-08-01 22:34:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8f426951-e5b8-49cc-a184-c4e68c2e7249)</node-pattern></data>

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

subscribeNodes 1.141s
2022-08-01 22:34:05 |

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

2022-08-01 22:34:05 | ------------------------------------

2022-08-01 22:34:05 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8f426951-e5b8-49cc-a184-c4e68c2e7249</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-01 22:34:05 | 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-08-01 22:34:07 |

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

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

2022-08-01 22:34:07 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8f426951-e5b8-49cc-a184-c4e68c2e7249</node><jids><value>admin@test-domain.com</value></jids></data>

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