Generated by TestNG with ReportNG at 21:46 PST on Wednesday 01 February 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.386s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2023-02-01 22:01:47 |

2023-02-01 22:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:47 | ------------------------------------

2023-02-01 22:01:47 | [Mutex] waiting for: [configured:node:node-e4c8079f-0468-41bf-ad96-c06582b7ec20:node-c3f416ff-0f7f-4020-bb1f-26096e99fc1a]

2023-02-01 22:01:47 | [Mutex] received everything.

2023-02-01 22:01:47 | [Mutex] isItemNotified: configured:node:node-e4c8079f-0468-41bf-ad96-c06582b7ec20:node-c3f416ff-0f7f-4020-bb1f-26096e99fc1a :: true

2023-02-01 22:01:48 | [Mutex] waiting for: [received:nodes:c0b0c6f8-5742-432c-807d-21c9e64ef84b:localhost]

2023-02-01 22:01:48 | [Mutex] received everything.

2023-02-01 22:01:48 | [Mutex] isItemNotified: received:node:c0b0c6f8-5742-432c-807d-21c9e64ef84b:localhost:node-e4c8079f-0468-41bf-ad96-c06582b7ec20:Node e4c8079f-0468-41bf-ad96-c06582b7ec20 :: true

2023-02-01 22:01:48 | [Mutex] waiting for: [received:nodes:81cfc1e8-fbbb-4552-866d-77fd1a28dda5:localhost]

2023-02-01 22:01:48 | [Mutex] waiting for: [received:nodes:81cfc1e8-fbbb-4552-866d-77fd1a28dda5:localhost]

2023-02-01 22:01:48 | [Mutex] waiting for: [received:nodes:81cfc1e8-fbbb-4552-866d-77fd1a28dda5:localhost]

2023-02-01 22:01:48 | [Mutex] waiting for: [received:nodes:81cfc1e8-fbbb-4552-866d-77fd1a28dda5:localhost]

2023-02-01 22:01:48 | [Mutex] received everything.

2023-02-01 22:01:48 | [Mutex] isItemNotified: received:node:81cfc1e8-fbbb-4552-866d-77fd1a28dda5:localhost:node-e4c8079f-0468-41bf-ad96-c06582b7ec20:Node e4c8079f-0468-41bf-ad96-c06582b7ec20 :: false

createNodes 1.406s
2023-02-01 22:01:45 |

2023-02-01 22:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:45 | ------------------------------------

2023-02-01 22:01:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e4c8079f-0468-41bf-ad96-c06582b7ec20</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e4c8079f-0468-41bf-ad96-c06582b7ec20</title></pubsub></data>

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

2023-02-01 22:01:46 | [Mutex] waiting for: [received:nodes:b2cdb503-2ac1-4311-904a-df4f134b1db9:localhost]

2023-02-01 22:01:46 | [Mutex] received everything.

2023-02-01 22:01:46 | [Mutex] isItemNotified: received:node:b2cdb503-2ac1-4311-904a-df4f134b1db9:localhost:node-e4c8079f-0468-41bf-ad96-c06582b7ec20:Node e4c8079f-0468-41bf-ad96-c06582b7ec20 :: true

createSubnodes 1.022s
2023-02-01 22:01:46 |

2023-02-01 22:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:46 | ------------------------------------

2023-02-01 22:01:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c3f416ff-0f7f-4020-bb1f-26096e99fc1a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c3f416ff-0f7f-4020-bb1f-26096e99fc1a</title></pubsub></data>

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

2023-02-01 22:01:47 | [Mutex] waiting for: [received:nodes:ffa5772e-461f-4445-a8cd-135f49e85f26:localhost]

2023-02-01 22:01:47 | [Mutex] waiting for: [received:nodes:ffa5772e-461f-4445-a8cd-135f49e85f26:localhost]

2023-02-01 22:01:47 | [Mutex] waiting for: [received:nodes:ffa5772e-461f-4445-a8cd-135f49e85f26:localhost]

2023-02-01 22:01:47 | [Mutex] waiting for: [received:nodes:ffa5772e-461f-4445-a8cd-135f49e85f26:localhost]

2023-02-01 22:01:47 | [Mutex] waiting for: [received:nodes:ffa5772e-461f-4445-a8cd-135f49e85f26:localhost]

2023-02-01 22:01:47 | [Mutex] received everything.

2023-02-01 22:01:47 | [Mutex] isItemNotified: received:node:ffa5772e-461f-4445-a8cd-135f49e85f26:localhost:node-c3f416ff-0f7f-4020-bb1f-26096e99fc1a:Node c3f416ff-0f7f-4020-bb1f-26096e99fc1a :: true

deleteNodes 1.016s
2023-02-01 22:01:52 |

2023-02-01 22:01:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:52 | ------------------------------------

2023-02-01 22:01:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c3f416ff-0f7f-4020-bb1f-26096e99fc1a</node></data>

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

2023-02-01 22:01:53 | [Mutex] waiting for: [received:nodes:691deae7-74a7-4583-89eb-afb543ed059e:localhost]

2023-02-01 22:01:53 | [Mutex] waiting for: [received:nodes:691deae7-74a7-4583-89eb-afb543ed059e:localhost]

2023-02-01 22:01:53 | [Mutex] waiting for: [received:nodes:691deae7-74a7-4583-89eb-afb543ed059e:localhost]

