Generated by TestNG with ReportNG at 23:01 PDT on Sunday 29 May 2022
root@21fb2cc9076b / 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.379s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.095s
2022-05-29 23:15:29 |

2022-05-29 23:15:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:29 | ------------------------------------

2022-05-29 23:15:29 | [Mutex] waiting for: [configured:node:node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9:node-230bf885-b044-4812-8504-8b2d89a6f3c6]

2022-05-29 23:15:30 | [Mutex] received everything.

2022-05-29 23:15:30 | [Mutex] isItemNotified: configured:node:node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9:node-230bf885-b044-4812-8504-8b2d89a6f3c6 :: true

2022-05-29 23:15:31 | [Mutex] waiting for: [received:nodes:7d9b47be-c1b3-4d3c-bea5-6d83d2655a5e:localhost]

2022-05-29 23:15:31 | [Mutex] received everything.

2022-05-29 23:15:31 | [Mutex] isItemNotified: received:node:7d9b47be-c1b3-4d3c-bea5-6d83d2655a5e:localhost:node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9:Node 5b1b0fe3-8362-4f1b-97d3-4487d4df96d9 :: true

2022-05-29 23:15:31 | [Mutex] waiting for: [received:nodes:bf85bc06-24fd-421d-9300-0f082716ddee:localhost]

2022-05-29 23:15:31 | [Mutex] received everything.

2022-05-29 23:15:31 | [Mutex] isItemNotified: received:node:bf85bc06-24fd-421d-9300-0f082716ddee:localhost:node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9:Node 5b1b0fe3-8362-4f1b-97d3-4487d4df96d9 :: false

createNodes 1.399s
2022-05-29 23:15:27 |

2022-05-29 23:15:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:27 | ------------------------------------

2022-05-29 23:15:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5b1b0fe3-8362-4f1b-97d3-4487d4df96d9</title></pubsub></data>

2022-05-29 23:15:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-29 23:15:28 | [Mutex] waiting for: [received:nodes:9376ab33-94d6-4591-ac6e-d05953f6cdf6:localhost]

2022-05-29 23:15:28 | [Mutex] waiting for: [received:nodes:9376ab33-94d6-4591-ac6e-d05953f6cdf6:localhost]

2022-05-29 23:15:28 | [Mutex] received everything.

2022-05-29 23:15:28 | [Mutex] isItemNotified: received:node:9376ab33-94d6-4591-ac6e-d05953f6cdf6:localhost:node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9:Node 5b1b0fe3-8362-4f1b-97d3-4487d4df96d9 :: true

createSubnodes 1.026s
2022-05-29 23:15:28 |

2022-05-29 23:15:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:28 | ------------------------------------

2022-05-29 23:15:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-230bf885-b044-4812-8504-8b2d89a6f3c6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 230bf885-b044-4812-8504-8b2d89a6f3c6</title></pubsub></data>

2022-05-29 23:15:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-29 23:15:29 | [Mutex] waiting for: [received:nodes:efeda893-3dc4-4879-aced-6fa2f10e4c1a:localhost]

2022-05-29 23:15:29 | [Mutex] waiting for: [received:nodes:efeda893-3dc4-4879-aced-6fa2f10e4c1a:localhost]

2022-05-29 23:15:29 | [Mutex] received everything.

2022-05-29 23:15:29 | [Mutex] isItemNotified: received:node:efeda893-3dc4-4879-aced-6fa2f10e4c1a:localhost:node-230bf885-b044-4812-8504-8b2d89a6f3c6:Node 230bf885-b044-4812-8504-8b2d89a6f3c6 :: true

deleteNodes 1.016s
2022-05-29 23:15:35 |

2022-05-29 23:15:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:35 | ------------------------------------

2022-05-29 23:15:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-230bf885-b044-4812-8504-8b2d89a6f3c6</node></data>

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

2022-05-29 23:15:36 | [Mutex] waiting for: [received:nodes:375e5af5-15bf-4fe9-920f-442a37f2c693:localhost]

2022-05-29 23:15:36 | [Mutex] received everything.

2022-05-29 23:15:36 | [Mutex] isItemNotified: received:node:375e5af5-15bf-4fe9-920f-442a37f2c693:localhost:node-230bf885-b044-4812-8504-8b2d89a6f3c6:Node 230bf885-b044-4812-8504-8b2d89a6f3c6 :: false

deleteSubnodes 1.128s
2022-05-29 23:15:34 |

