Generated by TestNG with ReportNG at 22:55 PDT on Thursday 24 March 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.644s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-03-24 23:09:05 |

2022-03-24 23:09:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:05 | ------------------------------------

2022-03-24 23:09:05 | [Mutex] waiting for: [configured:node:node-4e697c58-bf92-4073-bc07-9a78181f1240:node-312461c2-e6e0-4470-aa59-cf05f18aedf9]

2022-03-24 23:09:05 | [Mutex] received everything.

2022-03-24 23:09:05 | [Mutex] isItemNotified: configured:node:node-4e697c58-bf92-4073-bc07-9a78181f1240:node-312461c2-e6e0-4470-aa59-cf05f18aedf9 :: true

2022-03-24 23:09:06 | [Mutex] waiting for: [received:nodes:2cff41a9-d200-4707-8440-e5c5dd47e7f7:localhost]

2022-03-24 23:09:06 | [Mutex] received everything.

2022-03-24 23:09:06 | [Mutex] isItemNotified: received:node:2cff41a9-d200-4707-8440-e5c5dd47e7f7:localhost:node-4e697c58-bf92-4073-bc07-9a78181f1240:Node 4e697c58-bf92-4073-bc07-9a78181f1240 :: true

2022-03-24 23:09:06 | [Mutex] waiting for: [received:nodes:aed3522d-0728-42ff-8fc5-22f8115089c7:localhost]

2022-03-24 23:09:06 | [Mutex] received everything.

2022-03-24 23:09:06 | [Mutex] isItemNotified: received:node:aed3522d-0728-42ff-8fc5-22f8115089c7:localhost:node-4e697c58-bf92-4073-bc07-9a78181f1240:Node 4e697c58-bf92-4073-bc07-9a78181f1240 :: false

createNodes 1.541s
2022-03-24 23:09:03 |

2022-03-24 23:09:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:03 | ------------------------------------

2022-03-24 23:09:03 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4e697c58-bf92-4073-bc07-9a78181f1240</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4e697c58-bf92-4073-bc07-9a78181f1240</title></pubsub></data>

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

2022-03-24 23:09:04 | [Mutex] waiting for: [received:nodes:e54af190-0556-4b06-b04a-984c48a0f3c7:localhost]

2022-03-24 23:09:04 | [Mutex] waiting for: [received:nodes:e54af190-0556-4b06-b04a-984c48a0f3c7:localhost]

2022-03-24 23:09:04 | [Mutex] received everything.

2022-03-24 23:09:04 | [Mutex] isItemNotified: received:node:e54af190-0556-4b06-b04a-984c48a0f3c7:localhost:node-4e697c58-bf92-4073-bc07-9a78181f1240:Node 4e697c58-bf92-4073-bc07-9a78181f1240 :: true

createSubnodes 1.019s
2022-03-24 23:09:04 |

2022-03-24 23:09:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:04 | ------------------------------------

2022-03-24 23:09:04 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-312461c2-e6e0-4470-aa59-cf05f18aedf9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 312461c2-e6e0-4470-aa59-cf05f18aedf9</title></pubsub></data>

2022-03-24 23:09:04 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-03-24 23:09:05 | [Mutex] waiting for: [received:nodes:e508349a-2490-4c6c-bac3-bb448fef77b2:localhost]

2022-03-24 23:09:05 | [Mutex] received everything.

2022-03-24 23:09:05 | [Mutex] isItemNotified: received:node:e508349a-2490-4c6c-bac3-bb448fef77b2:localhost:node-312461c2-e6e0-4470-aa59-cf05f18aedf9:Node 312461c2-e6e0-4470-aa59-cf05f18aedf9 :: true

deleteNodes 1.019s
2022-03-24 23:09:11 |

2022-03-24 23:09:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:11 | ------------------------------------

2022-03-24 23:09:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-312461c2-e6e0-4470-aa59-cf05f18aedf9</node></data>

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

2022-03-24 23:09:12 | [Mutex] waiting for: [received:nodes:4f420313-e27e-4652-8bcf-d2fdf0247a6d:localhost]

2022-03-24 23:09:12 | [Mutex] received everything.

2022-03-24 23:09:12 | [Mutex] isItemNotified: received:node:4f420313-e27e-4652-8bcf-d2fdf0247a6d:localhost:node-312461c2-e6e0-4470-aa59-cf05f18aedf9:Node 312461c2-e6e0-4470-aa59-cf05f18aedf9 :: false

deleteSubnodes 1.113s
2022-03-24 23:09:10 |

2022-03-24 23:09:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:10 | ------------------------------------

2022-03-24 23:09:10 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4e697c58-bf92-4073-bc07-9a78181f1240</node></data>

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

2022-03-24 23:09:11 | [Mutex] waiting for: [received:nodes:259314c5-76fb-4782-a88d-ccd70529c6e5:localhost]

