Generated by TestNG with ReportNG at 22:50 PDT on Sunday 07 August 2022
root@f9c07ffec79b / 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.405s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2022-08-07 23:04:56 |

2022-08-07 23:04:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 23:04:56 | ------------------------------------

2022-08-07 23:04:56 | [Mutex] waiting for: [configured:node:node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4:node-08c70f2e-4b39-4b53-9511-1ceb1b0c8cd8]

2022-08-07 23:04:56 | [Mutex] received everything.

2022-08-07 23:04:56 | [Mutex] isItemNotified: configured:node:node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4:node-08c70f2e-4b39-4b53-9511-1ceb1b0c8cd8 :: true

2022-08-07 23:04:57 | [Mutex] waiting for: [received:nodes:c1de95a3-3697-4521-acb7-2edee70e30ea:localhost]

2022-08-07 23:04:57 | [Mutex] received everything.

2022-08-07 23:04:57 | [Mutex] isItemNotified: received:node:c1de95a3-3697-4521-acb7-2edee70e30ea:localhost:node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4:Node fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4 :: true

2022-08-07 23:04:57 | [Mutex] waiting for: [received:nodes:7a9db8b4-2303-409a-b7af-2a160b0926ed:localhost]

2022-08-07 23:04:57 | [Mutex] received everything.

2022-08-07 23:04:57 | [Mutex] isItemNotified: received:node:7a9db8b4-2303-409a-b7af-2a160b0926ed:localhost:node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4:Node fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4 :: false

createNodes 1.410s
2022-08-07 23:04:53 |

2022-08-07 23:04:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 23:04:53 | ------------------------------------

2022-08-07 23:04:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4</title></pubsub></data>

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

2022-08-07 23:04:54 | [Mutex] waiting for: [received:nodes:509f94d9-ea6e-4d49-b52a-55afc7a60397:localhost]

2022-08-07 23:04:54 | [Mutex] waiting for: [received:nodes:509f94d9-ea6e-4d49-b52a-55afc7a60397:localhost]

2022-08-07 23:04:54 | [Mutex] waiting for: [received:nodes:509f94d9-ea6e-4d49-b52a-55afc7a60397:localhost]

2022-08-07 23:04:54 | [Mutex] waiting for: [received:nodes:509f94d9-ea6e-4d49-b52a-55afc7a60397:localhost]

2022-08-07 23:04:54 | [Mutex] received everything.

2022-08-07 23:04:54 | [Mutex] isItemNotified: received:node:509f94d9-ea6e-4d49-b52a-55afc7a60397:localhost:node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4:Node fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4 :: true

createSubnodes 1.023s
2022-08-07 23:04:54 |

2022-08-07 23:04:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 23:04:54 | ------------------------------------

2022-08-07 23:04:54 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-08c70f2e-4b39-4b53-9511-1ceb1b0c8cd8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 08c70f2e-4b39-4b53-9511-1ceb1b0c8cd8</title></pubsub></data>

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

2022-08-07 23:04:56 | [Mutex] waiting for: [received:nodes:f42c7724-7b4b-45a2-ade2-9572bd3a0679:localhost]

2022-08-07 23:04:56 | [Mutex] received everything.

2022-08-07 23:04:56 | [Mutex] isItemNotified: received:node:f42c7724-7b4b-45a2-ade2-9572bd3a0679:localhost:node-08c70f2e-4b39-4b53-9511-1ceb1b0c8cd8:Node 08c70f2e-4b39-4b53-9511-1ceb1b0c8cd8 :: true

deleteNodes 1.016s
2022-08-07 23:05:01 |

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

2022-08-07 23:05:01 | ------------------------------------

2022-08-07 23:05:01 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-08c70f2e-4b39-4b53-9511-1ceb1b0c8cd8</node></data>

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

2022-08-07 23:05:02 | [Mutex] waiting for: [received:nodes:275a9ad4-6f48-4bf1-9ce9-027fab8e668a:localhost]

2022-08-07 23:05:02 | [Mutex] waiting for: [received:nodes:275a9ad4-6f48-4bf1-9ce9-027fab8e668a:localhost]

2022-08-07 23:05:02 | [Mutex] received everything.

