Generated by TestNG with ReportNG at 22:51 PDT on Thursday 29 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.349s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.175s
2021-04-29 23:07:00 |

2021-04-29 23:07:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:00 | ------------------------------------

2021-04-29 23:07:00 | [Mutex] waiting for: [configured:node:node-b531d1b3-ccc8-4228-8953-c290cd494941:node-6b5e00fa-0bfe-4d6f-b972-52d7786c9200]

2021-04-29 23:07:00 | [Mutex] received everything.

2021-04-29 23:07:00 | [Mutex] isItemNotified: configured:node:node-b531d1b3-ccc8-4228-8953-c290cd494941:node-6b5e00fa-0bfe-4d6f-b972-52d7786c9200 :: true

2021-04-29 23:07:01 | [Mutex] waiting for: [received:nodes:338ca3f9-b057-431d-9aee-c9073f379889:localhost]

2021-04-29 23:07:01 | [Mutex] received everything.

2021-04-29 23:07:01 | [Mutex] isItemNotified: received:node:338ca3f9-b057-431d-9aee-c9073f379889:localhost:node-b531d1b3-ccc8-4228-8953-c290cd494941:Node b531d1b3-ccc8-4228-8953-c290cd494941 :: true

2021-04-29 23:07:01 | [Mutex] waiting for: [received:nodes:fee1751f-421b-4c82-a59c-fc0a8730187b:localhost]

2021-04-29 23:07:01 | [Mutex] received everything.

2021-04-29 23:07:01 | [Mutex] isItemNotified: received:node:fee1751f-421b-4c82-a59c-fc0a8730187b:localhost:node-b531d1b3-ccc8-4228-8953-c290cd494941:Node b531d1b3-ccc8-4228-8953-c290cd494941 :: false

createNodes 1.618s
2021-04-29 23:06:57 |

2021-04-29 23:06:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:57 | ------------------------------------

2021-04-29 23:06:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b531d1b3-ccc8-4228-8953-c290cd494941</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b531d1b3-ccc8-4228-8953-c290cd494941</title></pubsub></data>

2021-04-29 23:06:58 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-29 23:06:59 | [Mutex] waiting for: [received:nodes:682aff29-9844-4551-a7ee-5199b1e11b12:localhost]

2021-04-29 23:06:59 | [Mutex] received everything.

2021-04-29 23:06:59 | [Mutex] isItemNotified: received:node:682aff29-9844-4551-a7ee-5199b1e11b12:localhost:node-b531d1b3-ccc8-4228-8953-c290cd494941:Node b531d1b3-ccc8-4228-8953-c290cd494941 :: true

createSubnodes 1.032s
2021-04-29 23:06:59 |

2021-04-29 23:06:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:06:59 | ------------------------------------

2021-04-29 23:06:59 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6b5e00fa-0bfe-4d6f-b972-52d7786c9200</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6b5e00fa-0bfe-4d6f-b972-52d7786c9200</title></pubsub></data>

2021-04-29 23:06:59 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-29 23:07:00 | [Mutex] waiting for: [received:nodes:c5d2fb3a-5c7a-4749-8b09-4be10ad1d21d:localhost]

2021-04-29 23:07:00 | [Mutex] received everything.

2021-04-29 23:07:00 | [Mutex] isItemNotified: received:node:c5d2fb3a-5c7a-4749-8b09-4be10ad1d21d:localhost:node-6b5e00fa-0bfe-4d6f-b972-52d7786c9200:Node 6b5e00fa-0bfe-4d6f-b972-52d7786c9200 :: true

deleteNodes 1.017s
2021-04-29 23:07:06 |

2021-04-29 23:07:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:06 | ------------------------------------

2021-04-29 23:07:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6b5e00fa-0bfe-4d6f-b972-52d7786c9200</node></data>

2021-04-29 23:07:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-29 23:07:07 | [Mutex] waiting for: [received:nodes:deebda3d-d158-42bb-beac-add2c60c8862:localhost]

2021-04-29 23:07:07 | [Mutex] waiting for: [received:nodes:deebda3d-d158-42bb-beac-add2c60c8862:localhost]

2021-04-29 23:07:07 | [Mutex] received everything.

2021-04-29 23:07:07 | [Mutex] isItemNotified: received:node:deebda3d-d158-42bb-beac-add2c60c8862:localhost:node-6b5e00fa-0bfe-4d6f-b972-52d7786c9200:Node 6b5e00fa-0bfe-4d6f-b972-52d7786c9200 :: false

deleteSubnodes 1.166s
2021-04-29 23:07:05 |

2021-04-29 23:07:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:05 | ------------------------------------

2021-04-29 23:07:05 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b531d1b3-ccc8-4228-8953-c290cd494941</node></data>

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

