Generated by TestNG with ReportNG at 23:05 PDT on Monday 02 May 2022
root@21fb2cc9076b / 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.310s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.031s
2022-05-02 23:20:18 |

2022-05-02 23:20:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:18 | ------------------------------------

2022-05-02 23:20:18 | [Mutex] waiting for: [configured:node:node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf:node-bcecdb5d-8f60-4f78-97bf-1728869304af]

2022-05-02 23:20:18 | [Mutex] received everything.

2022-05-02 23:20:18 | [Mutex] isItemNotified: configured:node:node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf:node-bcecdb5d-8f60-4f78-97bf-1728869304af :: true

2022-05-02 23:20:19 | [Mutex] waiting for: [received:nodes:2090f32b-1b23-4ff0-89d0-f548daab9fc8:localhost]

2022-05-02 23:20:19 | [Mutex] received everything.

2022-05-02 23:20:19 | [Mutex] isItemNotified: received:node:2090f32b-1b23-4ff0-89d0-f548daab9fc8:localhost:node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf:Node 63ff31f3-0fa9-46bd-809d-b37be5d2d9cf :: true

2022-05-02 23:20:19 | [Mutex] waiting for: [received:nodes:daaa6b32-b6ed-4d95-97e3-510a53d538aa:localhost]

2022-05-02 23:20:19 | [Mutex] received everything.

2022-05-02 23:20:19 | [Mutex] isItemNotified: received:node:daaa6b32-b6ed-4d95-97e3-510a53d538aa:localhost:node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf:Node 63ff31f3-0fa9-46bd-809d-b37be5d2d9cf :: false

createNodes 1.420s
2022-05-02 23:20:16 |

2022-05-02 23:20:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:16 | ------------------------------------

2022-05-02 23:20:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 63ff31f3-0fa9-46bd-809d-b37be5d2d9cf</title></pubsub></data>

2022-05-02 23:20:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-02 23:20:17 | [Mutex] waiting for: [received:nodes:f52d2679-3909-4734-85fd-8da2c6847ced:localhost]

2022-05-02 23:20:17 | [Mutex] waiting for: [received:nodes:f52d2679-3909-4734-85fd-8da2c6847ced:localhost]

2022-05-02 23:20:17 | [Mutex] received everything.

2022-05-02 23:20:17 | [Mutex] isItemNotified: received:node:f52d2679-3909-4734-85fd-8da2c6847ced:localhost:node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf:Node 63ff31f3-0fa9-46bd-809d-b37be5d2d9cf :: true

createSubnodes 1.022s
2022-05-02 23:20:17 |

2022-05-02 23:20:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:17 | ------------------------------------

2022-05-02 23:20:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bcecdb5d-8f60-4f78-97bf-1728869304af</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node bcecdb5d-8f60-4f78-97bf-1728869304af</title></pubsub></data>

2022-05-02 23:20:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-02 23:20:18 | [Mutex] waiting for: [received:nodes:02c382e0-1521-4bf6-822b-248fd184a203:localhost]

2022-05-02 23:20:18 | [Mutex] received everything.

2022-05-02 23:20:18 | [Mutex] isItemNotified: received:node:02c382e0-1521-4bf6-822b-248fd184a203:localhost:node-bcecdb5d-8f60-4f78-97bf-1728869304af:Node bcecdb5d-8f60-4f78-97bf-1728869304af :: true

deleteNodes 1.016s
2022-05-02 23:20:23 |

2022-05-02 23:20:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:23 | ------------------------------------

2022-05-02 23:20:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bcecdb5d-8f60-4f78-97bf-1728869304af</node></data>

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

2022-05-02 23:20:24 | [Mutex] waiting for: [received:nodes:9f169f04-e040-4a03-a632-8826bfe39fae:localhost]

2022-05-02 23:20:24 | [Mutex] received everything.

2022-05-02 23:20:24 | [Mutex] isItemNotified: received:node:9f169f04-e040-4a03-a632-8826bfe39fae:localhost:node-bcecdb5d-8f60-4f78-97bf-1728869304af:Node bcecdb5d-8f60-4f78-97bf-1728869304af :: false

deleteSubnodes 1.130s
2022-05-02 23:20:22 |

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

2022-05-02 23:20:22 | ------------------------------------

2022-05-02 23:20:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf</node></data>

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

2022-05-02 23:20:23 | [Mutex] waiting for: [received:nodes:0dbd4958-87d3-4011-a660-d1fc0c900398:localhost]

