Generated by TestNG with ReportNG at 22:47 PDT on Wednesday 15 March 2023
root@f9c07ffec79b / 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.317s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2023-03-15 23:01:31 |

2023-03-15 23:01:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:31 | ------------------------------------

2023-03-15 23:01:31 | [Mutex] waiting for: [configured:node:node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b:node-33bc0928-c056-4ef6-ba08-10a52fbd726f]

2023-03-15 23:01:31 | [Mutex] received everything.

2023-03-15 23:01:31 | [Mutex] isItemNotified: configured:node:node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b:node-33bc0928-c056-4ef6-ba08-10a52fbd726f :: true

2023-03-15 23:01:32 | [Mutex] waiting for: [received:nodes:a22bff54-e6fa-43e0-b1f8-71af4adde2f7:localhost]

2023-03-15 23:01:32 | [Mutex] received everything.

2023-03-15 23:01:32 | [Mutex] isItemNotified: received:node:a22bff54-e6fa-43e0-b1f8-71af4adde2f7:localhost:node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b:Node 1dafa8d1-733c-47ef-bb32-9b1ca1de851b :: true

2023-03-15 23:01:32 | [Mutex] waiting for: [received:nodes:c5b80554-2311-48cc-adde-38f6f5b4a307:localhost]

2023-03-15 23:01:32 | [Mutex] waiting for: [received:nodes:c5b80554-2311-48cc-adde-38f6f5b4a307:localhost]

2023-03-15 23:01:32 | [Mutex] waiting for: [received:nodes:c5b80554-2311-48cc-adde-38f6f5b4a307:localhost]

2023-03-15 23:01:32 | [Mutex] received everything.

2023-03-15 23:01:32 | [Mutex] isItemNotified: received:node:c5b80554-2311-48cc-adde-38f6f5b4a307:localhost:node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b:Node 1dafa8d1-733c-47ef-bb32-9b1ca1de851b :: false

createNodes 1.386s
2023-03-15 23:01:28 |

2023-03-15 23:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:28 | ------------------------------------

2023-03-15 23:01:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1dafa8d1-733c-47ef-bb32-9b1ca1de851b</title></pubsub></data>

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

2023-03-15 23:01:30 | [Mutex] waiting for: [received:nodes:5fee476c-6d80-499c-b0a2-daa4e8efacce:localhost]

2023-03-15 23:01:30 | [Mutex] waiting for: [received:nodes:5fee476c-6d80-499c-b0a2-daa4e8efacce:localhost]

2023-03-15 23:01:30 | [Mutex] waiting for: [received:nodes:5fee476c-6d80-499c-b0a2-daa4e8efacce:localhost]

2023-03-15 23:01:30 | [Mutex] received everything.

2023-03-15 23:01:30 | [Mutex] isItemNotified: received:node:5fee476c-6d80-499c-b0a2-daa4e8efacce:localhost:node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b:Node 1dafa8d1-733c-47ef-bb32-9b1ca1de851b :: true

createSubnodes 1.023s
2023-03-15 23:01:30 |

2023-03-15 23:01:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:30 | ------------------------------------

2023-03-15 23:01:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-33bc0928-c056-4ef6-ba08-10a52fbd726f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 33bc0928-c056-4ef6-ba08-10a52fbd726f</title></pubsub></data>

2023-03-15 23:01:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-15 23:01:31 | [Mutex] waiting for: [received:nodes:6b586b37-43a7-416d-ba1d-1a808df4fd1a:localhost]

2023-03-15 23:01:31 | [Mutex] waiting for: [received:nodes:6b586b37-43a7-416d-ba1d-1a808df4fd1a:localhost]

2023-03-15 23:01:31 | [Mutex] waiting for: [received:nodes:6b586b37-43a7-416d-ba1d-1a808df4fd1a:localhost]

2023-03-15 23:01:31 | [Mutex] waiting for: [received:nodes:6b586b37-43a7-416d-ba1d-1a808df4fd1a:localhost]

2023-03-15 23:01:31 | [Mutex] received everything.

2023-03-15 23:01:31 | [Mutex] isItemNotified: received:node:6b586b37-43a7-416d-ba1d-1a808df4fd1a:localhost:node-33bc0928-c056-4ef6-ba08-10a52fbd726f:Node 33bc0928-c056-4ef6-ba08-10a52fbd726f :: true

deleteNodes 1.016s
2023-03-15 23:01:36 |

2023-03-15 23:01:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:36 | ------------------------------------

2023-03-15 23:01:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-33bc0928-c056-4ef6-ba08-10a52fbd726f</node></data>

2023-03-15 23:01:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-03-15 23:01:37 | [Mutex] waiting for: [received:nodes:c65fa8d9-67ba-47bc-bc62-95f250bd9366:localhost]

2023-03-15 23:01:37 | [Mutex] waiting for: [received:nodes:c65fa8d9-67ba-47bc-bc62-95f250bd9366:localhost]

2023-03-15 23:01:37 | [Mutex] waiting for: [received:nodes:c65fa8d9-67ba-47bc-bc62-95f250bd9366:localhost]

2023-03-15 23:01:37 | [Mutex] received everything.

