Generated by TestNG with ReportNG at 21:47 PST on Thursday 19 November 2020
root@43fec6d4badf / 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.011s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.124s
2020-11-19 22:01:47 |

2020-11-19 22:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:47 | ------------------------------------

2020-11-19 22:01:47 | [Mutex] waiting for: [configured:node:node-401fdebc-c1f5-45ee-af74-b0d75b1fa479:node-b04678d2-0fe4-46c1-928b-cacf91e6f8db]

2020-11-19 22:01:47 | [Mutex] received everything.

2020-11-19 22:01:47 | [Mutex] isItemNotified: configured:node:node-401fdebc-c1f5-45ee-af74-b0d75b1fa479:node-b04678d2-0fe4-46c1-928b-cacf91e6f8db :: true

2020-11-19 22:01:48 | [Mutex] waiting for: [received:nodes:b46e72f7-da7f-4c51-8fb1-07b1840129a2:localhost]

2020-11-19 22:01:48 | [Mutex] received everything.

2020-11-19 22:01:48 | [Mutex] isItemNotified: received:node:b46e72f7-da7f-4c51-8fb1-07b1840129a2:localhost:node-401fdebc-c1f5-45ee-af74-b0d75b1fa479:Node 401fdebc-c1f5-45ee-af74-b0d75b1fa479 :: true

2020-11-19 22:01:48 | [Mutex] waiting for: [received:nodes:a3e4714d-07cb-4067-8bef-f589ce334565:localhost]

2020-11-19 22:01:48 | [Mutex] received everything.

2020-11-19 22:01:48 | [Mutex] isItemNotified: received:node:a3e4714d-07cb-4067-8bef-f589ce334565:localhost:node-401fdebc-c1f5-45ee-af74-b0d75b1fa479:Node 401fdebc-c1f5-45ee-af74-b0d75b1fa479 :: false

createNodes 1.352s
2020-11-19 22:01:45 |

2020-11-19 22:01:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:45 | ------------------------------------

2020-11-19 22:01:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-401fdebc-c1f5-45ee-af74-b0d75b1fa479</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 401fdebc-c1f5-45ee-af74-b0d75b1fa479</title></pubsub></data>

2020-11-19 22:01:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-19 22:01:46 | [Mutex] waiting for: [received:nodes:a5a921ff-501a-4e38-80ab-a12167f56592:localhost]

2020-11-19 22:01:46 | [Mutex] received everything.

2020-11-19 22:01:46 | [Mutex] isItemNotified: received:node:a5a921ff-501a-4e38-80ab-a12167f56592:localhost:node-401fdebc-c1f5-45ee-af74-b0d75b1fa479:Node 401fdebc-c1f5-45ee-af74-b0d75b1fa479 :: true

createSubnodes 1.023s
2020-11-19 22:01:46 |

2020-11-19 22:01:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:46 | ------------------------------------

2020-11-19 22:01:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b04678d2-0fe4-46c1-928b-cacf91e6f8db</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b04678d2-0fe4-46c1-928b-cacf91e6f8db</title></pubsub></data>

2020-11-19 22:01:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-19 22:01:47 | [Mutex] waiting for: [received:nodes:0528c6fc-ef4e-4f44-b214-966c4137f3b6:localhost]

2020-11-19 22:01:47 | [Mutex] received everything.

2020-11-19 22:01:47 | [Mutex] isItemNotified: received:node:0528c6fc-ef4e-4f44-b214-966c4137f3b6:localhost:node-b04678d2-0fe4-46c1-928b-cacf91e6f8db:Node b04678d2-0fe4-46c1-928b-cacf91e6f8db :: true

deleteNodes 1.035s
2020-11-19 22:01:53 |

2020-11-19 22:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:53 | ------------------------------------

2020-11-19 22:01:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b04678d2-0fe4-46c1-928b-cacf91e6f8db</node></data>

2020-11-19 22:01:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-19 22:01:54 | [Mutex] waiting for: [received:nodes:3c12fb29-5544-40e6-8780-4eb058473803:localhost]

2020-11-19 22:01:54 | [Mutex] received everything.

2020-11-19 22:01:54 | [Mutex] isItemNotified: received:node:3c12fb29-5544-40e6-8780-4eb058473803:localhost:node-b04678d2-0fe4-46c1-928b-cacf91e6f8db:Node b04678d2-0fe4-46c1-928b-cacf91e6f8db :: false

deleteSubnodes 1.122s
2020-11-19 22:01:52 |

2020-11-19 22:01:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:52 | ------------------------------------

2020-11-19 22:01:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-401fdebc-c1f5-45ee-af74-b0d75b1fa479</node></data>

2020-11-19 22:01:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-19 22:01:53 | [Mutex] waiting for: [received:nodes:38c0accf-dc70-4d79-ad8a-bb44ed2146f2:localhost]

