Generated by TestNG with ReportNG at 22:19 PDT on Thursday 06 May 2021
root@785cf647a4ab / Java 11.0.8 (Ubuntu) / 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 : 10.634s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.127s
2021-05-06 22:35:25 |

2021-05-06 22:35:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:25 | ------------------------------------

2021-05-06 22:35:25 | [Mutex] waiting for: [configured:node:node-fc6afe75-dd95-41a4-8a39-7419c299ca14:node-752a12e6-3c92-4c45-8c06-05526099cfd1]

2021-05-06 22:35:25 | [Mutex] received everything.

2021-05-06 22:35:25 | [Mutex] isItemNotified: configured:node:node-fc6afe75-dd95-41a4-8a39-7419c299ca14:node-752a12e6-3c92-4c45-8c06-05526099cfd1 :: true

2021-05-06 22:35:26 | [Mutex] waiting for: [received:nodes:2ae50ab5-8880-40d4-a5ff-5baaf752142d:localhost]

2021-05-06 22:35:26 | [Mutex] received everything.

2021-05-06 22:35:26 | [Mutex] isItemNotified: received:node:2ae50ab5-8880-40d4-a5ff-5baaf752142d:localhost:node-fc6afe75-dd95-41a4-8a39-7419c299ca14:Node fc6afe75-dd95-41a4-8a39-7419c299ca14 :: true

2021-05-06 22:35:26 | [Mutex] waiting for: [received:nodes:f2732ea3-2f52-425d-9025-18b0e51865e3:localhost]

2021-05-06 22:35:26 | [Mutex] waiting for: [received:nodes:f2732ea3-2f52-425d-9025-18b0e51865e3:localhost]

2021-05-06 22:35:26 | [Mutex] waiting for: [received:nodes:f2732ea3-2f52-425d-9025-18b0e51865e3:localhost]

2021-05-06 22:35:26 | [Mutex] received everything.

2021-05-06 22:35:26 | [Mutex] isItemNotified: received:node:f2732ea3-2f52-425d-9025-18b0e51865e3:localhost:node-fc6afe75-dd95-41a4-8a39-7419c299ca14:Node fc6afe75-dd95-41a4-8a39-7419c299ca14 :: false

createNodes 1.609s
2021-05-06 22:35:23 |

2021-05-06 22:35:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:23 | ------------------------------------

2021-05-06 22:35:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-fc6afe75-dd95-41a4-8a39-7419c299ca14</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fc6afe75-dd95-41a4-8a39-7419c299ca14</title></pubsub></data>

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

2021-05-06 22:35:24 | [Mutex] waiting for: [received:nodes:2f168f4e-6560-40d1-9f8f-36923612b7af:localhost]

2021-05-06 22:35:24 | [Mutex] received everything.

2021-05-06 22:35:24 | [Mutex] isItemNotified: received:node:2f168f4e-6560-40d1-9f8f-36923612b7af:localhost:node-fc6afe75-dd95-41a4-8a39-7419c299ca14:Node fc6afe75-dd95-41a4-8a39-7419c299ca14 :: true

createSubnodes 1.026s
2021-05-06 22:35:24 |

2021-05-06 22:35:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:24 | ------------------------------------

2021-05-06 22:35:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-752a12e6-3c92-4c45-8c06-05526099cfd1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 752a12e6-3c92-4c45-8c06-05526099cfd1</title></pubsub></data>

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

2021-05-06 22:35:25 | [Mutex] waiting for: [received:nodes:283ba6d9-67de-4e02-a03a-ff4af4312da1:localhost]

2021-05-06 22:35:25 | [Mutex] received everything.

2021-05-06 22:35:25 | [Mutex] isItemNotified: received:node:283ba6d9-67de-4e02-a03a-ff4af4312da1:localhost:node-752a12e6-3c92-4c45-8c06-05526099cfd1:Node 752a12e6-3c92-4c45-8c06-05526099cfd1 :: true

deleteNodes 1.057s
2021-05-06 22:35:31 |

2021-05-06 22:35:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:31 | ------------------------------------

2021-05-06 22:35:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-752a12e6-3c92-4c45-8c06-05526099cfd1</node></data>

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

2021-05-06 22:35:32 | [Mutex] waiting for: [received:nodes:84c3c500-d9c4-4ae7-8e32-069d59498de0:localhost]

2021-05-06 22:35:32 | [Mutex] received everything.

2021-05-06 22:35:32 | [Mutex] isItemNotified: received:node:84c3c500-d9c4-4ae7-8e32-069d59498de0:localhost:node-752a12e6-3c92-4c45-8c06-05526099cfd1:Node 752a12e6-3c92-4c45-8c06-05526099cfd1 :: false

deleteSubnodes 1.143s
2021-05-06 22:35:30 |

2021-05-06 22:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:30 | ------------------------------------

2021-05-06 22:35:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-fc6afe75-dd95-41a4-8a39-7419c299ca14</node></data>

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

2021-05-06 22:35:31 | [Mutex] waiting for: [received:nodes:a4ed48c9-9ab8-4c48-9e3b-673af8723af1:localhost]

