Generated by TestNG with ReportNG at 21:28 PST on Sunday 05 December 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.590s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.160s
2021-12-05 21:42:58 |

2021-12-05 21:42:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:42:58 | ------------------------------------

2021-12-05 21:42:58 | [Mutex] waiting for: [configured:node:node-8955d78d-5e15-47b5-a763-a925409e857d:node-d0f1c7a1-3303-426e-a6c3-ba3da3f9907d]

2021-12-05 21:42:58 | [Mutex] received everything.

2021-12-05 21:42:58 | [Mutex] isItemNotified: configured:node:node-8955d78d-5e15-47b5-a763-a925409e857d:node-d0f1c7a1-3303-426e-a6c3-ba3da3f9907d :: true

2021-12-05 21:42:59 | [Mutex] waiting for: [received:nodes:d774bd72-3bee-4758-8951-e1277fdfe348:localhost]

2021-12-05 21:42:59 | [Mutex] received everything.

2021-12-05 21:42:59 | [Mutex] isItemNotified: received:node:d774bd72-3bee-4758-8951-e1277fdfe348:localhost:node-8955d78d-5e15-47b5-a763-a925409e857d:Node 8955d78d-5e15-47b5-a763-a925409e857d :: true

2021-12-05 21:42:59 | [Mutex] waiting for: [received:nodes:a6826e0a-e0b1-4596-8ece-528dcd92647f:localhost]

2021-12-05 21:42:59 | [Mutex] received everything.

2021-12-05 21:42:59 | [Mutex] isItemNotified: received:node:a6826e0a-e0b1-4596-8ece-528dcd92647f:localhost:node-8955d78d-5e15-47b5-a763-a925409e857d:Node 8955d78d-5e15-47b5-a763-a925409e857d :: false

createNodes 1.518s
2021-12-05 21:42:56 |

2021-12-05 21:42:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:42:56 | ------------------------------------

2021-12-05 21:42:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8955d78d-5e15-47b5-a763-a925409e857d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8955d78d-5e15-47b5-a763-a925409e857d</title></pubsub></data>

2021-12-05 21:42:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-05 21:42:57 | [Mutex] waiting for: [received:nodes:37e6a0d9-5603-4425-ba2c-d582d7d164bc:localhost]

2021-12-05 21:42:57 | [Mutex] received everything.

2021-12-05 21:42:57 | [Mutex] isItemNotified: received:node:37e6a0d9-5603-4425-ba2c-d582d7d164bc:localhost:node-8955d78d-5e15-47b5-a763-a925409e857d:Node 8955d78d-5e15-47b5-a763-a925409e857d :: true

createSubnodes 1.039s
2021-12-05 21:42:57 |

2021-12-05 21:42:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:42:57 | ------------------------------------

2021-12-05 21:42:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d0f1c7a1-3303-426e-a6c3-ba3da3f9907d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d0f1c7a1-3303-426e-a6c3-ba3da3f9907d</title></pubsub></data>

2021-12-05 21:42:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-05 21:42:58 | [Mutex] waiting for: [received:nodes:0783c757-afe6-4125-8e86-71a60baba04a:localhost]

2021-12-05 21:42:58 | [Mutex] waiting for: [received:nodes:0783c757-afe6-4125-8e86-71a60baba04a:localhost]

2021-12-05 21:42:58 | [Mutex] received everything.

2021-12-05 21:42:58 | [Mutex] isItemNotified: received:node:0783c757-afe6-4125-8e86-71a60baba04a:localhost:node-d0f1c7a1-3303-426e-a6c3-ba3da3f9907d:Node d0f1c7a1-3303-426e-a6c3-ba3da3f9907d :: true

deleteNodes 1.024s
2021-12-05 21:43:04 |

2021-12-05 21:43:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:04 | ------------------------------------

2021-12-05 21:43:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d0f1c7a1-3303-426e-a6c3-ba3da3f9907d</node></data>

2021-12-05 21:43:04 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-05 21:43:05 | [Mutex] waiting for: [received:nodes:9e1c6ded-33b8-4e83-bbc9-8dbbdfede2f6:localhost]

2021-12-05 21:43:05 | [Mutex] received everything.

2021-12-05 21:43:05 | [Mutex] isItemNotified: received:node:9e1c6ded-33b8-4e83-bbc9-8dbbdfede2f6:localhost:node-d0f1c7a1-3303-426e-a6c3-ba3da3f9907d:Node d0f1c7a1-3303-426e-a6c3-ba3da3f9907d :: false

deleteSubnodes 1.174s
2021-12-05 21:43:03 |

2021-12-05 21:43:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:03 | ------------------------------------

2021-12-05 21:43:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8955d78d-5e15-47b5-a763-a925409e857d</node></data>

2021-12-05 21:43:03 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-12-05 21:43:04 | [Mutex] waiting for: [received:nodes:b0f79cba-850f-4f94-83a2-6e4708c630e4:localhost]

