Generated by TestNG with ReportNG at 22:52 PDT on Wednesday 31 August 2022
root@7c41cec37518 / 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.316s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2022-08-31 23:06:46 |

2022-08-31 23:06:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:46 | ------------------------------------

2022-08-31 23:06:46 | [Mutex] waiting for: [configured:node:node-fd164007-4e02-403e-b7d1-1ebe832e8e14:node-d0a2ad9e-1cbd-4880-bc3b-0851f75cf586]

2022-08-31 23:06:46 | [Mutex] received everything.

2022-08-31 23:06:46 | [Mutex] isItemNotified: configured:node:node-fd164007-4e02-403e-b7d1-1ebe832e8e14:node-d0a2ad9e-1cbd-4880-bc3b-0851f75cf586 :: true

2022-08-31 23:06:47 | [Mutex] waiting for: [received:nodes:1d5b22bb-1be1-4a3b-b2c9-85c63c6d399d:localhost]

2022-08-31 23:06:47 | [Mutex] received everything.

2022-08-31 23:06:47 | [Mutex] isItemNotified: received:node:1d5b22bb-1be1-4a3b-b2c9-85c63c6d399d:localhost:node-fd164007-4e02-403e-b7d1-1ebe832e8e14:Node fd164007-4e02-403e-b7d1-1ebe832e8e14 :: true

2022-08-31 23:06:47 | [Mutex] waiting for: [received:nodes:2e1c00f4-bd50-47e2-819c-6e74dfbd2b09:localhost]

2022-08-31 23:06:47 | [Mutex] waiting for: [received:nodes:2e1c00f4-bd50-47e2-819c-6e74dfbd2b09:localhost]

2022-08-31 23:06:47 | [Mutex] waiting for: [received:nodes:2e1c00f4-bd50-47e2-819c-6e74dfbd2b09:localhost]

2022-08-31 23:06:47 | [Mutex] received everything.

2022-08-31 23:06:47 | [Mutex] isItemNotified: received:node:2e1c00f4-bd50-47e2-819c-6e74dfbd2b09:localhost:node-fd164007-4e02-403e-b7d1-1ebe832e8e14:Node fd164007-4e02-403e-b7d1-1ebe832e8e14 :: false

createNodes 1.352s
2022-08-31 23:06:44 |

2022-08-31 23:06:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:44 | ------------------------------------

2022-08-31 23:06:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fd164007-4e02-403e-b7d1-1ebe832e8e14</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fd164007-4e02-403e-b7d1-1ebe832e8e14</title></pubsub></data>

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

2022-08-31 23:06:45 | [Mutex] waiting for: [received:nodes:a05e2993-5119-4028-ab57-ecb96c33abd6:localhost]

2022-08-31 23:06:45 | [Mutex] received everything.

2022-08-31 23:06:45 | [Mutex] isItemNotified: received:node:a05e2993-5119-4028-ab57-ecb96c33abd6:localhost:node-fd164007-4e02-403e-b7d1-1ebe832e8e14:Node fd164007-4e02-403e-b7d1-1ebe832e8e14 :: true

createSubnodes 1.019s
2022-08-31 23:06:45 |

2022-08-31 23:06:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:45 | ------------------------------------

2022-08-31 23:06:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d0a2ad9e-1cbd-4880-bc3b-0851f75cf586</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d0a2ad9e-1cbd-4880-bc3b-0851f75cf586</title></pubsub></data>

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

2022-08-31 23:06:46 | [Mutex] waiting for: [received:nodes:0d2bd7ec-02e3-4b48-b80d-16c494bfeeea:localhost]

2022-08-31 23:06:46 | [Mutex] received everything.

2022-08-31 23:06:46 | [Mutex] isItemNotified: received:node:0d2bd7ec-02e3-4b48-b80d-16c494bfeeea:localhost:node-d0a2ad9e-1cbd-4880-bc3b-0851f75cf586:Node d0a2ad9e-1cbd-4880-bc3b-0851f75cf586 :: true

deleteNodes 1.016s
2022-08-31 23:06:52 |

2022-08-31 23:06:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:52 | ------------------------------------

2022-08-31 23:06:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d0a2ad9e-1cbd-4880-bc3b-0851f75cf586</node></data>

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

2022-08-31 23:06:53 | [Mutex] waiting for: [received:nodes:fa7853e3-3a9d-4510-a20f-6b45453a06d1:localhost]

2022-08-31 23:06:53 | [Mutex] waiting for: [received:nodes:fa7853e3-3a9d-4510-a20f-6b45453a06d1:localhost]

2022-08-31 23:06:53 | [Mutex] received everything.

2022-08-31 23:06:53 | [Mutex] isItemNotified: received:node:fa7853e3-3a9d-4510-a20f-6b45453a06d1:localhost:node-d0a2ad9e-1cbd-4880-bc3b-0851f75cf586:Node d0a2ad9e-1cbd-4880-bc3b-0851f75cf586 :: false

deleteSubnodes 1.161s
2022-08-31 23:06:50 |