2022-05-29 23:15:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:34 | ------------------------------------

2022-05-29 23:15:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9</node></data>

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

2022-05-29 23:15:35 | [Mutex] waiting for: [received:nodes:5b4479dc-3a83-4363-8df7-1396237ee7e7:localhost]

2022-05-29 23:15:35 | [Mutex] received everything.

2022-05-29 23:15:35 | [Mutex] isItemNotified: received:node:5b4479dc-3a83-4363-8df7-1396237ee7e7:localhost:node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9:Node 5b1b0fe3-8362-4f1b-97d3-4487d4df96d9 :: false

2022-05-29 23:15:35 | [Mutex] waiting for: [received:nodes:c64f24bf-159e-46f3-b6e8-92e292a383fe:localhost]

2022-05-29 23:15:35 | [Mutex] received everything.

2022-05-29 23:15:35 | [Mutex] isItemNotified: received:node:c64f24bf-159e-46f3-b6e8-92e292a383fe:localhost:node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9:Node 5b1b0fe3-8362-4f1b-97d3-4487d4df96d9 :: false

publishItemsToNodes 0.196s
2022-05-29 23:15:32 |

2022-05-29 23:15:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:32 | ------------------------------------

2022-05-29 23:15:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9</node><item-id>item-885b2d1d-be08-4731-83f1-16d38708a2ff</item-id><entry><test>item-885b2d1d-be08-4731-83f1-16d38708a2ff</test></entry></data>

2022-05-29 23:15:32 | 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-885b2d1d-be08-4731-83f1-16d38708a2ff</value></item-id></result>

2022-05-29 23:15:32 | [Mutex] received everything.

2022-05-29 23:15:32 | [Mutex] isItemNotified: published:item:notifieditem-885b2d1d-be08-4731-83f1-16d38708a2ff:admin@test-domain.com :: true

retractItemsFromNodes 0.276s
2022-05-29 23:15:32 |

2022-05-29 23:15:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:32 | ------------------------------------

2022-05-29 23:15:32 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9</node><item-id>item-885b2d1d-be08-4731-83f1-16d38708a2ff</item-id></data>

2022-05-29 23:15:33 | 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-885b2d1d-be08-4731-83f1-16d38708a2ff</value></item-id></result>

2022-05-29 23:15:33 | [Mutex] received everything.

2022-05-29 23:15:33 | [Mutex] isItemNotified: retracted:item:notifieditem-885b2d1d-be08-4731-83f1-16d38708a2ff:admin@test-domain.com :: true

retrieveItemsFromNodes 0.233s
2022-05-29 23:15:32 |

2022-05-29 23:15:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:32 | ------------------------------------

2022-05-29 23:15:32 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9</node><item-id>item-885b2d1d-be08-4731-83f1-16d38708a2ff</item-id></data>

2022-05-29 23:15:32 | 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-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9</value></node><item-id label="Item ID" type="text-single"><value>item-885b2d1d-be08-4731-83f1-16d38708a2ff</value></item-id><item label="Item" type="text-multi"><value><item id="item-885b2d1d-be08-4731-83f1-16d38708a2ff"><test>item-885b2d1d-be08-4731-83f1-16d38708a2ff</test></item></value></item></result>

2022-05-29 23:15:32 | [Mutex] notify: [retrieved:item:item-885b2d1d-be08-4731-83f1-16d38708a2ff:payload-matches:true:localhost]

2022-05-29 23:15:32 | [Mutex] received everything.

2022-05-29 23:15:32 | [Mutex] isItemNotified: retrieved:item:item-885b2d1d-be08-4731-83f1-16d38708a2ff:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-29 23:15:32 |

2022-05-29 23:15:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:32 | ------------------------------------

2022-05-29 23:15:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-29 23:15:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-230bf885-b044-4812-8504-8b2d89a6f3c6</value><value>test</value><value>node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.051s
2022-05-29 23:15:32 |

2022-05-29 23:15:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:32 | ------------------------------------

2022-05-29 23:15:32 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9)</node-pattern></data>

2022-05-29 23:15:32 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.099s
2022-05-29 23:15:31 |

2022-05-29 23:15:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:31 | ------------------------------------

2022-05-29 23:15:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.206s
2022-05-29 23:15:33 |

2022-05-29 23:15:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-29 23:15:33 | ------------------------------------

2022-05-29 23:15:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5b1b0fe3-8362-4f1b-97d3-4487d4df96d9</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-29 23:15:33 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>