Generated by TestNG with ReportNG at 22:23 PDT on Sunday 05 June 2022
root@61c39d2ed70d / 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.502s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2022-06-05 22:37:58 |

2022-06-05 22:37:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:37:58 | ------------------------------------

2022-06-05 22:37:58 | [Mutex] waiting for: [configured:node:node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8:node-c9f379fe-c4b7-4e12-bf39-18f1286cc9f4]

2022-06-05 22:37:58 | [Mutex] received everything.

2022-06-05 22:37:58 | [Mutex] isItemNotified: configured:node:node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8:node-c9f379fe-c4b7-4e12-bf39-18f1286cc9f4 :: true

2022-06-05 22:37:59 | [Mutex] waiting for: [received:nodes:9f194791-55f2-46bf-b439-ddbe3ed1a397:localhost]

2022-06-05 22:37:59 | [Mutex] received everything.

2022-06-05 22:37:59 | [Mutex] isItemNotified: received:node:9f194791-55f2-46bf-b439-ddbe3ed1a397:localhost:node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8:Node 1ec05e5e-4a2d-4245-9b72-8d78fb04eca8 :: true

2022-06-05 22:37:59 | [Mutex] waiting for: [received:nodes:7f9be9f7-69c2-459e-9a71-4a5c37970d7b:localhost]

2022-06-05 22:37:59 | [Mutex] waiting for: [received:nodes:7f9be9f7-69c2-459e-9a71-4a5c37970d7b:localhost]

2022-06-05 22:37:59 | [Mutex] waiting for: [received:nodes:7f9be9f7-69c2-459e-9a71-4a5c37970d7b:localhost]

2022-06-05 22:37:59 | [Mutex] received everything.

2022-06-05 22:37:59 | [Mutex] isItemNotified: received:node:7f9be9f7-69c2-459e-9a71-4a5c37970d7b:localhost:node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8:Node 1ec05e5e-4a2d-4245-9b72-8d78fb04eca8 :: false

createNodes 1.419s
2022-06-05 22:37:55 |

2022-06-05 22:37:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:37:55 | ------------------------------------

2022-06-05 22:37:55 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1ec05e5e-4a2d-4245-9b72-8d78fb04eca8</title></pubsub></data>

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

2022-06-05 22:37:57 | [Mutex] waiting for: [received:nodes:7d5de520-5280-4b6f-93a6-2018163107d8:localhost]

2022-06-05 22:37:57 | [Mutex] received everything.

2022-06-05 22:37:57 | [Mutex] isItemNotified: received:node:7d5de520-5280-4b6f-93a6-2018163107d8:localhost:node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8:Node 1ec05e5e-4a2d-4245-9b72-8d78fb04eca8 :: true

createSubnodes 1.024s
2022-06-05 22:37:57 |

2022-06-05 22:37:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:37:57 | ------------------------------------

2022-06-05 22:37:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c9f379fe-c4b7-4e12-bf39-18f1286cc9f4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c9f379fe-c4b7-4e12-bf39-18f1286cc9f4</title></pubsub></data>

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

2022-06-05 22:37:58 | [Mutex] waiting for: [received:nodes:e554279c-767d-4d4b-aeff-4124f2347fee:localhost]

2022-06-05 22:37:58 | [Mutex] waiting for: [received:nodes:e554279c-767d-4d4b-aeff-4124f2347fee:localhost]

2022-06-05 22:37:58 | [Mutex] received everything.

2022-06-05 22:37:58 | [Mutex] isItemNotified: received:node:e554279c-767d-4d4b-aeff-4124f2347fee:localhost:node-c9f379fe-c4b7-4e12-bf39-18f1286cc9f4:Node c9f379fe-c4b7-4e12-bf39-18f1286cc9f4 :: true

deleteNodes 1.017s
2022-06-05 22:38:03 |

2022-06-05 22:38:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:38:03 | ------------------------------------

2022-06-05 22:38:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c9f379fe-c4b7-4e12-bf39-18f1286cc9f4</node></data>

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

2022-06-05 22:38:04 | [Mutex] waiting for: [received:nodes:6ec1d378-a623-4fa0-bd85-922e93f88ea7:localhost]

2022-06-05 22:38:04 | [Mutex] received everything.

2022-06-05 22:38:04 | [Mutex] isItemNotified: received:node:6ec1d378-a623-4fa0-bd85-922e93f88ea7:localhost:node-c9f379fe-c4b7-4e12-bf39-18f1286cc9f4:Node c9f379fe-c4b7-4e12-bf39-18f1286cc9f4 :: false

deleteSubnodes 1.113s
2022-06-05 22:38:02 |

2022-06-05 22:38:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:38:02 | ------------------------------------

2022-06-05 22:38:02 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8</node></data>

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