2023-02-01 22:01:53 | [Mutex] received everything.

2023-02-01 22:01:53 | [Mutex] isItemNotified: received:node:691deae7-74a7-4583-89eb-afb543ed059e:localhost:node-c3f416ff-0f7f-4020-bb1f-26096e99fc1a:Node c3f416ff-0f7f-4020-bb1f-26096e99fc1a :: false

deleteSubnodes 1.122s
2023-02-01 22:01:51 |

2023-02-01 22:01:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:51 | ------------------------------------

2023-02-01 22:01:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e4c8079f-0468-41bf-ad96-c06582b7ec20</node></data>

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

2023-02-01 22:01:52 | [Mutex] waiting for: [received:nodes:6122b12a-08c2-417e-91c4-007e1ca1b545:localhost]

2023-02-01 22:01:52 | [Mutex] waiting for: [received:nodes:6122b12a-08c2-417e-91c4-007e1ca1b545:localhost]

2023-02-01 22:01:52 | [Mutex] waiting for: [received:nodes:6122b12a-08c2-417e-91c4-007e1ca1b545:localhost]

2023-02-01 22:01:52 | [Mutex] waiting for: [received:nodes:6122b12a-08c2-417e-91c4-007e1ca1b545:localhost]

2023-02-01 22:01:52 | [Mutex] received everything.

2023-02-01 22:01:52 | [Mutex] isItemNotified: received:node:6122b12a-08c2-417e-91c4-007e1ca1b545:localhost:node-e4c8079f-0468-41bf-ad96-c06582b7ec20:Node e4c8079f-0468-41bf-ad96-c06582b7ec20 :: false

2023-02-01 22:01:52 | [Mutex] waiting for: [received:nodes:ac2db13d-c372-4001-ad86-353ce2328320:localhost]

2023-02-01 22:01:52 | [Mutex] received everything.

2023-02-01 22:01:52 | [Mutex] isItemNotified: received:node:ac2db13d-c372-4001-ad86-353ce2328320:localhost:node-e4c8079f-0468-41bf-ad96-c06582b7ec20:Node e4c8079f-0468-41bf-ad96-c06582b7ec20 :: false

publishItemsToNodes 0.179s
2023-02-01 22:01:49 |

2023-02-01 22:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:49 | ------------------------------------

2023-02-01 22:01:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-e4c8079f-0468-41bf-ad96-c06582b7ec20</node><item-id>item-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73</item-id><entry><test>item-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73</test></entry></data>

2023-02-01 22:01:50 | 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-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73</value></item-id></result>

2023-02-01 22:01:50 | [Mutex] received everything.

2023-02-01 22:01:50 | [Mutex] isItemNotified: published:item:notifieditem-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73:admin@test-domain.com :: true

retractItemsFromNodes 0.243s
2023-02-01 22:01:50 |

2023-02-01 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:50 | ------------------------------------

2023-02-01 22:01:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-e4c8079f-0468-41bf-ad96-c06582b7ec20</node><item-id>item-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73</item-id></data>

2023-02-01 22:01:50 | 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-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73</value></item-id></result>

2023-02-01 22:01:50 | [Mutex] received everything.

2023-02-01 22:01:50 | [Mutex] isItemNotified: retracted:item:notifieditem-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73:admin@test-domain.com :: true

retrieveItemsFromNodes 0.255s
2023-02-01 22:01:50 |

2023-02-01 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:50 | ------------------------------------

2023-02-01 22:01:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-e4c8079f-0468-41bf-ad96-c06582b7ec20</node><item-id>item-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73</item-id></data>

2023-02-01 22:01:50 | 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-e4c8079f-0468-41bf-ad96-c06582b7ec20</value></node><item-id type="text-single" label="Item ID"><value>item-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73</value></item-id><item type="text-multi" label="Item"><value><item id="item-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73"><test>item-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73</test></item></value></item></result>

2023-02-01 22:01:50 | [Mutex] notify: [retrieved:item:item-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73:payload-matches:true:localhost]

2023-02-01 22:01:50 | [Mutex] received everything.

2023-02-01 22:01:50 | [Mutex] isItemNotified: retrieved:item:item-97113ebb-1aed-43f5-b3ed-b5b06cfd2e73:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-01 22:01:50 |

2023-02-01 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:50 | ------------------------------------

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

2023-02-01 22:01:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-c3f416ff-0f7f-4020-bb1f-26096e99fc1a</value><value>test</value><value>node-e4c8079f-0468-41bf-ad96-c06582b7ec20</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2023-02-01 22:01:50 |

2023-02-01 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:50 | ------------------------------------

2023-02-01 22:01:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e4c8079f-0468-41bf-ad96-c06582b7ec20)</node-pattern></data>

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

subscribeNodes 1.113s
2023-02-01 22:01:48 |

2023-02-01 22:01:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:48 | ------------------------------------

2023-02-01 22:01:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-e4c8079f-0468-41bf-ad96-c06582b7ec20</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.208s
2023-02-01 22:01:50 |

2023-02-01 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-01 22:01:50 | ------------------------------------

2023-02-01 22:01:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-e4c8079f-0468-41bf-ad96-c06582b7ec20</node><jids><value>admin@test-domain.com</value></jids></data>

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