Generated by TestNG with ReportNG at 21:45 PST on Tuesday 26 January 2021
root@eaa73862192b / 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.910s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2021-01-26 22:01:22 |

2021-01-26 22:01:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:01:22 | ------------------------------------

2021-01-26 22:01:22 | [Mutex] waiting for: [configured:node:node-5d675e01-6d2c-4e15-871f-405659abf9be:node-e2d512ce-c840-4b24-aa22-b828be52afd2]

2021-01-26 22:01:22 | [Mutex] received everything.

2021-01-26 22:01:22 | [Mutex] isItemNotified: configured:node:node-5d675e01-6d2c-4e15-871f-405659abf9be:node-e2d512ce-c840-4b24-aa22-b828be52afd2 :: true

2021-01-26 22:01:23 | [Mutex] waiting for: [received:nodes:48f1de37-d6c2-4ff1-9cf1-62650913102b:localhost]

2021-01-26 22:01:23 | [Mutex] waiting for: [received:nodes:48f1de37-d6c2-4ff1-9cf1-62650913102b:localhost]

2021-01-26 22:01:23 | [Mutex] received everything.

2021-01-26 22:01:23 | [Mutex] isItemNotified: received:node:48f1de37-d6c2-4ff1-9cf1-62650913102b:localhost:node-5d675e01-6d2c-4e15-871f-405659abf9be:Node 5d675e01-6d2c-4e15-871f-405659abf9be :: true

2021-01-26 22:01:23 | [Mutex] waiting for: [received:nodes:dcab6189-7b87-4766-a159-159e43143510:localhost]

2021-01-26 22:01:23 | [Mutex] waiting for: [received:nodes:dcab6189-7b87-4766-a159-159e43143510:localhost]

2021-01-26 22:01:23 | [Mutex] received everything.

2021-01-26 22:01:23 | [Mutex] isItemNotified: received:node:dcab6189-7b87-4766-a159-159e43143510:localhost:node-5d675e01-6d2c-4e15-871f-405659abf9be:Node 5d675e01-6d2c-4e15-871f-405659abf9be :: false

createNodes 1.437s
2021-01-26 22:01:19 |

2021-01-26 22:01:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:01:19 | ------------------------------------

2021-01-26 22:01:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5d675e01-6d2c-4e15-871f-405659abf9be</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5d675e01-6d2c-4e15-871f-405659abf9be</title></pubsub></data>

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

2021-01-26 22:01:21 | [Mutex] waiting for: [received:nodes:642c7a9c-f7df-4fee-b81c-9cbb5f0a340e:localhost]

2021-01-26 22:01:21 | [Mutex] waiting for: [received:nodes:642c7a9c-f7df-4fee-b81c-9cbb5f0a340e:localhost]

2021-01-26 22:01:21 | [Mutex] received everything.

2021-01-26 22:01:21 | [Mutex] isItemNotified: received:node:642c7a9c-f7df-4fee-b81c-9cbb5f0a340e:localhost:node-5d675e01-6d2c-4e15-871f-405659abf9be:Node 5d675e01-6d2c-4e15-871f-405659abf9be :: true

createSubnodes 1.033s
2021-01-26 22:01:21 |

2021-01-26 22:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:01:21 | ------------------------------------

2021-01-26 22:01:21 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e2d512ce-c840-4b24-aa22-b828be52afd2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e2d512ce-c840-4b24-aa22-b828be52afd2</title></pubsub></data>

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

2021-01-26 22:01:22 | [Mutex] waiting for: [received:nodes:5dd3ea5d-346c-4a03-bf74-0b49f898b2dd:localhost]

2021-01-26 22:01:22 | [Mutex] waiting for: [received:nodes:5dd3ea5d-346c-4a03-bf74-0b49f898b2dd:localhost]

2021-01-26 22:01:22 | [Mutex] received everything.

2021-01-26 22:01:22 | [Mutex] isItemNotified: received:node:5dd3ea5d-346c-4a03-bf74-0b49f898b2dd:localhost:node-e2d512ce-c840-4b24-aa22-b828be52afd2:Node e2d512ce-c840-4b24-aa22-b828be52afd2 :: true

deleteNodes 1.025s
2021-01-26 22:01:27 |

2021-01-26 22:01:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:01:27 | ------------------------------------

2021-01-26 22:01:27 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e2d512ce-c840-4b24-aa22-b828be52afd2</node></data>

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

2021-01-26 22:01:28 | [Mutex] waiting for: [received:nodes:52b56eeb-309b-4d08-b548-cc1af9ad0674:localhost]

2021-01-26 22:01:28 | [Mutex] waiting for: [received:nodes:52b56eeb-309b-4d08-b548-cc1af9ad0674:localhost]

2021-01-26 22:01:28 | [Mutex] received everything.

2021-01-26 22:01:28 | [Mutex] isItemNotified: received:node:52b56eeb-309b-4d08-b548-cc1af9ad0674:localhost:node-e2d512ce-c840-4b24-aa22-b828be52afd2:Node e2d512ce-c840-4b24-aa22-b828be52afd2 :: false