2021-05-06 22:35:31 | [Mutex] received everything.

2021-05-06 22:35:31 | [Mutex] isItemNotified: received:node:a4ed48c9-9ab8-4c48-9e3b-673af8723af1:localhost:node-fc6afe75-dd95-41a4-8a39-7419c299ca14:Node fc6afe75-dd95-41a4-8a39-7419c299ca14 :: false

2021-05-06 22:35:31 | [Mutex] waiting for: [received:nodes:5c7a979d-e7cd-4654-ae21-90a44a2f0a44:localhost]

2021-05-06 22:35:31 | [Mutex] received everything.

2021-05-06 22:35:31 | [Mutex] isItemNotified: received:node:5c7a979d-e7cd-4654-ae21-90a44a2f0a44:localhost:node-fc6afe75-dd95-41a4-8a39-7419c299ca14:Node fc6afe75-dd95-41a4-8a39-7419c299ca14 :: false

publishItemsToNodes 0.262s
2021-05-06 22:35:28 |

2021-05-06 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:28 | ------------------------------------

2021-05-06 22:35:28 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-fc6afe75-dd95-41a4-8a39-7419c299ca14</node><item-id>item-1ff19d9b-1065-45ed-9f2e-7464077c9058</item-id><entry><test>item-1ff19d9b-1065-45ed-9f2e-7464077c9058</test></entry></data>

2021-05-06 22:35:28 | 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-1ff19d9b-1065-45ed-9f2e-7464077c9058</value></item-id></result>

2021-05-06 22:35:28 | [Mutex] waiting for: [published:item:notifieditem-1ff19d9b-1065-45ed-9f2e-7464077c9058:admin@test-domain.com]

2021-05-06 22:35:28 | [Mutex] received everything.

2021-05-06 22:35:28 | [Mutex] isItemNotified: published:item:notifieditem-1ff19d9b-1065-45ed-9f2e-7464077c9058:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2021-05-06 22:35:28 |

2021-05-06 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:28 | ------------------------------------

2021-05-06 22:35:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-fc6afe75-dd95-41a4-8a39-7419c299ca14</node><item-id>item-1ff19d9b-1065-45ed-9f2e-7464077c9058</item-id></data>

2021-05-06 22:35:29 | 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-1ff19d9b-1065-45ed-9f2e-7464077c9058</value></item-id></result>

2021-05-06 22:35:29 | [Mutex] received everything.

2021-05-06 22:35:29 | [Mutex] isItemNotified: retracted:item:notifieditem-1ff19d9b-1065-45ed-9f2e-7464077c9058:admin@test-domain.com :: true

retrieveItemsFromNodes 0.403s
2021-05-06 22:35:28 |

2021-05-06 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:28 | ------------------------------------

2021-05-06 22:35:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-fc6afe75-dd95-41a4-8a39-7419c299ca14</node><item-id>item-1ff19d9b-1065-45ed-9f2e-7464077c9058</item-id></data>

2021-05-06 22:35:28 | 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-fc6afe75-dd95-41a4-8a39-7419c299ca14</value></node><item-id label="Item ID" type="text-single"><value>item-1ff19d9b-1065-45ed-9f2e-7464077c9058</value></item-id><item label="Item" type="text-multi"><value><item id="item-1ff19d9b-1065-45ed-9f2e-7464077c9058"><test>item-1ff19d9b-1065-45ed-9f2e-7464077c9058</test></item></value></item></result>

2021-05-06 22:35:28 | [Mutex] notify: [retrieved:item:item-1ff19d9b-1065-45ed-9f2e-7464077c9058:payload-matches:true:localhost]

2021-05-06 22:35:28 | [Mutex] received everything.

2021-05-06 22:35:28 | [Mutex] isItemNotified: retrieved:item:item-1ff19d9b-1065-45ed-9f2e-7464077c9058:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-05-06 22:35:28 |

2021-05-06 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:28 | ------------------------------------

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

2021-05-06 22:35:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-752a12e6-3c92-4c45-8c06-05526099cfd1</value><value>test</value><value>node-fc6afe75-dd95-41a4-8a39-7419c299ca14</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.062s
2021-05-06 22:35:28 |

2021-05-06 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:28 | ------------------------------------

2021-05-06 22:35:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fc6afe75-dd95-41a4-8a39-7419c299ca14)</node-pattern></data>

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

subscribeNodes 1.218s
2021-05-06 22:35:26 |

2021-05-06 22:35:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:26 | ------------------------------------

2021-05-06 22:35:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-fc6afe75-dd95-41a4-8a39-7419c299ca14</node><jids><value>admin@test-domain.com</value></jids></data>

2021-05-06 22:35:27 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.331s
2021-05-06 22:35:29 |

2021-05-06 22:35:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-06 22:35:29 | ------------------------------------

2021-05-06 22:35:29 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-fc6afe75-dd95-41a4-8a39-7419c299ca14</node><jids><value>admin@test-domain.com</value></jids></data>

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