Generated by TestNG with ReportNG at 22:25 PDT on Thursday 08 October 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 : 9.880s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.139s
2020-10-08 22:41:58 |

2020-10-08 22:41:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:41:58 | ------------------------------------

2020-10-08 22:41:58 | [Mutex] waiting for: [configured:node:node-4e401d5b-346f-4df7-b963-44c038995fa7:node-9ef02a64-9e04-4ce0-b553-3f52fc8c7e61]

2020-10-08 22:41:59 | [Mutex] received everything.

2020-10-08 22:41:59 | [Mutex] isItemNotified: configured:node:node-4e401d5b-346f-4df7-b963-44c038995fa7:node-9ef02a64-9e04-4ce0-b553-3f52fc8c7e61 :: true

2020-10-08 22:42:00 | [Mutex] waiting for: [received:nodes:ea042132-32e2-4b0f-98e3-73deec115dc8:localhost]

2020-10-08 22:42:00 | [Mutex] received everything.

2020-10-08 22:42:00 | [Mutex] isItemNotified: received:node:ea042132-32e2-4b0f-98e3-73deec115dc8:localhost:node-4e401d5b-346f-4df7-b963-44c038995fa7:Node 4e401d5b-346f-4df7-b963-44c038995fa7 :: true

2020-10-08 22:42:00 | [Mutex] waiting for: [received:nodes:f925e265-a35e-440c-9cbb-afbd0af1e0be:localhost]

2020-10-08 22:42:00 | [Mutex] received everything.

2020-10-08 22:42:00 | [Mutex] isItemNotified: received:node:f925e265-a35e-440c-9cbb-afbd0af1e0be:localhost:node-4e401d5b-346f-4df7-b963-44c038995fa7:Node 4e401d5b-346f-4df7-b963-44c038995fa7 :: false

createNodes 1.410s
2020-10-08 22:41:56 |

2020-10-08 22:41:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:41:56 | ------------------------------------

2020-10-08 22:41:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4e401d5b-346f-4df7-b963-44c038995fa7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4e401d5b-346f-4df7-b963-44c038995fa7</title></pubsub></data>

2020-10-08 22:41:56 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-08 22:41:57 | [Mutex] waiting for: [received:nodes:f3997304-3b54-40cb-b234-661e3653175a:localhost]

2020-10-08 22:41:57 | [Mutex] received everything.

2020-10-08 22:41:57 | [Mutex] isItemNotified: received:node:f3997304-3b54-40cb-b234-661e3653175a:localhost:node-4e401d5b-346f-4df7-b963-44c038995fa7:Node 4e401d5b-346f-4df7-b963-44c038995fa7 :: true

createSubnodes 1.028s
2020-10-08 22:41:57 |

2020-10-08 22:41:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:41:57 | ------------------------------------

2020-10-08 22:41:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-9ef02a64-9e04-4ce0-b553-3f52fc8c7e61</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9ef02a64-9e04-4ce0-b553-3f52fc8c7e61</title></pubsub></data>

2020-10-08 22:41:57 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-08 22:41:58 | [Mutex] waiting for: [received:nodes:a52c2190-959b-4252-9a3a-4a805760e314:localhost]

2020-10-08 22:41:58 | [Mutex] waiting for: [received:nodes:a52c2190-959b-4252-9a3a-4a805760e314:localhost]

2020-10-08 22:41:58 | [Mutex] received everything.

2020-10-08 22:41:58 | [Mutex] isItemNotified: received:node:a52c2190-959b-4252-9a3a-4a805760e314:localhost:node-9ef02a64-9e04-4ce0-b553-3f52fc8c7e61:Node 9ef02a64-9e04-4ce0-b553-3f52fc8c7e61 :: true

deleteNodes 1.021s
2020-10-08 22:42:04 |

2020-10-08 22:42:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:42:04 | ------------------------------------

2020-10-08 22:42:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-9ef02a64-9e04-4ce0-b553-3f52fc8c7e61</node></data>

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

2020-10-08 22:42:05 | [Mutex] waiting for: [received:nodes:7bdae608-3c88-4e2d-8cdd-99f4f5190941:localhost]

2020-10-08 22:42:05 | [Mutex] received everything.

2020-10-08 22:42:05 | [Mutex] isItemNotified: received:node:7bdae608-3c88-4e2d-8cdd-99f4f5190941:localhost:node-9ef02a64-9e04-4ce0-b553-3f52fc8c7e61:Node 9ef02a64-9e04-4ce0-b553-3f52fc8c7e61 :: false

deleteSubnodes 1.114s
2020-10-08 22:42:03 |

2020-10-08 22:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:42:03 | ------------------------------------

2020-10-08 22:42:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4e401d5b-346f-4df7-b963-44c038995fa7</node></data>

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

2020-10-08 22:42:04 | [Mutex] waiting for: [received:nodes:609b18e4-2d8e-4ff9-8493-d7c10e99911e:localhost]

