Generated by TestNG with ReportNG at 22:41 PDT on Sunday 25 April 2021
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / 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 : 10.365s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2021-04-25 22:57:54 |

2021-04-25 22:57:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:54 | ------------------------------------

2021-04-25 22:57:54 | [Mutex] waiting for: [configured:node:node-0929b0c5-4419-418f-8e64-e00772efa0b2:node-8da73894-d234-4e42-a08a-c9c4eee272cf]

2021-04-25 22:57:55 | [Mutex] received everything.

2021-04-25 22:57:55 | [Mutex] isItemNotified: configured:node:node-0929b0c5-4419-418f-8e64-e00772efa0b2:node-8da73894-d234-4e42-a08a-c9c4eee272cf :: true

2021-04-25 22:57:56 | [Mutex] waiting for: [received:nodes:9fdf81b9-d78b-48f8-ade7-80bfad8469da:localhost]

2021-04-25 22:57:56 | [Mutex] received everything.

2021-04-25 22:57:56 | [Mutex] isItemNotified: received:node:9fdf81b9-d78b-48f8-ade7-80bfad8469da:localhost:node-0929b0c5-4419-418f-8e64-e00772efa0b2:Node 0929b0c5-4419-418f-8e64-e00772efa0b2 :: true

2021-04-25 22:57:56 | [Mutex] waiting for: [received:nodes:7204f2b8-ad37-42a4-b8b0-f94b0e707e97:localhost]

2021-04-25 22:57:56 | [Mutex] waiting for: [received:nodes:7204f2b8-ad37-42a4-b8b0-f94b0e707e97:localhost]

2021-04-25 22:57:56 | [Mutex] received everything.

2021-04-25 22:57:56 | [Mutex] isItemNotified: received:node:7204f2b8-ad37-42a4-b8b0-f94b0e707e97:localhost:node-0929b0c5-4419-418f-8e64-e00772efa0b2:Node 0929b0c5-4419-418f-8e64-e00772efa0b2 :: false

createNodes 1.636s
2021-04-25 22:57:52 |

2021-04-25 22:57:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:52 | ------------------------------------

2021-04-25 22:57:52 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0929b0c5-4419-418f-8e64-e00772efa0b2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0929b0c5-4419-418f-8e64-e00772efa0b2</title></pubsub></data>

2021-04-25 22:57:52 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-25 22:57:53 | [Mutex] waiting for: [received:nodes:10b5ecb0-164a-43b5-938f-8f058aa92e34:localhost]

2021-04-25 22:57:53 | [Mutex] waiting for: [received:nodes:10b5ecb0-164a-43b5-938f-8f058aa92e34:localhost]

2021-04-25 22:57:53 | [Mutex] waiting for: [received:nodes:10b5ecb0-164a-43b5-938f-8f058aa92e34:localhost]

2021-04-25 22:57:53 | [Mutex] received everything.

2021-04-25 22:57:53 | [Mutex] isItemNotified: received:node:10b5ecb0-164a-43b5-938f-8f058aa92e34:localhost:node-0929b0c5-4419-418f-8e64-e00772efa0b2:Node 0929b0c5-4419-418f-8e64-e00772efa0b2 :: true

createSubnodes 1.047s
2021-04-25 22:57:53 |

2021-04-25 22:57:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:53 | ------------------------------------

2021-04-25 22:57:53 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8da73894-d234-4e42-a08a-c9c4eee272cf</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8da73894-d234-4e42-a08a-c9c4eee272cf</title></pubsub></data>

2021-04-25 22:57:53 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-25 22:57:54 | [Mutex] waiting for: [received:nodes:ca0c95ea-20ed-45fe-be17-5715c5c6f8ff:localhost]

2021-04-25 22:57:54 | [Mutex] received everything.

2021-04-25 22:57:54 | [Mutex] isItemNotified: received:node:ca0c95ea-20ed-45fe-be17-5715c5c6f8ff:localhost:node-8da73894-d234-4e42-a08a-c9c4eee272cf:Node 8da73894-d234-4e42-a08a-c9c4eee272cf :: true

deleteNodes 1.033s
2021-04-25 22:58:00 |

2021-04-25 22:58:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:58:00 | ------------------------------------

2021-04-25 22:58:00 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8da73894-d234-4e42-a08a-c9c4eee272cf</node></data>

2021-04-25 22:58:00 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-25 22:58:01 | [Mutex] waiting for: [received:nodes:0e577f56-e152-40b7-aaa9-4d27ccebdb08:localhost]

2021-04-25 22:58:01 | [Mutex] received everything.

2021-04-25 22:58:01 | [Mutex] isItemNotified: received:node:0e577f56-e152-40b7-aaa9-4d27ccebdb08:localhost:node-8da73894-d234-4e42-a08a-c9c4eee272cf:Node 8da73894-d234-4e42-a08a-c9c4eee272cf :: false

deleteSubnodes 1.166s
2021-04-25 22:57:59 |

2021-04-25 22:57:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:59 | ------------------------------------

2021-04-25 22:57:59 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0929b0c5-4419-418f-8e64-e00772efa0b2</node></data>

