Generated by TestNG with ReportNG at 22:19 PDT on Wednesday 31 August 2022
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.424s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.107s
2022-08-31 22:33:27 |

2022-08-31 22:33:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:27 | ------------------------------------

2022-08-31 22:33:27 | [Mutex] waiting for: [configured:node:node-daaf1449-0330-4af2-8fad-832c93a30008:node-3b17b0b5-d7e8-4e2c-bc2a-c94fba944d7a]

2022-08-31 22:33:27 | [Mutex] received everything.

2022-08-31 22:33:27 | [Mutex] isItemNotified: configured:node:node-daaf1449-0330-4af2-8fad-832c93a30008:node-3b17b0b5-d7e8-4e2c-bc2a-c94fba944d7a :: true

2022-08-31 22:33:28 | [Mutex] waiting for: [received:nodes:04fb7692-764c-43db-891e-7cef1410030e:localhost]

2022-08-31 22:33:28 | [Mutex] received everything.

2022-08-31 22:33:28 | [Mutex] isItemNotified: received:node:04fb7692-764c-43db-891e-7cef1410030e:localhost:node-daaf1449-0330-4af2-8fad-832c93a30008:Node daaf1449-0330-4af2-8fad-832c93a30008 :: true

2022-08-31 22:33:28 | [Mutex] waiting for: [received:nodes:2bbc9a31-b9e0-404b-abc6-e6712b12b923:localhost]

2022-08-31 22:33:28 | [Mutex] received everything.

2022-08-31 22:33:28 | [Mutex] isItemNotified: received:node:2bbc9a31-b9e0-404b-abc6-e6712b12b923:localhost:node-daaf1449-0330-4af2-8fad-832c93a30008:Node daaf1449-0330-4af2-8fad-832c93a30008 :: false

createNodes 1.376s
2022-08-31 22:33:24 |

2022-08-31 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:24 | ------------------------------------

2022-08-31 22:33:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-daaf1449-0330-4af2-8fad-832c93a30008</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node daaf1449-0330-4af2-8fad-832c93a30008</title></pubsub></data>

2022-08-31 22:33:25 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 22:33:26 | [Mutex] waiting for: [received:nodes:b0156ce3-e253-48a9-8de8-0d0dc09cda1e:localhost]

2022-08-31 22:33:26 | [Mutex] waiting for: [received:nodes:b0156ce3-e253-48a9-8de8-0d0dc09cda1e:localhost]

2022-08-31 22:33:26 | [Mutex] received everything.

2022-08-31 22:33:26 | [Mutex] isItemNotified: received:node:b0156ce3-e253-48a9-8de8-0d0dc09cda1e:localhost:node-daaf1449-0330-4af2-8fad-832c93a30008:Node daaf1449-0330-4af2-8fad-832c93a30008 :: true

createSubnodes 1.025s
2022-08-31 22:33:26 |

2022-08-31 22:33:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:26 | ------------------------------------

2022-08-31 22:33:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3b17b0b5-d7e8-4e2c-bc2a-c94fba944d7a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3b17b0b5-d7e8-4e2c-bc2a-c94fba944d7a</title></pubsub></data>

2022-08-31 22:33:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 22:33:27 | [Mutex] waiting for: [received:nodes:d23cfd30-1ce3-4f22-ab27-d1f16f1ad91c:localhost]

2022-08-31 22:33:27 | [Mutex] waiting for: [received:nodes:d23cfd30-1ce3-4f22-ab27-d1f16f1ad91c:localhost]

2022-08-31 22:33:27 | [Mutex] received everything.

2022-08-31 22:33:27 | [Mutex] isItemNotified: received:node:d23cfd30-1ce3-4f22-ab27-d1f16f1ad91c:localhost:node-3b17b0b5-d7e8-4e2c-bc2a-c94fba944d7a:Node 3b17b0b5-d7e8-4e2c-bc2a-c94fba944d7a :: true

deleteNodes 1.016s
2022-08-31 22:33:32 |

2022-08-31 22:33:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:32 | ------------------------------------

2022-08-31 22:33:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3b17b0b5-d7e8-4e2c-bc2a-c94fba944d7a</node></data>

2022-08-31 22:33:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-31 22:33:33 | [Mutex] waiting for: [received:nodes:7d519c70-898c-47f7-b2fb-74dfcba1005a:localhost]

2022-08-31 22:33:33 | [Mutex] waiting for: [received:nodes:7d519c70-898c-47f7-b2fb-74dfcba1005a:localhost]

2022-08-31 22:33:33 | [Mutex] waiting for: [received:nodes:7d519c70-898c-47f7-b2fb-74dfcba1005a:localhost]

2022-08-31 22:33:33 | [Mutex] received everything.

2022-08-31 22:33:33 | [Mutex] isItemNotified: received:node:7d519c70-898c-47f7-b2fb-74dfcba1005a:localhost:node-3b17b0b5-d7e8-4e2c-bc2a-c94fba944d7a:Node 3b17b0b5-d7e8-4e2c-bc2a-c94fba944d7a :: false

deleteSubnodes 1.144s
2022-08-31 22:33:31 |

