Generated by TestNG with ReportNG at 22:30 PDT on Wednesday 22 June 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.346s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.085s
2022-06-22 22:49:39 |

2022-06-22 22:49:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:39 | ------------------------------------

2022-06-22 22:49:39 | [Mutex] waiting for: [configured:node:node-dd4716d5-3935-4a54-9767-7dc1d259eea4:node-c75934d5-21a1-4dd8-8774-cfa72e3131e8]

2022-06-22 22:49:39 | [Mutex] received everything.

2022-06-22 22:49:39 | [Mutex] isItemNotified: configured:node:node-dd4716d5-3935-4a54-9767-7dc1d259eea4:node-c75934d5-21a1-4dd8-8774-cfa72e3131e8 :: true

2022-06-22 22:49:40 | [Mutex] waiting for: [received:nodes:e433a7b1-81f3-41aa-ba08-a2f9b4bbf614:localhost]

2022-06-22 22:49:40 | [Mutex] received everything.

2022-06-22 22:49:40 | [Mutex] isItemNotified: received:node:e433a7b1-81f3-41aa-ba08-a2f9b4bbf614:localhost:node-dd4716d5-3935-4a54-9767-7dc1d259eea4:Node dd4716d5-3935-4a54-9767-7dc1d259eea4 :: true

2022-06-22 22:49:40 | [Mutex] waiting for: [received:nodes:09648c14-05af-4677-af1d-061e09897f2b:localhost]

2022-06-22 22:49:40 | [Mutex] waiting for: [received:nodes:09648c14-05af-4677-af1d-061e09897f2b:localhost]

2022-06-22 22:49:40 | [Mutex] received everything.

2022-06-22 22:49:40 | [Mutex] isItemNotified: received:node:09648c14-05af-4677-af1d-061e09897f2b:localhost:node-dd4716d5-3935-4a54-9767-7dc1d259eea4:Node dd4716d5-3935-4a54-9767-7dc1d259eea4 :: false

createNodes 1.365s
2022-06-22 22:49:37 |

2022-06-22 22:49:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:37 | ------------------------------------

2022-06-22 22:49:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-dd4716d5-3935-4a54-9767-7dc1d259eea4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dd4716d5-3935-4a54-9767-7dc1d259eea4</title></pubsub></data>

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

2022-06-22 22:49:38 | [Mutex] waiting for: [received:nodes:865ce999-b2cf-4759-9ff3-ca1bab436f28:localhost]

2022-06-22 22:49:38 | [Mutex] waiting for: [received:nodes:865ce999-b2cf-4759-9ff3-ca1bab436f28:localhost]

2022-06-22 22:49:38 | [Mutex] received everything.

2022-06-22 22:49:38 | [Mutex] isItemNotified: received:node:865ce999-b2cf-4759-9ff3-ca1bab436f28:localhost:node-dd4716d5-3935-4a54-9767-7dc1d259eea4:Node dd4716d5-3935-4a54-9767-7dc1d259eea4 :: true

createSubnodes 1.021s
2022-06-22 22:49:38 |

2022-06-22 22:49:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:38 | ------------------------------------

2022-06-22 22:49:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c75934d5-21a1-4dd8-8774-cfa72e3131e8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c75934d5-21a1-4dd8-8774-cfa72e3131e8</title></pubsub></data>

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

2022-06-22 22:49:39 | [Mutex] waiting for: [received:nodes:96b8605f-6a5e-4eab-b1e3-61f157fe7f70:localhost]

2022-06-22 22:49:39 | [Mutex] received everything.

2022-06-22 22:49:39 | [Mutex] isItemNotified: received:node:96b8605f-6a5e-4eab-b1e3-61f157fe7f70:localhost:node-c75934d5-21a1-4dd8-8774-cfa72e3131e8:Node c75934d5-21a1-4dd8-8774-cfa72e3131e8 :: true

deleteNodes 1.015s
2022-06-22 22:49:44 |

2022-06-22 22:49:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:44 | ------------------------------------

2022-06-22 22:49:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c75934d5-21a1-4dd8-8774-cfa72e3131e8</node></data>

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

2022-06-22 22:49:45 | [Mutex] waiting for: [received:nodes:b2f1a1a9-5ec4-4955-af91-2534cd0a2c4f:localhost]

2022-06-22 22:49:45 | [Mutex] received everything.

2022-06-22 22:49:45 | [Mutex] isItemNotified: received:node:b2f1a1a9-5ec4-4955-af91-2534cd0a2c4f:localhost:node-c75934d5-21a1-4dd8-8774-cfa72e3131e8:Node c75934d5-21a1-4dd8-8774-cfa72e3131e8 :: false

deleteSubnodes 1.133s
2022-06-22 22:49:43 |

2022-06-22 22:49:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:43 | ------------------------------------

2022-06-22 22:49:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-dd4716d5-3935-4a54-9767-7dc1d259eea4</node></data>

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