deleteSubnodes 1.120s
2021-01-26 22:01:26 |

2021-01-26 22:01:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:01:26 | ------------------------------------

2021-01-26 22:01:26 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5d675e01-6d2c-4e15-871f-405659abf9be</node></data>

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

2021-01-26 22:01:27 | [Mutex] waiting for: [received:nodes:ffc4b216-3ef0-45f5-ac95-fad6721d5547:localhost]

2021-01-26 22:01:27 | [Mutex] received everything.

2021-01-26 22:01:27 | [Mutex] isItemNotified: received:node:ffc4b216-3ef0-45f5-ac95-fad6721d5547:localhost:node-5d675e01-6d2c-4e15-871f-405659abf9be:Node 5d675e01-6d2c-4e15-871f-405659abf9be :: false

2021-01-26 22:01:27 | [Mutex] waiting for: [received:nodes:4e9844fd-a552-4a25-9890-092ae689c16f:localhost]

2021-01-26 22:01:27 | [Mutex] received everything.

2021-01-26 22:01:27 | [Mutex] isItemNotified: received:node:4e9844fd-a552-4a25-9890-092ae689c16f:localhost:node-5d675e01-6d2c-4e15-871f-405659abf9be:Node 5d675e01-6d2c-4e15-871f-405659abf9be :: false

publishItemsToNodes 0.229s
2021-01-26 22:01:24 |

2021-01-26 22:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:01:24 | ------------------------------------

2021-01-26 22:01:24 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5d675e01-6d2c-4e15-871f-405659abf9be</node><item-id>item-8c4fd897-8e1a-419e-ae02-167c5b747eed</item-id><entry><test>item-8c4fd897-8e1a-419e-ae02-167c5b747eed</test></entry></data>

2021-01-26 22:01:24 | 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-8c4fd897-8e1a-419e-ae02-167c5b747eed</value></item-id></result>

2021-01-26 22:01:24 | [Mutex] received everything.

2021-01-26 22:01:24 | [Mutex] isItemNotified: published:item:notifieditem-8c4fd897-8e1a-419e-ae02-167c5b747eed:admin@test-domain.com :: true

retractItemsFromNodes 0.215s
2021-01-26 22:01:25 |

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

2021-01-26 22:01:25 | ------------------------------------

2021-01-26 22:01:25 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5d675e01-6d2c-4e15-871f-405659abf9be</node><item-id>item-8c4fd897-8e1a-419e-ae02-167c5b747eed</item-id></data>

2021-01-26 22:01:25 | 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-8c4fd897-8e1a-419e-ae02-167c5b747eed</value></item-id></result>

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

2021-01-26 22:01:25 | [Mutex] isItemNotified: retracted:item:notifieditem-8c4fd897-8e1a-419e-ae02-167c5b747eed:admin@test-domain.com :: true

retrieveItemsFromNodes 0.203s
2021-01-26 22:01:24 |

2021-01-26 22:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:01:24 | ------------------------------------

2021-01-26 22:01:24 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5d675e01-6d2c-4e15-871f-405659abf9be</node><item-id>item-8c4fd897-8e1a-419e-ae02-167c5b747eed</item-id></data>

2021-01-26 22:01:25 | 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-5d675e01-6d2c-4e15-871f-405659abf9be</value></node><item-id label="Item ID" type="text-single"><value>item-8c4fd897-8e1a-419e-ae02-167c5b747eed</value></item-id><item label="Item" type="text-multi"><value><item id="item-8c4fd897-8e1a-419e-ae02-167c5b747eed"><test>item-8c4fd897-8e1a-419e-ae02-167c5b747eed</test></item></value></item></result>

2021-01-26 22:01:25 | [Mutex] notify: [retrieved:item:item-8c4fd897-8e1a-419e-ae02-167c5b747eed:payload-matches:true:localhost]

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

2021-01-26 22:01:25 | [Mutex] isItemNotified: retrieved:item:item-8c4fd897-8e1a-419e-ae02-167c5b747eed:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-01-26 22:01:25 |

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

2021-01-26 22:01:25 | ------------------------------------

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

2021-01-26 22:01:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-5d675e01-6d2c-4e15-871f-405659abf9be</value><value>test</value><value>node-e2d512ce-c840-4b24-aa22-b828be52afd2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-01-26 22:01:25 |

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

2021-01-26 22:01:25 | ------------------------------------

2021-01-26 22:01:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5d675e01-6d2c-4e15-871f-405659abf9be)</node-pattern></data>

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

subscribeNodes 1.149s
2021-01-26 22:01:23 |

2021-01-26 22:01:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-01-26 22:01:23 | ------------------------------------

2021-01-26 22:01:23 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5d675e01-6d2c-4e15-871f-405659abf9be</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.380s
2021-01-26 22:01:25 |

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

2021-01-26 22:01:25 | ------------------------------------

2021-01-26 22:01:25 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5d675e01-6d2c-4e15-871f-405659abf9be</node><jids><value>admin@test-domain.com</value></jids></data>

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