2021-04-29 23:07:06 | [Mutex] waiting for: [received:nodes:36f661ec-d4b5-49ba-82ff-db54bc37ff24:localhost]

2021-04-29 23:07:06 | [Mutex] received everything.

2021-04-29 23:07:06 | [Mutex] isItemNotified: received:node:36f661ec-d4b5-49ba-82ff-db54bc37ff24:localhost:node-b531d1b3-ccc8-4228-8953-c290cd494941:Node b531d1b3-ccc8-4228-8953-c290cd494941 :: false

2021-04-29 23:07:06 | [Mutex] waiting for: [received:nodes:d60c0301-9ae9-4634-aa18-ae4ae8ecbc2b:localhost]

2021-04-29 23:07:06 | [Mutex] received everything.

2021-04-29 23:07:06 | [Mutex] isItemNotified: received:node:d60c0301-9ae9-4634-aa18-ae4ae8ecbc2b:localhost:node-b531d1b3-ccc8-4228-8953-c290cd494941:Node b531d1b3-ccc8-4228-8953-c290cd494941 :: false

publishItemsToNodes 0.259s
2021-04-29 23:07:02 |

2021-04-29 23:07:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:02 | ------------------------------------

2021-04-29 23:07:02 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-b531d1b3-ccc8-4228-8953-c290cd494941</node><item-id>item-9c35b738-ed6d-4322-be7e-c81078f0669a</item-id><entry><test>item-9c35b738-ed6d-4322-be7e-c81078f0669a</test></entry></data>

2021-04-29 23:07:03 | 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-9c35b738-ed6d-4322-be7e-c81078f0669a</value></item-id></result>

2021-04-29 23:07:03 | [Mutex] received everything.

2021-04-29 23:07:03 | [Mutex] isItemNotified: published:item:notifieditem-9c35b738-ed6d-4322-be7e-c81078f0669a:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2021-04-29 23:07:03 |

2021-04-29 23:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:03 | ------------------------------------

2021-04-29 23:07:03 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-b531d1b3-ccc8-4228-8953-c290cd494941</node><item-id>item-9c35b738-ed6d-4322-be7e-c81078f0669a</item-id></data>

2021-04-29 23:07:03 | 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-9c35b738-ed6d-4322-be7e-c81078f0669a</value></item-id></result>

2021-04-29 23:07:03 | [Mutex] received everything.

2021-04-29 23:07:03 | [Mutex] isItemNotified: retracted:item:notifieditem-9c35b738-ed6d-4322-be7e-c81078f0669a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.336s
2021-04-29 23:07:03 |

2021-04-29 23:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:03 | ------------------------------------

2021-04-29 23:07:03 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-b531d1b3-ccc8-4228-8953-c290cd494941</node><item-id>item-9c35b738-ed6d-4322-be7e-c81078f0669a</item-id></data>

2021-04-29 23:07:03 | 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-b531d1b3-ccc8-4228-8953-c290cd494941</value></node><item-id label="Item ID" type="text-single"><value>item-9c35b738-ed6d-4322-be7e-c81078f0669a</value></item-id><item label="Item" type="text-multi"><value><item id="item-9c35b738-ed6d-4322-be7e-c81078f0669a"><test>item-9c35b738-ed6d-4322-be7e-c81078f0669a</test></item></value></item></result>

2021-04-29 23:07:03 | [Mutex] notify: [retrieved:item:item-9c35b738-ed6d-4322-be7e-c81078f0669a:payload-matches:true:localhost]

2021-04-29 23:07:03 | [Mutex] received everything.

2021-04-29 23:07:03 | [Mutex] isItemNotified: retrieved:item:item-9c35b738-ed6d-4322-be7e-c81078f0669a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-04-29 23:07:03 |

2021-04-29 23:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:03 | ------------------------------------

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

2021-04-29 23:07:03 | 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-b531d1b3-ccc8-4228-8953-c290cd494941</value><value>node-6b5e00fa-0bfe-4d6f-b972-52d7786c9200</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-29 23:07:03 |

2021-04-29 23:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:03 | ------------------------------------

2021-04-29 23:07:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b531d1b3-ccc8-4228-8953-c290cd494941)</node-pattern></data>

2021-04-29 23:07:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.193s
2021-04-29 23:07:01 |

2021-04-29 23:07:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:01 | ------------------------------------

2021-04-29 23:07:01 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-b531d1b3-ccc8-4228-8953-c290cd494941</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-29 23:07:01 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.291s
2021-04-29 23:07:03 |

2021-04-29 23:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-29 23:07:03 | ------------------------------------

2021-04-29 23:07:03 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-b531d1b3-ccc8-4228-8953-c290cd494941</node><jids><value>admin@test-domain.com</value></jids></data>

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