Generated by TestNG with ReportNG at 22:22 PDT on Thursday 25 March 2021
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 : 10.062s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2021-03-25 22:38:42 |

2021-03-25 22:38:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:42 | ------------------------------------

2021-03-25 22:38:42 | [Mutex] waiting for: [configured:node:node-2188b2bb-54e1-4524-9b6b-be281fe8c4db:node-40d474c6-50ca-4bf6-93d4-68e220741ffe]

2021-03-25 22:38:42 | [Mutex] received everything.

2021-03-25 22:38:42 | [Mutex] isItemNotified: configured:node:node-2188b2bb-54e1-4524-9b6b-be281fe8c4db:node-40d474c6-50ca-4bf6-93d4-68e220741ffe :: true

2021-03-25 22:38:43 | [Mutex] waiting for: [received:nodes:5a5a6a9e-ee08-4109-9b89-d5d2f4bb076c:localhost]

2021-03-25 22:38:43 | [Mutex] received everything.

2021-03-25 22:38:43 | [Mutex] isItemNotified: received:node:5a5a6a9e-ee08-4109-9b89-d5d2f4bb076c:localhost:node-2188b2bb-54e1-4524-9b6b-be281fe8c4db:Node 2188b2bb-54e1-4524-9b6b-be281fe8c4db :: true

2021-03-25 22:38:43 | [Mutex] waiting for: [received:nodes:97d2fed0-162c-400b-b482-ae90898253c6:localhost]

2021-03-25 22:38:43 | [Mutex] waiting for: [received:nodes:97d2fed0-162c-400b-b482-ae90898253c6:localhost]

2021-03-25 22:38:43 | [Mutex] received everything.

2021-03-25 22:38:43 | [Mutex] isItemNotified: received:node:97d2fed0-162c-400b-b482-ae90898253c6:localhost:node-2188b2bb-54e1-4524-9b6b-be281fe8c4db:Node 2188b2bb-54e1-4524-9b6b-be281fe8c4db :: false

createNodes 1.452s
2021-03-25 22:38:39 |

2021-03-25 22:38:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:39 | ------------------------------------

2021-03-25 22:38:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2188b2bb-54e1-4524-9b6b-be281fe8c4db</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2188b2bb-54e1-4524-9b6b-be281fe8c4db</title></pubsub></data>

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

2021-03-25 22:38:41 | [Mutex] waiting for: [received:nodes:d0507a22-8d67-4b47-aa37-4b486248c023:localhost]

2021-03-25 22:38:41 | [Mutex] received everything.

2021-03-25 22:38:41 | [Mutex] isItemNotified: received:node:d0507a22-8d67-4b47-aa37-4b486248c023:localhost:node-2188b2bb-54e1-4524-9b6b-be281fe8c4db:Node 2188b2bb-54e1-4524-9b6b-be281fe8c4db :: true

createSubnodes 1.031s
2021-03-25 22:38:41 |

2021-03-25 22:38:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:41 | ------------------------------------

2021-03-25 22:38:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-40d474c6-50ca-4bf6-93d4-68e220741ffe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 40d474c6-50ca-4bf6-93d4-68e220741ffe</title></pubsub></data>

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

2021-03-25 22:38:42 | [Mutex] waiting for: [received:nodes:819363f3-38b2-46e1-96ea-1bec72d7fc2c:localhost]

2021-03-25 22:38:42 | [Mutex] received everything.

2021-03-25 22:38:42 | [Mutex] isItemNotified: received:node:819363f3-38b2-46e1-96ea-1bec72d7fc2c:localhost:node-40d474c6-50ca-4bf6-93d4-68e220741ffe:Node 40d474c6-50ca-4bf6-93d4-68e220741ffe :: true

deleteNodes 1.021s
2021-03-25 22:38:47 |

2021-03-25 22:38:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:47 | ------------------------------------

2021-03-25 22:38:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-40d474c6-50ca-4bf6-93d4-68e220741ffe</node></data>

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

2021-03-25 22:38:48 | [Mutex] waiting for: [received:nodes:6837d36f-8554-46bc-8651-fcda4d4450a5:localhost]

2021-03-25 22:38:48 | [Mutex] waiting for: [received:nodes:6837d36f-8554-46bc-8651-fcda4d4450a5:localhost]

2021-03-25 22:38:48 | [Mutex] received everything.

2021-03-25 22:38:48 | [Mutex] isItemNotified: received:node:6837d36f-8554-46bc-8651-fcda4d4450a5:localhost:node-40d474c6-50ca-4bf6-93d4-68e220741ffe:Node 40d474c6-50ca-4bf6-93d4-68e220741ffe :: false

deleteSubnodes 1.118s
2021-03-25 22:38:46 |

2021-03-25 22:38:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:46 | ------------------------------------

2021-03-25 22:38:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2188b2bb-54e1-4524-9b6b-be281fe8c4db</node></data>

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

2021-03-25 22:38:47 | [Mutex] waiting for: [received:nodes:88fd65c0-640c-4b81-872c-10481bd42ae5:localhost]