2021-04-25 22:57:59 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-25 22:58:00 | [Mutex] waiting for: [received:nodes:72d2c355-4528-447a-837e-9182df2f56ca:localhost]

2021-04-25 22:58:00 | [Mutex] received everything.

2021-04-25 22:58:00 | [Mutex] isItemNotified: received:node:72d2c355-4528-447a-837e-9182df2f56ca:localhost:node-0929b0c5-4419-418f-8e64-e00772efa0b2:Node 0929b0c5-4419-418f-8e64-e00772efa0b2 :: false

2021-04-25 22:58:00 | [Mutex] waiting for: [received:nodes:b1a7636e-de69-41de-be42-85d2c76e506d:localhost]

2021-04-25 22:58:00 | [Mutex] received everything.

2021-04-25 22:58:00 | [Mutex] isItemNotified: received:node:b1a7636e-de69-41de-be42-85d2c76e506d:localhost:node-0929b0c5-4419-418f-8e64-e00772efa0b2:Node 0929b0c5-4419-418f-8e64-e00772efa0b2 :: false

publishItemsToNodes 0.239s
2021-04-25 22:57:57 |

2021-04-25 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:57 | ------------------------------------

2021-04-25 22:57:57 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0929b0c5-4419-418f-8e64-e00772efa0b2</node><item-id>item-bf868507-7f75-4d34-8937-2d82b5171a6b</item-id><entry><test>item-bf868507-7f75-4d34-8937-2d82b5171a6b</test></entry></data>

2021-04-25 22:57:57 | 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-bf868507-7f75-4d34-8937-2d82b5171a6b</value></item-id></result>

2021-04-25 22:57:57 | [Mutex] waiting for: [published:item:notifieditem-bf868507-7f75-4d34-8937-2d82b5171a6b:admin@test-domain.com]

2021-04-25 22:57:57 | [Mutex] received everything.

2021-04-25 22:57:57 | [Mutex] isItemNotified: published:item:notifieditem-bf868507-7f75-4d34-8937-2d82b5171a6b:admin@test-domain.com :: true

retractItemsFromNodes 0.292s
2021-04-25 22:57:58 |

2021-04-25 22:57:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:58 | ------------------------------------

2021-04-25 22:57:58 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0929b0c5-4419-418f-8e64-e00772efa0b2</node><item-id>item-bf868507-7f75-4d34-8937-2d82b5171a6b</item-id></data>

2021-04-25 22:57:58 | 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-bf868507-7f75-4d34-8937-2d82b5171a6b</value></item-id></result>

2021-04-25 22:57:58 | [Mutex] waiting for: [retracted:item:notifieditem-bf868507-7f75-4d34-8937-2d82b5171a6b:admin@test-domain.com]

2021-04-25 22:57:58 | [Mutex] received everything.

2021-04-25 22:57:58 | [Mutex] isItemNotified: retracted:item:notifieditem-bf868507-7f75-4d34-8937-2d82b5171a6b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.368s
2021-04-25 22:57:57 |

2021-04-25 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:57 | ------------------------------------

2021-04-25 22:57:57 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0929b0c5-4419-418f-8e64-e00772efa0b2</node><item-id>item-bf868507-7f75-4d34-8937-2d82b5171a6b</item-id></data>

2021-04-25 22:57:57 | 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-0929b0c5-4419-418f-8e64-e00772efa0b2</value></node><item-id label="Item ID" type="text-single"><value>item-bf868507-7f75-4d34-8937-2d82b5171a6b</value></item-id><item label="Item" type="text-multi"><value><item id="item-bf868507-7f75-4d34-8937-2d82b5171a6b"><test>item-bf868507-7f75-4d34-8937-2d82b5171a6b</test></item></value></item></result>

2021-04-25 22:57:57 | [Mutex] notify: [retrieved:item:item-bf868507-7f75-4d34-8937-2d82b5171a6b:payload-matches:true:localhost]

2021-04-25 22:57:57 | [Mutex] received everything.

2021-04-25 22:57:57 | [Mutex] isItemNotified: retrieved:item:item-bf868507-7f75-4d34-8937-2d82b5171a6b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-04-25 22:57:57 |

2021-04-25 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:57 | ------------------------------------

2021-04-25 22:57:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-25 22:57:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-8da73894-d234-4e42-a08a-c9c4eee272cf</value><value>node-0929b0c5-4419-418f-8e64-e00772efa0b2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-25 22:57:57 |

2021-04-25 22:57:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:57 | ------------------------------------

2021-04-25 22:57:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0929b0c5-4419-418f-8e64-e00772efa0b2)</node-pattern></data>

2021-04-25 22:57:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.187s
2021-04-25 22:57:56 |

2021-04-25 22:57:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:56 | ------------------------------------

2021-04-25 22:57:56 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0929b0c5-4419-418f-8e64-e00772efa0b2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-25 22:57:56 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.198s
2021-04-25 22:57:58 |

2021-04-25 22:57:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-25 22:57:58 | ------------------------------------

2021-04-25 22:57:58 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0929b0c5-4419-418f-8e64-e00772efa0b2</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-25 22:57:58 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>