Generated by TestNG with ReportNG at 06:21 PDT on Wednesday 09 September 2020
root@ecc955643850 / 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.932s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.118s
2020-09-09 06:37:09 |

2020-09-09 06:37:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:09 | ------------------------------------

2020-09-09 06:37:09 | [Mutex] waiting for: [configured:node:node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d:node-b402d143-a3ac-42fc-b0f2-fa5a0583b6b2]

2020-09-09 06:37:09 | [Mutex] received everything.

2020-09-09 06:37:09 | [Mutex] isItemNotified: configured:node:node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d:node-b402d143-a3ac-42fc-b0f2-fa5a0583b6b2 :: true

2020-09-09 06:37:10 | [Mutex] waiting for: [received:nodes:12587530-c8dd-4fd1-9dc0-20c56ba34d80:localhost]

2020-09-09 06:37:10 | [Mutex] received everything.

2020-09-09 06:37:10 | [Mutex] isItemNotified: received:node:12587530-c8dd-4fd1-9dc0-20c56ba34d80:localhost:node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d:Node 1d32a3c2-af2c-4e7d-8e80-4aa2549f740d :: true

2020-09-09 06:37:10 | [Mutex] waiting for: [received:nodes:b22207f6-1378-4869-a764-741139d50ddd:localhost]

2020-09-09 06:37:10 | [Mutex] received everything.

2020-09-09 06:37:10 | [Mutex] isItemNotified: received:node:b22207f6-1378-4869-a764-741139d50ddd:localhost:node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d:Node 1d32a3c2-af2c-4e7d-8e80-4aa2549f740d :: false

createNodes 1.382s
2020-09-09 06:37:06 |

2020-09-09 06:37:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:06 | ------------------------------------

2020-09-09 06:37:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1d32a3c2-af2c-4e7d-8e80-4aa2549f740d</title></pubsub></data>

2020-09-09 06:37:07 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-09 06:37:08 | [Mutex] waiting for: [received:nodes:ed3a35f6-e3ad-43c4-8673-7f84634d06f8:localhost]

2020-09-09 06:37:08 | [Mutex] received everything.

2020-09-09 06:37:08 | [Mutex] isItemNotified: received:node:ed3a35f6-e3ad-43c4-8673-7f84634d06f8:localhost:node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d:Node 1d32a3c2-af2c-4e7d-8e80-4aa2549f740d :: true

createSubnodes 1.029s
2020-09-09 06:37:08 |

2020-09-09 06:37:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:08 | ------------------------------------

2020-09-09 06:37:08 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b402d143-a3ac-42fc-b0f2-fa5a0583b6b2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b402d143-a3ac-42fc-b0f2-fa5a0583b6b2</title></pubsub></data>

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

2020-09-09 06:37:09 | [Mutex] waiting for: [received:nodes:dd17f1d9-d033-4b7a-a75e-96443a8a52f8:localhost]

2020-09-09 06:37:09 | [Mutex] received everything.

2020-09-09 06:37:09 | [Mutex] isItemNotified: received:node:dd17f1d9-d033-4b7a-a75e-96443a8a52f8:localhost:node-b402d143-a3ac-42fc-b0f2-fa5a0583b6b2:Node b402d143-a3ac-42fc-b0f2-fa5a0583b6b2 :: true

deleteNodes 1.020s
2020-09-09 06:37:14 |

2020-09-09 06:37:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:14 | ------------------------------------

2020-09-09 06:37:14 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b402d143-a3ac-42fc-b0f2-fa5a0583b6b2</node></data>

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

2020-09-09 06:37:15 | [Mutex] waiting for: [received:nodes:2586c9dd-f2b6-43f3-921e-5675083bde11:localhost]

2020-09-09 06:37:15 | [Mutex] received everything.

2020-09-09 06:37:15 | [Mutex] isItemNotified: received:node:2586c9dd-f2b6-43f3-921e-5675083bde11:localhost:node-b402d143-a3ac-42fc-b0f2-fa5a0583b6b2:Node b402d143-a3ac-42fc-b0f2-fa5a0583b6b2 :: false