2022-08-31 22:33:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:31 | ------------------------------------

2022-08-31 22:33:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-daaf1449-0330-4af2-8fad-832c93a30008</node></data>

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

2022-08-31 22:33:32 | [Mutex] waiting for: [received:nodes:009a673c-b84f-47ee-8430-c625b7d191cc:localhost]

2022-08-31 22:33:32 | [Mutex] waiting for: [received:nodes:009a673c-b84f-47ee-8430-c625b7d191cc:localhost]

2022-08-31 22:33:32 | [Mutex] received everything.

2022-08-31 22:33:32 | [Mutex] isItemNotified: received:node:009a673c-b84f-47ee-8430-c625b7d191cc:localhost:node-daaf1449-0330-4af2-8fad-832c93a30008:Node daaf1449-0330-4af2-8fad-832c93a30008 :: false

2022-08-31 22:33:32 | [Mutex] waiting for: [received:nodes:e8f41b23-13b4-43b0-b6d8-7bb0ed46cf3a:localhost]

2022-08-31 22:33:32 | [Mutex] received everything.

2022-08-31 22:33:32 | [Mutex] isItemNotified: received:node:e8f41b23-13b4-43b0-b6d8-7bb0ed46cf3a:localhost:node-daaf1449-0330-4af2-8fad-832c93a30008:Node daaf1449-0330-4af2-8fad-832c93a30008 :: false

publishItemsToNodes 0.213s
2022-08-31 22:33:29 |

2022-08-31 22:33:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:29 | ------------------------------------

2022-08-31 22:33:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-daaf1449-0330-4af2-8fad-832c93a30008</node><item-id>item-bc78c41a-cac3-417a-b2fd-89cf28cac964</item-id><entry><test>item-bc78c41a-cac3-417a-b2fd-89cf28cac964</test></entry></data>

2022-08-31 22:33:29 | 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-bc78c41a-cac3-417a-b2fd-89cf28cac964</value></item-id></result>

2022-08-31 22:33:29 | [Mutex] received everything.

2022-08-31 22:33:29 | [Mutex] isItemNotified: published:item:notifieditem-bc78c41a-cac3-417a-b2fd-89cf28cac964:admin@test-domain.com :: true

retractItemsFromNodes 0.219s
2022-08-31 22:33:30 |

2022-08-31 22:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:30 | ------------------------------------

2022-08-31 22:33:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-daaf1449-0330-4af2-8fad-832c93a30008</node><item-id>item-bc78c41a-cac3-417a-b2fd-89cf28cac964</item-id></data>

2022-08-31 22:33:30 | 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-bc78c41a-cac3-417a-b2fd-89cf28cac964</value></item-id></result>

2022-08-31 22:33:30 | [Mutex] received everything.

2022-08-31 22:33:30 | [Mutex] isItemNotified: retracted:item:notifieditem-bc78c41a-cac3-417a-b2fd-89cf28cac964:admin@test-domain.com :: true

retrieveItemsFromNodes 0.251s
2022-08-31 22:33:29 |

2022-08-31 22:33:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:29 | ------------------------------------

2022-08-31 22:33:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-daaf1449-0330-4af2-8fad-832c93a30008</node><item-id>item-bc78c41a-cac3-417a-b2fd-89cf28cac964</item-id></data>

2022-08-31 22:33:30 | 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-daaf1449-0330-4af2-8fad-832c93a30008</value></node><item-id type="text-single" label="Item ID"><value>item-bc78c41a-cac3-417a-b2fd-89cf28cac964</value></item-id><item type="text-multi" label="Item"><value><item id="item-bc78c41a-cac3-417a-b2fd-89cf28cac964"><test>item-bc78c41a-cac3-417a-b2fd-89cf28cac964</test></item></value></item></result>

2022-08-31 22:33:30 | [Mutex] notify: [retrieved:item:item-bc78c41a-cac3-417a-b2fd-89cf28cac964:payload-matches:true:localhost]

2022-08-31 22:33:30 | [Mutex] received everything.

2022-08-31 22:33:30 | [Mutex] isItemNotified: retrieved:item:item-bc78c41a-cac3-417a-b2fd-89cf28cac964:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-31 22:33:30 |

2022-08-31 22:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:30 | ------------------------------------

2022-08-31 22:33:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-31 22:33:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-3b17b0b5-d7e8-4e2c-bc2a-c94fba944d7a</value><value>test</value><value>node-daaf1449-0330-4af2-8fad-832c93a30008</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2022-08-31 22:33:30 |

2022-08-31 22:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:30 | ------------------------------------

2022-08-31 22:33:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-daaf1449-0330-4af2-8fad-832c93a30008)</node-pattern></data>

2022-08-31 22:33:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.102s
2022-08-31 22:33:28 |

2022-08-31 22:33:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:28 | ------------------------------------

2022-08-31 22:33:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-daaf1449-0330-4af2-8fad-832c93a30008</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-31 22:33:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.223s
2022-08-31 22:33:30 |

2022-08-31 22:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-31 22:33:30 | ------------------------------------

2022-08-31 22:33:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-daaf1449-0330-4af2-8fad-832c93a30008</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-31 22:33:30 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>