2022-06-05 22:38:03 | [Mutex] waiting for: [received:nodes:91fa3c48-53e9-4226-a07b-d8ed19183e0f:localhost]

2022-06-05 22:38:03 | [Mutex] waiting for: [received:nodes:91fa3c48-53e9-4226-a07b-d8ed19183e0f:localhost]

2022-06-05 22:38:03 | [Mutex] received everything.

2022-06-05 22:38:03 | [Mutex] isItemNotified: received:node:91fa3c48-53e9-4226-a07b-d8ed19183e0f:localhost:node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8:Node 1ec05e5e-4a2d-4245-9b72-8d78fb04eca8 :: false

2022-06-05 22:38:03 | [Mutex] waiting for: [received:nodes:303d4fb5-3d25-4b5a-8fc1-24518029d27d:localhost]

2022-06-05 22:38:03 | [Mutex] received everything.

2022-06-05 22:38:03 | [Mutex] isItemNotified: received:node:303d4fb5-3d25-4b5a-8fc1-24518029d27d:localhost:node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8:Node 1ec05e5e-4a2d-4245-9b72-8d78fb04eca8 :: false

publishItemsToNodes 0.280s
2022-06-05 22:38:00 |

2022-06-05 22:38:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:38:00 | ------------------------------------

2022-06-05 22:38:00 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8</node><item-id>item-9892a397-68b3-4011-abc6-3500888c9ebd</item-id><entry><test>item-9892a397-68b3-4011-abc6-3500888c9ebd</test></entry></data>

2022-06-05 22:38:00 | 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-9892a397-68b3-4011-abc6-3500888c9ebd</value></item-id></result>

2022-06-05 22:38:00 | [Mutex] waiting for: [published:item:notifieditem-9892a397-68b3-4011-abc6-3500888c9ebd:admin@test-domain.com]

2022-06-05 22:38:00 | [Mutex] received everything.

2022-06-05 22:38:00 | [Mutex] isItemNotified: published:item:notifieditem-9892a397-68b3-4011-abc6-3500888c9ebd:admin@test-domain.com :: true

retractItemsFromNodes 0.259s
2022-06-05 22:38:01 |

2022-06-05 22:38:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:38:01 | ------------------------------------

2022-06-05 22:38:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8</node><item-id>item-9892a397-68b3-4011-abc6-3500888c9ebd</item-id></data>

2022-06-05 22:38:01 | 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-9892a397-68b3-4011-abc6-3500888c9ebd</value></item-id></result>

2022-06-05 22:38:01 | [Mutex] received everything.

2022-06-05 22:38:01 | [Mutex] isItemNotified: retracted:item:notifieditem-9892a397-68b3-4011-abc6-3500888c9ebd:admin@test-domain.com :: true

retrieveItemsFromNodes 0.173s
2022-06-05 22:38:00 |

2022-06-05 22:38:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:38:00 | ------------------------------------

2022-06-05 22:38:00 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8</node><item-id>item-9892a397-68b3-4011-abc6-3500888c9ebd</item-id></data>

2022-06-05 22:38:00 | 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-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8</value></node><item-id label="Item ID" type="text-single"><value>item-9892a397-68b3-4011-abc6-3500888c9ebd</value></item-id><item label="Item" type="text-multi"><value><item id="item-9892a397-68b3-4011-abc6-3500888c9ebd"><test>item-9892a397-68b3-4011-abc6-3500888c9ebd</test></item></value></item></result>

2022-06-05 22:38:00 | [Mutex] notify: [retrieved:item:item-9892a397-68b3-4011-abc6-3500888c9ebd:payload-matches:true:localhost]

2022-06-05 22:38:00 | [Mutex] received everything.

2022-06-05 22:38:00 | [Mutex] isItemNotified: retrieved:item:item-9892a397-68b3-4011-abc6-3500888c9ebd:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-06-05 22:38:00 |

2022-06-05 22:38:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:38:00 | ------------------------------------

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

2022-06-05 22:38:00 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-c9f379fe-c4b7-4e12-bf39-18f1286cc9f4</value><value>test</value><value>node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-05 22:38:01 |

2022-06-05 22:38:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:38:01 | ------------------------------------

2022-06-05 22:38: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-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8)</node-pattern></data>

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

subscribeNodes 1.148s
2022-06-05 22:37:59 |

2022-06-05 22:37:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:37:59 | ------------------------------------

2022-06-05 22:37:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-05 22:37: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.219s
2022-06-05 22:38:01 |

2022-06-05 22:38:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-05 22:38:01 | ------------------------------------

2022-06-05 22:38:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1ec05e5e-4a2d-4245-9b72-8d78fb04eca8</node><jids><value>admin@test-domain.com</value></jids></data>

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