Generated by TestNG with ReportNG at 22:19 PDT on Tuesday 14 June 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / 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.559s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.101s
2022-06-14 22:33:13 |

2022-06-14 22:33:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:13 | ------------------------------------

2022-06-14 22:33:13 | [Mutex] waiting for: [configured:node:node-906c7dbc-dadf-40cd-a3bb-998a563af783:node-adf377be-558f-45b3-ad7c-ce8565c19247]

2022-06-14 22:33:13 | [Mutex] received everything.

2022-06-14 22:33:13 | [Mutex] isItemNotified: configured:node:node-906c7dbc-dadf-40cd-a3bb-998a563af783:node-adf377be-558f-45b3-ad7c-ce8565c19247 :: true

2022-06-14 22:33:14 | [Mutex] waiting for: [received:nodes:91ec42d0-e3cb-47d5-9382-162a1d2c619a:localhost]

2022-06-14 22:33:14 | [Mutex] received everything.

2022-06-14 22:33:14 | [Mutex] isItemNotified: received:node:91ec42d0-e3cb-47d5-9382-162a1d2c619a:localhost:node-906c7dbc-dadf-40cd-a3bb-998a563af783:Node 906c7dbc-dadf-40cd-a3bb-998a563af783 :: true

2022-06-14 22:33:14 | [Mutex] waiting for: [received:nodes:7dbefc3c-3476-49bb-880c-1e4b94ff07ad:localhost]

2022-06-14 22:33:14 | [Mutex] received everything.

2022-06-14 22:33:14 | [Mutex] isItemNotified: received:node:7dbefc3c-3476-49bb-880c-1e4b94ff07ad:localhost:node-906c7dbc-dadf-40cd-a3bb-998a563af783:Node 906c7dbc-dadf-40cd-a3bb-998a563af783 :: false

createNodes 1.385s
2022-06-14 22:33:11 |

2022-06-14 22:33:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:11 | ------------------------------------

2022-06-14 22:33:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-906c7dbc-dadf-40cd-a3bb-998a563af783</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 906c7dbc-dadf-40cd-a3bb-998a563af783</title></pubsub></data>

2022-06-14 22:33:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-14 22:33:12 | [Mutex] waiting for: [received:nodes:24e42ac3-bb31-4959-b504-bc8048df7e2c:localhost]

2022-06-14 22:33:12 | [Mutex] waiting for: [received:nodes:24e42ac3-bb31-4959-b504-bc8048df7e2c:localhost]

2022-06-14 22:33:12 | [Mutex] received everything.

2022-06-14 22:33:12 | [Mutex] isItemNotified: received:node:24e42ac3-bb31-4959-b504-bc8048df7e2c:localhost:node-906c7dbc-dadf-40cd-a3bb-998a563af783:Node 906c7dbc-dadf-40cd-a3bb-998a563af783 :: true

createSubnodes 1.024s
2022-06-14 22:33:12 |

2022-06-14 22:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:12 | ------------------------------------

2022-06-14 22:33:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-adf377be-558f-45b3-ad7c-ce8565c19247</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node adf377be-558f-45b3-ad7c-ce8565c19247</title></pubsub></data>

2022-06-14 22:33:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-14 22:33:13 | [Mutex] waiting for: [received:nodes:7cd1d232-9a63-46c9-9d29-4b7297956fa2:localhost]

2022-06-14 22:33:13 | [Mutex] waiting for: [received:nodes:7cd1d232-9a63-46c9-9d29-4b7297956fa2:localhost]

2022-06-14 22:33:13 | [Mutex] received everything.

2022-06-14 22:33:13 | [Mutex] isItemNotified: received:node:7cd1d232-9a63-46c9-9d29-4b7297956fa2:localhost:node-adf377be-558f-45b3-ad7c-ce8565c19247:Node adf377be-558f-45b3-ad7c-ce8565c19247 :: true

deleteNodes 1.017s
2022-06-14 22:33:19 |

2022-06-14 22:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:19 | ------------------------------------

2022-06-14 22:33:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-adf377be-558f-45b3-ad7c-ce8565c19247</node></data>

2022-06-14 22:33:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-14 22:33:20 | [Mutex] waiting for: [received:nodes:cff9e2c3-f09c-4187-8dfa-c067899660d3:localhost]

2022-06-14 22:33:20 | [Mutex] waiting for: [received:nodes:cff9e2c3-f09c-4187-8dfa-c067899660d3:localhost]

2022-06-14 22:33:20 | [Mutex] received everything.