deleteSubnodes 1.130s
2020-09-09 06:37:13 |

2020-09-09 06:37:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:13 | ------------------------------------

2020-09-09 06:37:13 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d</node></data>

2020-09-09 06:37:13 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-09 06:37:14 | [Mutex] waiting for: [received:nodes:97c75f1d-5acc-4519-96b0-14b9352b8b62:localhost]

2020-09-09 06:37:14 | [Mutex] received everything.

2020-09-09 06:37:14 | [Mutex] isItemNotified: received:node:97c75f1d-5acc-4519-96b0-14b9352b8b62:localhost:node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d:Node 1d32a3c2-af2c-4e7d-8e80-4aa2549f740d :: false

2020-09-09 06:37:14 | [Mutex] waiting for: [received:nodes:ce1099ac-2b31-488f-8274-dd76aa4b5057:localhost]

2020-09-09 06:37:14 | [Mutex] received everything.

2020-09-09 06:37:14 | [Mutex] isItemNotified: received:node:ce1099ac-2b31-488f-8274-dd76aa4b5057:localhost:node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d:Node 1d32a3c2-af2c-4e7d-8e80-4aa2549f740d :: false

publishItemsToNodes 0.222s
2020-09-09 06:37:11 |

2020-09-09 06:37:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:11 | ------------------------------------

2020-09-09 06:37:11 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d</node><item-id>item-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe</item-id><entry><test>item-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe</test></entry></data>

2020-09-09 06:37:11 | 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-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe</value></item-id></result>

2020-09-09 06:37:11 | [Mutex] waiting for: [published:item:notifieditem-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe:admin@test-domain.com]

2020-09-09 06:37:11 | [Mutex] received everything.

2020-09-09 06:37:11 | [Mutex] isItemNotified: published:item:notifieditem-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe:admin@test-domain.com :: true

retractItemsFromNodes 0.239s
2020-09-09 06:37:12 |

2020-09-09 06:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:12 | ------------------------------------

2020-09-09 06:37:12 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d</node><item-id>item-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe</item-id></data>

2020-09-09 06:37:12 | 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-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe</value></item-id></result>

2020-09-09 06:37:12 | [Mutex] received everything.

2020-09-09 06:37:12 | [Mutex] isItemNotified: retracted:item:notifieditem-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe:admin@test-domain.com :: true

retrieveItemsFromNodes 0.382s
2020-09-09 06:37:11 |

2020-09-09 06:37:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:11 | ------------------------------------

2020-09-09 06:37:11 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d</node><item-id>item-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe</item-id></data>

2020-09-09 06:37:12 | 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-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d</value></node><item-id label="Item ID" type="text-single"><value>item-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe</value></item-id><item label="Item" type="text-multi"><value><item id="item-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe"><test>item-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe</test></item></value></item></result>

2020-09-09 06:37:12 | [Mutex] notify: [retrieved:item:item-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe:payload-matches:true:localhost]

2020-09-09 06:37:12 | [Mutex] received everything.

2020-09-09 06:37:12 | [Mutex] isItemNotified: retrieved:item:item-0bd5ca65-bf1c-4afd-abb6-37282cfaabfe:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-09 06:37:12 |

2020-09-09 06:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:12 | ------------------------------------

2020-09-09 06:37:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-09 06:37:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-b402d143-a3ac-42fc-b0f2-fa5a0583b6b2</value><value>test</value><value>node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-09-09 06:37:12 |

2020-09-09 06:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:12 | ------------------------------------

2020-09-09 06:37:12 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d)</node-pattern></data>

2020-09-09 06:37:12 | 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-09-09 06:37:10 |

2020-09-09 06:37:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:10 | ------------------------------------

2020-09-09 06:37:10 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.263s
2020-09-09 06:37:12 |

2020-09-09 06:37:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:37:12 | ------------------------------------

2020-09-09 06:37:12 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1d32a3c2-af2c-4e7d-8e80-4aa2549f740d</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-09 06:37:12 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>