2021-03-25 22:38:47 | [Mutex] received everything.

2021-03-25 22:38:47 | [Mutex] isItemNotified: received:node:88fd65c0-640c-4b81-872c-10481bd42ae5:localhost:node-2188b2bb-54e1-4524-9b6b-be281fe8c4db:Node 2188b2bb-54e1-4524-9b6b-be281fe8c4db :: false

2021-03-25 22:38:47 | [Mutex] waiting for: [received:nodes:a5e34b31-0593-4159-8e8f-25e33188495a:localhost]

2021-03-25 22:38:47 | [Mutex] received everything.

2021-03-25 22:38:47 | [Mutex] isItemNotified: received:node:a5e34b31-0593-4159-8e8f-25e33188495a:localhost:node-2188b2bb-54e1-4524-9b6b-be281fe8c4db:Node 2188b2bb-54e1-4524-9b6b-be281fe8c4db :: false

publishItemsToNodes 0.202s
2021-03-25 22:38:44 |

2021-03-25 22:38:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:44 | ------------------------------------

2021-03-25 22:38:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2188b2bb-54e1-4524-9b6b-be281fe8c4db</node><item-id>item-d48cfc99-a412-4395-b056-83bca8bcea26</item-id><entry><test>item-d48cfc99-a412-4395-b056-83bca8bcea26</test></entry></data>

2021-03-25 22:38:44 | 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-d48cfc99-a412-4395-b056-83bca8bcea26</value></item-id></result>

2021-03-25 22:38:44 | [Mutex] waiting for: [published:item:notifieditem-d48cfc99-a412-4395-b056-83bca8bcea26:admin@test-domain.com]

2021-03-25 22:38:44 | [Mutex] received everything.

2021-03-25 22:38:44 | [Mutex] isItemNotified: published:item:notifieditem-d48cfc99-a412-4395-b056-83bca8bcea26:admin@test-domain.com :: true

retractItemsFromNodes 0.395s
2021-03-25 22:38:45 |

2021-03-25 22:38:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:45 | ------------------------------------

2021-03-25 22:38:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2188b2bb-54e1-4524-9b6b-be281fe8c4db</node><item-id>item-d48cfc99-a412-4395-b056-83bca8bcea26</item-id></data>

2021-03-25 22:38:45 | 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-d48cfc99-a412-4395-b056-83bca8bcea26</value></item-id></result>

2021-03-25 22:38:45 | [Mutex] received everything.

2021-03-25 22:38:45 | [Mutex] isItemNotified: retracted:item:notifieditem-d48cfc99-a412-4395-b056-83bca8bcea26:admin@test-domain.com :: true

retrieveItemsFromNodes 0.186s
2021-03-25 22:38:44 |

2021-03-25 22:38:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:44 | ------------------------------------

2021-03-25 22:38:44 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2188b2bb-54e1-4524-9b6b-be281fe8c4db</node><item-id>item-d48cfc99-a412-4395-b056-83bca8bcea26</item-id></data>

2021-03-25 22:38:44 | 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-2188b2bb-54e1-4524-9b6b-be281fe8c4db</value></node><item-id label="Item ID" type="text-single"><value>item-d48cfc99-a412-4395-b056-83bca8bcea26</value></item-id><item label="Item" type="text-multi"><value><item id="item-d48cfc99-a412-4395-b056-83bca8bcea26"><test>item-d48cfc99-a412-4395-b056-83bca8bcea26</test></item></value></item></result>

2021-03-25 22:38:44 | [Mutex] notify: [retrieved:item:item-d48cfc99-a412-4395-b056-83bca8bcea26:payload-matches:true:localhost]

2021-03-25 22:38:44 | [Mutex] received everything.

2021-03-25 22:38:44 | [Mutex] isItemNotified: retrieved:item:item-d48cfc99-a412-4395-b056-83bca8bcea26:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2021-03-25 22:38:44 |

2021-03-25 22:38:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:44 | ------------------------------------

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

2021-03-25 22:38:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-2188b2bb-54e1-4524-9b6b-be281fe8c4db</value><value>test</value><value>node-40d474c6-50ca-4bf6-93d4-68e220741ffe</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-03-25 22:38:45 |

2021-03-25 22:38:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:45 | ------------------------------------

2021-03-25 22:38:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2188b2bb-54e1-4524-9b6b-be281fe8c4db)</node-pattern></data>

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

subscribeNodes 1.113s
2021-03-25 22:38:43 |

2021-03-25 22:38:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:43 | ------------------------------------

2021-03-25 22:38:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2188b2bb-54e1-4524-9b6b-be281fe8c4db</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.327s
2021-03-25 22:38:45 |

2021-03-25 22:38:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-25 22:38:45 | ------------------------------------

2021-03-25 22:38:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2188b2bb-54e1-4524-9b6b-be281fe8c4db</node><jids><value>admin@test-domain.com</value></jids></data>

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