2022-03-24 23:09:11 | [Mutex] received everything.

2022-03-24 23:09:11 | [Mutex] isItemNotified: received:node:259314c5-76fb-4782-a88d-ccd70529c6e5:localhost:node-4e697c58-bf92-4073-bc07-9a78181f1240:Node 4e697c58-bf92-4073-bc07-9a78181f1240 :: false

2022-03-24 23:09:11 | [Mutex] waiting for: [received:nodes:099d6378-7496-48d9-834e-f85d6414294a:localhost]

2022-03-24 23:09:11 | [Mutex] received everything.

2022-03-24 23:09:11 | [Mutex] isItemNotified: received:node:099d6378-7496-48d9-834e-f85d6414294a:localhost:node-4e697c58-bf92-4073-bc07-9a78181f1240:Node 4e697c58-bf92-4073-bc07-9a78181f1240 :: false

publishItemsToNodes 0.233s
2022-03-24 23:09:08 |

2022-03-24 23:09:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:08 | ------------------------------------

2022-03-24 23:09:08 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4e697c58-bf92-4073-bc07-9a78181f1240</node><item-id>item-f325899f-e05c-4a77-b949-44e3be997c4b</item-id><entry><test>item-f325899f-e05c-4a77-b949-44e3be997c4b</test></entry></data>

2022-03-24 23:09:08 | 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-f325899f-e05c-4a77-b949-44e3be997c4b</value></item-id></result>

2022-03-24 23:09:08 | [Mutex] received everything.

2022-03-24 23:09:08 | [Mutex] isItemNotified: published:item:notifieditem-f325899f-e05c-4a77-b949-44e3be997c4b:admin@test-domain.com :: true

retractItemsFromNodes 0.331s
2022-03-24 23:09:08 |

2022-03-24 23:09:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:08 | ------------------------------------

2022-03-24 23:09:08 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4e697c58-bf92-4073-bc07-9a78181f1240</node><item-id>item-f325899f-e05c-4a77-b949-44e3be997c4b</item-id></data>

2022-03-24 23:09:08 | 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-f325899f-e05c-4a77-b949-44e3be997c4b</value></item-id></result>

2022-03-24 23:09:08 | [Mutex] waiting for: [retracted:item:notifieditem-f325899f-e05c-4a77-b949-44e3be997c4b:admin@test-domain.com]

2022-03-24 23:09:08 | [Mutex] received everything.

2022-03-24 23:09:08 | [Mutex] isItemNotified: retracted:item:notifieditem-f325899f-e05c-4a77-b949-44e3be997c4b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.201s
2022-03-24 23:09:08 |

2022-03-24 23:09:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:08 | ------------------------------------

2022-03-24 23:09:08 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4e697c58-bf92-4073-bc07-9a78181f1240</node><item-id>item-f325899f-e05c-4a77-b949-44e3be997c4b</item-id></data>

2022-03-24 23:09:08 | 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-4e697c58-bf92-4073-bc07-9a78181f1240</value></node><item-id label="Item ID" type="text-single"><value>item-f325899f-e05c-4a77-b949-44e3be997c4b</value></item-id><item label="Item" type="text-multi"><value><item id="item-f325899f-e05c-4a77-b949-44e3be997c4b"><test>item-f325899f-e05c-4a77-b949-44e3be997c4b</test></item></value></item></result>

2022-03-24 23:09:08 | [Mutex] notify: [retrieved:item:item-f325899f-e05c-4a77-b949-44e3be997c4b:payload-matches:true:localhost]

2022-03-24 23:09:08 | [Mutex] received everything.

2022-03-24 23:09:08 | [Mutex] isItemNotified: retrieved:item:item-f325899f-e05c-4a77-b949-44e3be997c4b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-03-24 23:09:08 |

2022-03-24 23:09:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:08 | ------------------------------------

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

2022-03-24 23:09:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-4e697c58-bf92-4073-bc07-9a78181f1240</value><value>test</value><value>node-312461c2-e6e0-4470-aa59-cf05f18aedf9</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-03-24 23:09:08 |

2022-03-24 23:09:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:08 | ------------------------------------

2022-03-24 23:09:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4e697c58-bf92-4073-bc07-9a78181f1240)</node-pattern></data>

2022-03-24 23:09:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.151s
2022-03-24 23:09:06 |

2022-03-24 23:09:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:06 | ------------------------------------

2022-03-24 23:09:06 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4e697c58-bf92-4073-bc07-9a78181f1240</node><jids><value>admin@test-domain.com</value></jids></data>

2022-03-24 23:09:07 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.125s
2022-03-24 23:09:08 |

2022-03-24 23:09:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-03-24 23:09:08 | ------------------------------------

2022-03-24 23:09:08 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4e697c58-bf92-4073-bc07-9a78181f1240</node><jids><value>admin@test-domain.com</value></jids></data>

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