2023-03-15 23:01:37 | [Mutex] isItemNotified: received:node:c65fa8d9-67ba-47bc-bc62-95f250bd9366:localhost:node-33bc0928-c056-4ef6-ba08-10a52fbd726f:Node 33bc0928-c056-4ef6-ba08-10a52fbd726f :: false

deleteSubnodes 1.110s
2023-03-15 23:01:35 |

2023-03-15 23:01:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:35 | ------------------------------------

2023-03-15 23:01:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b</node></data>

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

2023-03-15 23:01:36 | [Mutex] waiting for: [received:nodes:d81851a7-3357-4650-a497-a6c23ca01b66:localhost]

2023-03-15 23:01:36 | [Mutex] waiting for: [received:nodes:d81851a7-3357-4650-a497-a6c23ca01b66:localhost]

2023-03-15 23:01:36 | [Mutex] received everything.

2023-03-15 23:01:36 | [Mutex] isItemNotified: received:node:d81851a7-3357-4650-a497-a6c23ca01b66:localhost:node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b:Node 1dafa8d1-733c-47ef-bb32-9b1ca1de851b :: false

2023-03-15 23:01:36 | [Mutex] waiting for: [received:nodes:ae593fa3-67d6-46f5-9f2f-66e983f51307:localhost]

2023-03-15 23:01:36 | [Mutex] received everything.

2023-03-15 23:01:36 | [Mutex] isItemNotified: received:node:ae593fa3-67d6-46f5-9f2f-66e983f51307:localhost:node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b:Node 1dafa8d1-733c-47ef-bb32-9b1ca1de851b :: false

publishItemsToNodes 0.192s
2023-03-15 23:01:33 |

2023-03-15 23:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:33 | ------------------------------------

2023-03-15 23:01:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b</node><item-id>item-5608aeb3-4337-4e26-8cf5-459e8b95121e</item-id><entry><test>item-5608aeb3-4337-4e26-8cf5-459e8b95121e</test></entry></data>

2023-03-15 23:01:33 | 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-5608aeb3-4337-4e26-8cf5-459e8b95121e</value></item-id></result>

2023-03-15 23:01:33 | [Mutex] received everything.

2023-03-15 23:01:33 | [Mutex] isItemNotified: published:item:notifieditem-5608aeb3-4337-4e26-8cf5-459e8b95121e:admin@test-domain.com :: true

retractItemsFromNodes 0.265s
2023-03-15 23:01:34 |

2023-03-15 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:34 | ------------------------------------

2023-03-15 23:01:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b</node><item-id>item-5608aeb3-4337-4e26-8cf5-459e8b95121e</item-id></data>

2023-03-15 23:01:34 | 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-5608aeb3-4337-4e26-8cf5-459e8b95121e</value></item-id></result>

2023-03-15 23:01:34 | [Mutex] received everything.

2023-03-15 23:01:34 | [Mutex] isItemNotified: retracted:item:notifieditem-5608aeb3-4337-4e26-8cf5-459e8b95121e:admin@test-domain.com :: true

retrieveItemsFromNodes 0.242s
2023-03-15 23:01:33 |

2023-03-15 23:01:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:33 | ------------------------------------

2023-03-15 23:01:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b</node><item-id>item-5608aeb3-4337-4e26-8cf5-459e8b95121e</item-id></data>

2023-03-15 23:01:34 | 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-1dafa8d1-733c-47ef-bb32-9b1ca1de851b</value></node><item-id type="text-single" label="Item ID"><value>item-5608aeb3-4337-4e26-8cf5-459e8b95121e</value></item-id><item type="text-multi" label="Item"><value><item id="item-5608aeb3-4337-4e26-8cf5-459e8b95121e"><test>item-5608aeb3-4337-4e26-8cf5-459e8b95121e</test></item></value></item></result>

2023-03-15 23:01:34 | [Mutex] notify: [retrieved:item:item-5608aeb3-4337-4e26-8cf5-459e8b95121e:payload-matches:true:localhost]

2023-03-15 23:01:34 | [Mutex] received everything.

2023-03-15 23:01:34 | [Mutex] isItemNotified: retrieved:item:item-5608aeb3-4337-4e26-8cf5-459e8b95121e:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-03-15 23:01:34 |

2023-03-15 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:34 | ------------------------------------

2023-03-15 23:01:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-03-15 23:01:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b</value><value>node-33bc0928-c056-4ef6-ba08-10a52fbd726f</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2023-03-15 23:01:34 |

2023-03-15 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:34 | ------------------------------------

2023-03-15 23:01:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b)</node-pattern></data>

2023-03-15 23:01:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.116s
2023-03-15 23:01:32 |

2023-03-15 23:01:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:32 | ------------------------------------

2023-03-15 23:01:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-15 23:01:32 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.170s
2023-03-15 23:01:34 |

2023-03-15 23:01:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-03-15 23:01:34 | ------------------------------------

2023-03-15 23:01:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1dafa8d1-733c-47ef-bb32-9b1ca1de851b</node><jids><value>admin@test-domain.com</value></jids></data>

2023-03-15 23:01:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>