2022-08-31 23:06:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:50 | ------------------------------------

2022-08-31 23:06:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fd164007-4e02-403e-b7d1-1ebe832e8e14</node></data>

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

2022-08-31 23:06:52 | [Mutex] waiting for: [received:nodes:0135d6d5-d997-434d-af83-46ad4687191e:localhost]

2022-08-31 23:06:52 | [Mutex] received everything.

2022-08-31 23:06:52 | [Mutex] isItemNotified: received:node:0135d6d5-d997-434d-af83-46ad4687191e:localhost:node-fd164007-4e02-403e-b7d1-1ebe832e8e14:Node fd164007-4e02-403e-b7d1-1ebe832e8e14 :: false

2022-08-31 23:06:52 | [Mutex] waiting for: [received:nodes:ecea402a-5b0a-46dc-a46a-02cf5b0a87d7:localhost]

2022-08-31 23:06:52 | [Mutex] received everything.

2022-08-31 23:06:52 | [Mutex] isItemNotified: received:node:ecea402a-5b0a-46dc-a46a-02cf5b0a87d7:localhost:node-fd164007-4e02-403e-b7d1-1ebe832e8e14:Node fd164007-4e02-403e-b7d1-1ebe832e8e14 :: false

publishItemsToNodes 0.187s
2022-08-31 23:06:48 |

2022-08-31 23:06:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:48 | ------------------------------------

2022-08-31 23:06:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fd164007-4e02-403e-b7d1-1ebe832e8e14</node><item-id>item-b699f934-e81b-4ebc-894e-5bfe18bdaa27</item-id><entry><test>item-b699f934-e81b-4ebc-894e-5bfe18bdaa27</test></entry></data>

2022-08-31 23:06:49 | 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-b699f934-e81b-4ebc-894e-5bfe18bdaa27</value></item-id></result>

2022-08-31 23:06:49 | [Mutex] received everything.

2022-08-31 23:06:49 | [Mutex] isItemNotified: published:item:notifieditem-b699f934-e81b-4ebc-894e-5bfe18bdaa27:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2022-08-31 23:06:49 |

2022-08-31 23:06:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:49 | ------------------------------------

2022-08-31 23:06:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fd164007-4e02-403e-b7d1-1ebe832e8e14</node><item-id>item-b699f934-e81b-4ebc-894e-5bfe18bdaa27</item-id></data>

2022-08-31 23:06:49 | 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-b699f934-e81b-4ebc-894e-5bfe18bdaa27</value></item-id></result>

2022-08-31 23:06:49 | [Mutex] received everything.

2022-08-31 23:06:49 | [Mutex] isItemNotified: retracted:item:notifieditem-b699f934-e81b-4ebc-894e-5bfe18bdaa27:admin@test-domain.com :: true

retrieveItemsFromNodes 0.203s
2022-08-31 23:06:49 |

2022-08-31 23:06:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:49 | ------------------------------------

2022-08-31 23:06:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fd164007-4e02-403e-b7d1-1ebe832e8e14</node><item-id>item-b699f934-e81b-4ebc-894e-5bfe18bdaa27</item-id></data>

2022-08-31 23:06:49 | 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-fd164007-4e02-403e-b7d1-1ebe832e8e14</value></node><item-id type="text-single" label="Item ID"><value>item-b699f934-e81b-4ebc-894e-5bfe18bdaa27</value></item-id><item type="text-multi" label="Item"><value><item id="item-b699f934-e81b-4ebc-894e-5bfe18bdaa27"><test>item-b699f934-e81b-4ebc-894e-5bfe18bdaa27</test></item></value></item></result>

2022-08-31 23:06:49 | [Mutex] notify: [retrieved:item:item-b699f934-e81b-4ebc-894e-5bfe18bdaa27:payload-matches:true:localhost]

2022-08-31 23:06:49 | [Mutex] received everything.

2022-08-31 23:06:49 | [Mutex] isItemNotified: retrieved:item:item-b699f934-e81b-4ebc-894e-5bfe18bdaa27:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-08-31 23:06:49 |

2022-08-31 23:06:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:49 | ------------------------------------

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

2022-08-31 23:06:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-d0a2ad9e-1cbd-4880-bc3b-0851f75cf586</value><value>test</value><value>node-fd164007-4e02-403e-b7d1-1ebe832e8e14</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-31 23:06:49 |

2022-08-31 23:06:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:49 | ------------------------------------

2022-08-31 23:06:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fd164007-4e02-403e-b7d1-1ebe832e8e14)</node-pattern></data>

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

subscribeNodes 1.110s
2022-08-31 23:06:47 |

2022-08-31 23:06:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:47 | ------------------------------------

2022-08-31 23:06:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fd164007-4e02-403e-b7d1-1ebe832e8e14</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.203s
2022-08-31 23:06:49 |

2022-08-31 23:06:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 23:06:49 | ------------------------------------

2022-08-31 23:06:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fd164007-4e02-403e-b7d1-1ebe832e8e14</node><jids><value>admin@test-domain.com</value></jids></data>

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