2021-12-05 21:43:04 | [Mutex] received everything.

2021-12-05 21:43:04 | [Mutex] isItemNotified: received:node:b0f79cba-850f-4f94-83a2-6e4708c630e4:localhost:node-8955d78d-5e15-47b5-a763-a925409e857d:Node 8955d78d-5e15-47b5-a763-a925409e857d :: false

2021-12-05 21:43:04 | [Mutex] waiting for: [received:nodes:66cdce5e-3cf6-40d3-ad28-458cffd4ab2a:localhost]

2021-12-05 21:43:04 | [Mutex] received everything.

2021-12-05 21:43:04 | [Mutex] isItemNotified: received:node:66cdce5e-3cf6-40d3-ad28-458cffd4ab2a:localhost:node-8955d78d-5e15-47b5-a763-a925409e857d:Node 8955d78d-5e15-47b5-a763-a925409e857d :: false

publishItemsToNodes 0.283s
2021-12-05 21:43:00 |

2021-12-05 21:43:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:00 | ------------------------------------

2021-12-05 21:43:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8955d78d-5e15-47b5-a763-a925409e857d</node><item-id>item-836962d7-83a6-481e-b0e8-6a2b896f11d3</item-id><entry><test>item-836962d7-83a6-481e-b0e8-6a2b896f11d3</test></entry></data>

2021-12-05 21:43:01 | 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-836962d7-83a6-481e-b0e8-6a2b896f11d3</value></item-id></result>

2021-12-05 21:43:01 | [Mutex] received everything.

2021-12-05 21:43:01 | [Mutex] isItemNotified: published:item:notifieditem-836962d7-83a6-481e-b0e8-6a2b896f11d3:admin@test-domain.com :: true

retractItemsFromNodes 0.359s
2021-12-05 21:43:01 |

2021-12-05 21:43:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:01 | ------------------------------------

2021-12-05 21:43:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8955d78d-5e15-47b5-a763-a925409e857d</node><item-id>item-836962d7-83a6-481e-b0e8-6a2b896f11d3</item-id></data>

2021-12-05 21:43:02 | 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-836962d7-83a6-481e-b0e8-6a2b896f11d3</value></item-id></result>

2021-12-05 21:43:02 | [Mutex] waiting for: [retracted:item:notifieditem-836962d7-83a6-481e-b0e8-6a2b896f11d3:admin@test-domain.com]

2021-12-05 21:43:02 | [Mutex] received everything.

2021-12-05 21:43:02 | [Mutex] isItemNotified: retracted:item:notifieditem-836962d7-83a6-481e-b0e8-6a2b896f11d3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.397s
2021-12-05 21:43:01 |

2021-12-05 21:43:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:01 | ------------------------------------

2021-12-05 21:43:01 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8955d78d-5e15-47b5-a763-a925409e857d</node><item-id>item-836962d7-83a6-481e-b0e8-6a2b896f11d3</item-id></data>

2021-12-05 21:43:01 | 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-8955d78d-5e15-47b5-a763-a925409e857d</value></node><item-id label="Item ID" type="text-single"><value>item-836962d7-83a6-481e-b0e8-6a2b896f11d3</value></item-id><item label="Item" type="text-multi"><value><item id="item-836962d7-83a6-481e-b0e8-6a2b896f11d3"><test>item-836962d7-83a6-481e-b0e8-6a2b896f11d3</test></item></value></item></result>

2021-12-05 21:43:01 | [Mutex] notify: [retrieved:item:item-836962d7-83a6-481e-b0e8-6a2b896f11d3:payload-matches:true:localhost]

2021-12-05 21:43:01 | [Mutex] received everything.

2021-12-05 21:43:01 | [Mutex] isItemNotified: retrieved:item:item-836962d7-83a6-481e-b0e8-6a2b896f11d3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-12-05 21:43:01 |

2021-12-05 21:43:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:01 | ------------------------------------

2021-12-05 21:43:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-12-05 21:43:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-8955d78d-5e15-47b5-a763-a925409e857d</value><value>node-d0f1c7a1-3303-426e-a6c3-ba3da3f9907d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-12-05 21:43:01 |

2021-12-05 21:43:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:01 | ------------------------------------

2021-12-05 21:43:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8955d78d-5e15-47b5-a763-a925409e857d)</node-pattern></data>

2021-12-05 21:43:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.161s
2021-12-05 21:42:59 |

2021-12-05 21:42:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:42:59 | ------------------------------------

2021-12-05 21:42:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8955d78d-5e15-47b5-a763-a925409e857d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-05 21:42:59 | 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-12-05 21:43:02 |

2021-12-05 21:43:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-12-05 21:43:02 | ------------------------------------

2021-12-05 21:43:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8955d78d-5e15-47b5-a763-a925409e857d</node><jids><value>admin@test-domain.com</value></jids></data>

2021-12-05 21:43:02 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>