2020-11-19 22:01:53 | [Mutex] received everything.

2020-11-19 22:01:53 | [Mutex] isItemNotified: received:node:38c0accf-dc70-4d79-ad8a-bb44ed2146f2:localhost:node-401fdebc-c1f5-45ee-af74-b0d75b1fa479:Node 401fdebc-c1f5-45ee-af74-b0d75b1fa479 :: false

2020-11-19 22:01:53 | [Mutex] waiting for: [received:nodes:14295c60-5974-4a91-99df-784ee9d181c0:localhost]

2020-11-19 22:01:53 | [Mutex] received everything.

2020-11-19 22:01:53 | [Mutex] isItemNotified: received:node:14295c60-5974-4a91-99df-784ee9d181c0:localhost:node-401fdebc-c1f5-45ee-af74-b0d75b1fa479:Node 401fdebc-c1f5-45ee-af74-b0d75b1fa479 :: false

publishItemsToNodes 0.219s
2020-11-19 22:01:49 |

2020-11-19 22:01:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:49 | ------------------------------------

2020-11-19 22:01:49 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-401fdebc-c1f5-45ee-af74-b0d75b1fa479</node><item-id>item-99b65f7c-f993-41dc-b101-2dd2ad454609</item-id><entry><test>item-99b65f7c-f993-41dc-b101-2dd2ad454609</test></entry></data>

2020-11-19 22:01:50 | 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-99b65f7c-f993-41dc-b101-2dd2ad454609</value></item-id></result>

2020-11-19 22:01:50 | [Mutex] received everything.

2020-11-19 22:01:50 | [Mutex] isItemNotified: published:item:notifieditem-99b65f7c-f993-41dc-b101-2dd2ad454609:admin@test-domain.com :: true

retractItemsFromNodes 0.320s
2020-11-19 22:01:50 |

2020-11-19 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:50 | ------------------------------------

2020-11-19 22:01:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-401fdebc-c1f5-45ee-af74-b0d75b1fa479</node><item-id>item-99b65f7c-f993-41dc-b101-2dd2ad454609</item-id></data>

2020-11-19 22:01:50 | 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-99b65f7c-f993-41dc-b101-2dd2ad454609</value></item-id></result>

2020-11-19 22:01:50 | [Mutex] received everything.

2020-11-19 22:01:50 | [Mutex] isItemNotified: retracted:item:notifieditem-99b65f7c-f993-41dc-b101-2dd2ad454609:admin@test-domain.com :: true

retrieveItemsFromNodes 0.289s
2020-11-19 22:01:50 |

2020-11-19 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:50 | ------------------------------------

2020-11-19 22:01:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-401fdebc-c1f5-45ee-af74-b0d75b1fa479</node><item-id>item-99b65f7c-f993-41dc-b101-2dd2ad454609</item-id></data>

2020-11-19 22:01:50 | 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-401fdebc-c1f5-45ee-af74-b0d75b1fa479</value></node><item-id type="text-single" label="Item ID"><value>item-99b65f7c-f993-41dc-b101-2dd2ad454609</value></item-id><item type="text-multi" label="Item"><value><item id="item-99b65f7c-f993-41dc-b101-2dd2ad454609"><test>item-99b65f7c-f993-41dc-b101-2dd2ad454609</test></item></value></item></result>

2020-11-19 22:01:50 | [Mutex] notify: [retrieved:item:item-99b65f7c-f993-41dc-b101-2dd2ad454609:payload-matches:true:localhost]

2020-11-19 22:01:50 | [Mutex] received everything.

2020-11-19 22:01:50 | [Mutex] isItemNotified: retrieved:item:item-99b65f7c-f993-41dc-b101-2dd2ad454609:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-19 22:01:50 |

2020-11-19 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:50 | ------------------------------------

2020-11-19 22:01:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-11-19 22:01:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-b04678d2-0fe4-46c1-928b-cacf91e6f8db</value><value>node-401fdebc-c1f5-45ee-af74-b0d75b1fa479</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-19 22:01:50 |

2020-11-19 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:50 | ------------------------------------

2020-11-19 22:01:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-401fdebc-c1f5-45ee-af74-b0d75b1fa479)</node-pattern></data>

2020-11-19 22:01:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.160s
2020-11-19 22:01:48 |

2020-11-19 22:01:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:48 | ------------------------------------

2020-11-19 22:01:48 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-401fdebc-c1f5-45ee-af74-b0d75b1fa479</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-19 22:01:48 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.339s
2020-11-19 22:01:50 |

2020-11-19 22:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-19 22:01:50 | ------------------------------------

2020-11-19 22:01:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-401fdebc-c1f5-45ee-af74-b0d75b1fa479</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-19 22:01:51 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>