2022-06-14 22:33:20 | [Mutex] isItemNotified: received:node:cff9e2c3-f09c-4187-8dfa-c067899660d3:localhost:node-adf377be-558f-45b3-ad7c-ce8565c19247:Node adf377be-558f-45b3-ad7c-ce8565c19247 :: false

deleteSubnodes 1.109s
2022-06-14 22:33:18 |

2022-06-14 22:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:18 | ------------------------------------

2022-06-14 22:33:18 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-906c7dbc-dadf-40cd-a3bb-998a563af783</node></data>

2022-06-14 22:33:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-06-14 22:33:19 | [Mutex] waiting for: [received:nodes:70ec56ac-c84f-42db-b404-0f9ad9fb01cd:localhost]

2022-06-14 22:33:19 | [Mutex] received everything.

2022-06-14 22:33:19 | [Mutex] isItemNotified: received:node:70ec56ac-c84f-42db-b404-0f9ad9fb01cd:localhost:node-906c7dbc-dadf-40cd-a3bb-998a563af783:Node 906c7dbc-dadf-40cd-a3bb-998a563af783 :: false

2022-06-14 22:33:19 | [Mutex] waiting for: [received:nodes:7c470157-4511-4900-ac5f-0f40e2e299d9:localhost]

2022-06-14 22:33:19 | [Mutex] received everything.

2022-06-14 22:33:19 | [Mutex] isItemNotified: received:node:7c470157-4511-4900-ac5f-0f40e2e299d9:localhost:node-906c7dbc-dadf-40cd-a3bb-998a563af783:Node 906c7dbc-dadf-40cd-a3bb-998a563af783 :: false

publishItemsToNodes 0.247s
2022-06-14 22:33:15 |

2022-06-14 22:33:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:15 | ------------------------------------

2022-06-14 22:33:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-906c7dbc-dadf-40cd-a3bb-998a563af783</node><item-id>item-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888</item-id><entry><test>item-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888</test></entry></data>

2022-06-14 22:33:16 | 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-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888</value></item-id></result>

2022-06-14 22:33:16 | [Mutex] received everything.

2022-06-14 22:33:16 | [Mutex] isItemNotified: published:item:notifieditem-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888:admin@test-domain.com :: true

retractItemsFromNodes 0.367s
2022-06-14 22:33:16 |

2022-06-14 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:16 | ------------------------------------

2022-06-14 22:33:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-906c7dbc-dadf-40cd-a3bb-998a563af783</node><item-id>item-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888</item-id></data>

2022-06-14 22:33:16 | 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-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888</value></item-id></result>

2022-06-14 22:33:16 | [Mutex] received everything.

2022-06-14 22:33:16 | [Mutex] isItemNotified: retracted:item:notifieditem-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888:admin@test-domain.com :: true

retrieveItemsFromNodes 0.257s
2022-06-14 22:33:16 |

2022-06-14 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:16 | ------------------------------------

2022-06-14 22:33:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-906c7dbc-dadf-40cd-a3bb-998a563af783</node><item-id>item-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888</item-id></data>

2022-06-14 22:33:16 | 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-906c7dbc-dadf-40cd-a3bb-998a563af783</value></node><item-id type="text-single" label="Item ID"><value>item-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888</value></item-id><item type="text-multi" label="Item"><value><item id="item-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888"><test>item-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888</test></item></value></item></result>

2022-06-14 22:33:16 | [Mutex] notify: [retrieved:item:item-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888:payload-matches:true:localhost]

2022-06-14 22:33:16 | [Mutex] received everything.

2022-06-14 22:33:16 | [Mutex] isItemNotified: retrieved:item:item-acb19fb1-68a8-4ca2-88c3-bbd9f3ae0888:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-06-14 22:33:16 |

2022-06-14 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:16 | ------------------------------------

2022-06-14 22:33:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-06-14 22:33:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-906c7dbc-dadf-40cd-a3bb-998a563af783</value><value>test</value><value>node-adf377be-558f-45b3-ad7c-ce8565c19247</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2022-06-14 22:33:16 |

2022-06-14 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:16 | ------------------------------------

2022-06-14 22:33:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-906c7dbc-dadf-40cd-a3bb-998a563af783)</node-pattern></data>

2022-06-14 22:33:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.105s
2022-06-14 22:33:14 |

2022-06-14 22:33:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:14 | ------------------------------------

2022-06-14 22:33:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-906c7dbc-dadf-40cd-a3bb-998a563af783</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-14 22:33:14 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.206s
2022-06-14 22:33:16 |

2022-06-14 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-14 22:33:16 | ------------------------------------

2022-06-14 22:33:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-906c7dbc-dadf-40cd-a3bb-998a563af783</node><jids><value>admin@test-domain.com</value></jids></data>

2022-06-14 22:33:17 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>