2022-06-22 22:49:44 | [Mutex] waiting for: [received:nodes:385f2a3f-e2dc-457c-a466-5198b2c7e8cd:localhost]

2022-06-22 22:49:44 | [Mutex] received everything.

2022-06-22 22:49:44 | [Mutex] isItemNotified: received:node:385f2a3f-e2dc-457c-a466-5198b2c7e8cd:localhost:node-dd4716d5-3935-4a54-9767-7dc1d259eea4:Node dd4716d5-3935-4a54-9767-7dc1d259eea4 :: false

2022-06-22 22:49:44 | [Mutex] waiting for: [received:nodes:f668c3bd-5631-40a1-87ed-ab7aaabf7567:localhost]

2022-06-22 22:49:44 | [Mutex] received everything.

2022-06-22 22:49:44 | [Mutex] isItemNotified: received:node:f668c3bd-5631-40a1-87ed-ab7aaabf7567:localhost:node-dd4716d5-3935-4a54-9767-7dc1d259eea4:Node dd4716d5-3935-4a54-9767-7dc1d259eea4 :: false

publishItemsToNodes 0.229s
2022-06-22 22:49:41 |

2022-06-22 22:49:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:41 | ------------------------------------

2022-06-22 22:49:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-dd4716d5-3935-4a54-9767-7dc1d259eea4</node><item-id>item-86fab3b3-141a-4a7e-96ca-2f438ce12977</item-id><entry><test>item-86fab3b3-141a-4a7e-96ca-2f438ce12977</test></entry></data>

2022-06-22 22:49:42 | 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-86fab3b3-141a-4a7e-96ca-2f438ce12977</value></item-id></result>

2022-06-22 22:49:42 | [Mutex] received everything.

2022-06-22 22:49:42 | [Mutex] isItemNotified: published:item:notifieditem-86fab3b3-141a-4a7e-96ca-2f438ce12977:admin@test-domain.com :: true

retractItemsFromNodes 0.167s
2022-06-22 22:49:42 |

2022-06-22 22:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:42 | ------------------------------------

2022-06-22 22:49:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-dd4716d5-3935-4a54-9767-7dc1d259eea4</node><item-id>item-86fab3b3-141a-4a7e-96ca-2f438ce12977</item-id></data>

2022-06-22 22:49:42 | 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-86fab3b3-141a-4a7e-96ca-2f438ce12977</value></item-id></result>

2022-06-22 22:49:42 | [Mutex] received everything.

2022-06-22 22:49:42 | [Mutex] isItemNotified: retracted:item:notifieditem-86fab3b3-141a-4a7e-96ca-2f438ce12977:admin@test-domain.com :: true

retrieveItemsFromNodes 0.263s
2022-06-22 22:49:42 |

2022-06-22 22:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:42 | ------------------------------------

2022-06-22 22:49:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-dd4716d5-3935-4a54-9767-7dc1d259eea4</node><item-id>item-86fab3b3-141a-4a7e-96ca-2f438ce12977</item-id></data>

2022-06-22 22:49:42 | 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-dd4716d5-3935-4a54-9767-7dc1d259eea4</value></node><item-id label="Item ID" type="text-single"><value>item-86fab3b3-141a-4a7e-96ca-2f438ce12977</value></item-id><item label="Item" type="text-multi"><value><item id="item-86fab3b3-141a-4a7e-96ca-2f438ce12977"><test>item-86fab3b3-141a-4a7e-96ca-2f438ce12977</test></item></value></item></result>

2022-06-22 22:49:42 | [Mutex] notify: [retrieved:item:item-86fab3b3-141a-4a7e-96ca-2f438ce12977:payload-matches:true:localhost]

2022-06-22 22:49:42 | [Mutex] received everything.

2022-06-22 22:49:42 | [Mutex] isItemNotified: retrieved:item:item-86fab3b3-141a-4a7e-96ca-2f438ce12977:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-22 22:49:42 |

2022-06-22 22:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:42 | ------------------------------------

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

2022-06-22 22:49:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-dd4716d5-3935-4a54-9767-7dc1d259eea4</value><value>test</value><value>node-c75934d5-21a1-4dd8-8774-cfa72e3131e8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-22 22:49:42 |

2022-06-22 22:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:42 | ------------------------------------

2022-06-22 22:49:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dd4716d5-3935-4a54-9767-7dc1d259eea4)</node-pattern></data>

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

subscribeNodes 1.113s
2022-06-22 22:49:40 |

2022-06-22 22:49:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:40 | ------------------------------------

2022-06-22 22:49:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-dd4716d5-3935-4a54-9767-7dc1d259eea4</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-22 22:49:40 | 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-06-22 22:49:42 |

2022-06-22 22:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-22 22:49:42 | ------------------------------------

2022-06-22 22:49:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-dd4716d5-3935-4a54-9767-7dc1d259eea4</node><jids><value>admin@test-domain.com</value></jids></data>

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