2022-08-07 23:05:02 | [Mutex] isItemNotified: received:node:275a9ad4-6f48-4bf1-9ce9-027fab8e668a:localhost:node-08c70f2e-4b39-4b53-9511-1ceb1b0c8cd8:Node 08c70f2e-4b39-4b53-9511-1ceb1b0c8cd8 :: false

deleteSubnodes 1.136s
2022-08-07 23:05:00 |

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

2022-08-07 23:05:00 | ------------------------------------

2022-08-07 23:05:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4</node></data>

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

2022-08-07 23:05:01 | [Mutex] waiting for: [received:nodes:1076b34a-4d7d-4214-b13c-c0d2006b9c86:localhost]

2022-08-07 23:05:01 | [Mutex] waiting for: [received:nodes:1076b34a-4d7d-4214-b13c-c0d2006b9c86:localhost]

2022-08-07 23:05:01 | [Mutex] received everything.

2022-08-07 23:05:01 | [Mutex] isItemNotified: received:node:1076b34a-4d7d-4214-b13c-c0d2006b9c86:localhost:node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4:Node fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4 :: false

2022-08-07 23:05:01 | [Mutex] waiting for: [received:nodes:e89ea0f3-ab26-4c1f-99d9-648068cb8052:localhost]

2022-08-07 23:05:01 | [Mutex] received everything.

2022-08-07 23:05:01 | [Mutex] isItemNotified: received:node:e89ea0f3-ab26-4c1f-99d9-648068cb8052:localhost:node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4:Node fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4 :: false

publishItemsToNodes 0.232s
2022-08-07 23:04:58 |

2022-08-07 23:04:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 23:04:58 | ------------------------------------

2022-08-07 23:04:58 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4</node><item-id>item-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6</item-id><entry><test>item-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6</test></entry></data>

2022-08-07 23:04: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-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6</value></item-id></result>

2022-08-07 23:04:58 | [Mutex] waiting for: [published:item:notifieditem-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6:admin@test-domain.com]

2022-08-07 23:04:58 | [Mutex] received everything.

2022-08-07 23:04:58 | [Mutex] isItemNotified: published:item:notifieditem-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6:admin@test-domain.com :: true

retractItemsFromNodes 0.275s
2022-08-07 23:04:58 |

2022-08-07 23:04:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 23:04:58 | ------------------------------------

2022-08-07 23:04:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4</node><item-id>item-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6</item-id></data>

2022-08-07 23:04:59 | 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-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6</value></item-id></result>

2022-08-07 23:04:59 | [Mutex] received everything.

2022-08-07 23:04:59 | [Mutex] isItemNotified: retracted:item:notifieditem-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.246s
2022-08-07 23:04:58 |

2022-08-07 23:04:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 23:04:58 | ------------------------------------

2022-08-07 23:04:58 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4</node><item-id>item-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6</item-id></data>

2022-08-07 23:04: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-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4</value></node><item-id type="text-single" label="Item ID"><value>item-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6</value></item-id><item type="text-multi" label="Item"><value><item id="item-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6"><test>item-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6</test></item></value></item></result>

2022-08-07 23:04:58 | [Mutex] notify: [retrieved:item:item-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6:payload-matches:true:localhost]

2022-08-07 23:04:58 | [Mutex] received everything.

2022-08-07 23:04:58 | [Mutex] isItemNotified: retrieved:item:item-a0dd1dc1-f2a1-4678-88c3-6ac888f7aab6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-07 23:04:58 |

2022-08-07 23:04:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 23:04:58 | ------------------------------------

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

2022-08-07 23:04: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-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4</value><value>node-08c70f2e-4b39-4b53-9511-1ceb1b0c8cd8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-07 23:04:58 |

2022-08-07 23:04:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 23:04:58 | ------------------------------------

2022-08-07 23:04: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-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4)</node-pattern></data>

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

subscribeNodes 1.111s
2022-08-07 23:04:57 |

2022-08-07 23:04:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 23:04:57 | ------------------------------------

2022-08-07 23:04:57 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-07 23:04: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.183s
2022-08-07 23:04:59 |

2022-08-07 23:04:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-07 23:04:59 | ------------------------------------

2022-08-07 23:04:59 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fa1d0e03-c83f-4be8-b76f-491b1fd7a4b4</node><jids><value>admin@test-domain.com</value></jids></data>

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