2022-05-02 23:20:23 | [Mutex] received everything.

2022-05-02 23:20:23 | [Mutex] isItemNotified: received:node:0dbd4958-87d3-4011-a660-d1fc0c900398:localhost:node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf:Node 63ff31f3-0fa9-46bd-809d-b37be5d2d9cf :: false

2022-05-02 23:20:23 | [Mutex] waiting for: [received:nodes:19ca7291-4bae-4eb5-9490-96274daa4050:localhost]

2022-05-02 23:20:23 | [Mutex] received everything.

2022-05-02 23:20:23 | [Mutex] isItemNotified: received:node:19ca7291-4bae-4eb5-9490-96274daa4050:localhost:node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf:Node 63ff31f3-0fa9-46bd-809d-b37be5d2d9cf :: false

publishItemsToNodes 0.182s
2022-05-02 23:20:20 |

2022-05-02 23:20:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:20 | ------------------------------------

2022-05-02 23:20:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf</node><item-id>item-e2f3a74e-43fb-4338-a6ab-df942ccb5286</item-id><entry><test>item-e2f3a74e-43fb-4338-a6ab-df942ccb5286</test></entry></data>

2022-05-02 23:20:20 | 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-e2f3a74e-43fb-4338-a6ab-df942ccb5286</value></item-id></result>

2022-05-02 23:20:20 | [Mutex] waiting for: [published:item:notifieditem-e2f3a74e-43fb-4338-a6ab-df942ccb5286:admin@test-domain.com]

2022-05-02 23:20:20 | [Mutex] received everything.

2022-05-02 23:20:20 | [Mutex] isItemNotified: published:item:notifieditem-e2f3a74e-43fb-4338-a6ab-df942ccb5286:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2022-05-02 23:20:21 |

2022-05-02 23:20:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:21 | ------------------------------------

2022-05-02 23:20:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf</node><item-id>item-e2f3a74e-43fb-4338-a6ab-df942ccb5286</item-id></data>

2022-05-02 23:20:21 | 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-e2f3a74e-43fb-4338-a6ab-df942ccb5286</value></item-id></result>

2022-05-02 23:20:21 | [Mutex] received everything.

2022-05-02 23:20:21 | [Mutex] isItemNotified: retracted:item:notifieditem-e2f3a74e-43fb-4338-a6ab-df942ccb5286:admin@test-domain.com :: true

retrieveItemsFromNodes 0.152s
2022-05-02 23:20:20 |

2022-05-02 23:20:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:20 | ------------------------------------

2022-05-02 23:20:20 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf</node><item-id>item-e2f3a74e-43fb-4338-a6ab-df942ccb5286</item-id></data>

2022-05-02 23:20:20 | 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-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf</value></node><item-id type="text-single" label="Item ID"><value>item-e2f3a74e-43fb-4338-a6ab-df942ccb5286</value></item-id><item type="text-multi" label="Item"><value><item id="item-e2f3a74e-43fb-4338-a6ab-df942ccb5286"><test>item-e2f3a74e-43fb-4338-a6ab-df942ccb5286</test></item></value></item></result>

2022-05-02 23:20:20 | [Mutex] notify: [retrieved:item:item-e2f3a74e-43fb-4338-a6ab-df942ccb5286:payload-matches:true:localhost]

2022-05-02 23:20:20 | [Mutex] received everything.

2022-05-02 23:20:20 | [Mutex] isItemNotified: retrieved:item:item-e2f3a74e-43fb-4338-a6ab-df942ccb5286:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-02 23:20:20 |

2022-05-02 23:20:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:20 | ------------------------------------

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

2022-05-02 23:20:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf</value><value>test</value><value>node-bcecdb5d-8f60-4f78-97bf-1728869304af</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-05-02 23:20:21 |

2022-05-02 23:20:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:21 | ------------------------------------

2022-05-02 23:20:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf)</node-pattern></data>

2022-05-02 23:20:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.110s
2022-05-02 23:20:19 |

2022-05-02 23:20:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:19 | ------------------------------------

2022-05-02 23:20:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-02 23:20:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.191s
2022-05-02 23:20:21 |

2022-05-02 23:20:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-02 23:20:21 | ------------------------------------

2022-05-02 23:20:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-63ff31f3-0fa9-46bd-809d-b37be5d2d9cf</node><jids><value>admin@test-domain.com</value></jids></data>

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