2020-10-08 22:42:04 | [Mutex] received everything.

2020-10-08 22:42:04 | [Mutex] isItemNotified: received:node:609b18e4-2d8e-4ff9-8493-d7c10e99911e:localhost:node-4e401d5b-346f-4df7-b963-44c038995fa7:Node 4e401d5b-346f-4df7-b963-44c038995fa7 :: false

2020-10-08 22:42:04 | [Mutex] waiting for: [received:nodes:5b9b28c4-1eff-4d62-b5bc-5e9ea74e0e90:localhost]

2020-10-08 22:42:04 | [Mutex] received everything.

2020-10-08 22:42:04 | [Mutex] isItemNotified: received:node:5b9b28c4-1eff-4d62-b5bc-5e9ea74e0e90:localhost:node-4e401d5b-346f-4df7-b963-44c038995fa7:Node 4e401d5b-346f-4df7-b963-44c038995fa7 :: false

publishItemsToNodes 0.255s
2020-10-08 22:42:01 |

2020-10-08 22:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:42:01 | ------------------------------------

2020-10-08 22:42:01 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4e401d5b-346f-4df7-b963-44c038995fa7</node><item-id>item-c6bf7e35-ea74-4b50-801a-2b7105749272</item-id><entry><test>item-c6bf7e35-ea74-4b50-801a-2b7105749272</test></entry></data>

2020-10-08 22:42:01 | 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-c6bf7e35-ea74-4b50-801a-2b7105749272</value></item-id></result>

2020-10-08 22:42:01 | [Mutex] received everything.

2020-10-08 22:42:01 | [Mutex] isItemNotified: published:item:notifieditem-c6bf7e35-ea74-4b50-801a-2b7105749272:admin@test-domain.com :: true

retractItemsFromNodes 0.217s
2020-10-08 22:42:01 |

2020-10-08 22:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:42:01 | ------------------------------------

2020-10-08 22:42:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4e401d5b-346f-4df7-b963-44c038995fa7</node><item-id>item-c6bf7e35-ea74-4b50-801a-2b7105749272</item-id></data>

2020-10-08 22:42:02 | 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-c6bf7e35-ea74-4b50-801a-2b7105749272</value></item-id></result>

2020-10-08 22:42:02 | [Mutex] waiting for: [retracted:item:notifieditem-c6bf7e35-ea74-4b50-801a-2b7105749272:admin@test-domain.com]

2020-10-08 22:42:02 | [Mutex] received everything.

2020-10-08 22:42:02 | [Mutex] isItemNotified: retracted:item:notifieditem-c6bf7e35-ea74-4b50-801a-2b7105749272:admin@test-domain.com :: true

retrieveItemsFromNodes 0.213s
2020-10-08 22:42:01 |

2020-10-08 22:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:42:01 | ------------------------------------

2020-10-08 22:42:01 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4e401d5b-346f-4df7-b963-44c038995fa7</node><item-id>item-c6bf7e35-ea74-4b50-801a-2b7105749272</item-id></data>

2020-10-08 22:42:01 | 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-4e401d5b-346f-4df7-b963-44c038995fa7</value></node><item-id label="Item ID" type="text-single"><value>item-c6bf7e35-ea74-4b50-801a-2b7105749272</value></item-id><item label="Item" type="text-multi"><value><item id="item-c6bf7e35-ea74-4b50-801a-2b7105749272"><test>item-c6bf7e35-ea74-4b50-801a-2b7105749272</test></item></value></item></result>

2020-10-08 22:42:01 | [Mutex] notify: [retrieved:item:item-c6bf7e35-ea74-4b50-801a-2b7105749272:payload-matches:true:localhost]

2020-10-08 22:42:01 | [Mutex] received everything.

2020-10-08 22:42:01 | [Mutex] isItemNotified: retrieved:item:item-c6bf7e35-ea74-4b50-801a-2b7105749272:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-08 22:42:01 |

2020-10-08 22:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:42:01 | ------------------------------------

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

2020-10-08 22:42:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-4e401d5b-346f-4df7-b963-44c038995fa7</value><value>test</value><value>node-9ef02a64-9e04-4ce0-b553-3f52fc8c7e61</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.063s
2020-10-08 22:42:01 |

2020-10-08 22:42:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:42:01 | ------------------------------------

2020-10-08 22:42:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4e401d5b-346f-4df7-b963-44c038995fa7)</node-pattern></data>

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

subscribeNodes 1.113s
2020-10-08 22:42:00 |

2020-10-08 22:42:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:42:00 | ------------------------------------

2020-10-08 22:42:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4e401d5b-346f-4df7-b963-44c038995fa7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-08 22:42:00 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.285s
2020-10-08 22:42:02 |

2020-10-08 22:42:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-08 22:42:02 | ------------------------------------

2020-10-08 22:42:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4e401d5b-346f-4df7-b963-44c038995fa7</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-08 22:42:02 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>