Generated by TestNG with ReportNG at 21:29 PST on Monday 07 February 2022
root@785cf647a4ab / 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.050s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.113s
2022-02-07 21:45:30 |

2022-02-07 21:45:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:30 | ------------------------------------

2022-02-07 21:45:30 | [Mutex] waiting for: [configured:node:node-6299b3b7-5eaa-4e1c-81e6-61f468131cec:node-736c8208-46f5-455d-a1fa-0c8f9b25558c]

2022-02-07 21:45:30 | [Mutex] received everything.

2022-02-07 21:45:30 | [Mutex] isItemNotified: configured:node:node-6299b3b7-5eaa-4e1c-81e6-61f468131cec:node-736c8208-46f5-455d-a1fa-0c8f9b25558c :: true

2022-02-07 21:45:31 | [Mutex] waiting for: [received:nodes:d80365b4-5d3e-49e9-841d-d02eff3b0d21:localhost]

2022-02-07 21:45:31 | [Mutex] waiting for: [received:nodes:d80365b4-5d3e-49e9-841d-d02eff3b0d21:localhost]

2022-02-07 21:45:31 | [Mutex] received everything.

2022-02-07 21:45:31 | [Mutex] isItemNotified: received:node:d80365b4-5d3e-49e9-841d-d02eff3b0d21:localhost:node-6299b3b7-5eaa-4e1c-81e6-61f468131cec:Node 6299b3b7-5eaa-4e1c-81e6-61f468131cec :: true

2022-02-07 21:45:31 | [Mutex] waiting for: [received:nodes:41d1d522-2284-45c6-9076-169fad915422:localhost]

2022-02-07 21:45:31 | [Mutex] received everything.

2022-02-07 21:45:31 | [Mutex] isItemNotified: received:node:41d1d522-2284-45c6-9076-169fad915422:localhost:node-6299b3b7-5eaa-4e1c-81e6-61f468131cec:Node 6299b3b7-5eaa-4e1c-81e6-61f468131cec :: false

createNodes 1.467s
2022-02-07 21:45:28 |

2022-02-07 21:45:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:28 | ------------------------------------

2022-02-07 21:45:28 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6299b3b7-5eaa-4e1c-81e6-61f468131cec</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6299b3b7-5eaa-4e1c-81e6-61f468131cec</title></pubsub></data>

2022-02-07 21:45:28 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-07 21:45:29 | [Mutex] waiting for: [received:nodes:f907fdbd-1955-49fb-aba9-6ac1b75b525b:localhost]

2022-02-07 21:45:29 | [Mutex] received everything.

2022-02-07 21:45:29 | [Mutex] isItemNotified: received:node:f907fdbd-1955-49fb-aba9-6ac1b75b525b:localhost:node-6299b3b7-5eaa-4e1c-81e6-61f468131cec:Node 6299b3b7-5eaa-4e1c-81e6-61f468131cec :: true

createSubnodes 1.052s
2022-02-07 21:45:29 |

2022-02-07 21:45:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:29 | ------------------------------------

2022-02-07 21:45:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-736c8208-46f5-455d-a1fa-0c8f9b25558c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 736c8208-46f5-455d-a1fa-0c8f9b25558c</title></pubsub></data>

2022-02-07 21:45:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-07 21:45:30 | [Mutex] waiting for: [received:nodes:be5cf46e-62e1-4488-a035-e385167651fb:localhost]

2022-02-07 21:45:30 | [Mutex] received everything.

2022-02-07 21:45:30 | [Mutex] isItemNotified: received:node:be5cf46e-62e1-4488-a035-e385167651fb:localhost:node-736c8208-46f5-455d-a1fa-0c8f9b25558c:Node 736c8208-46f5-455d-a1fa-0c8f9b25558c :: true

deleteNodes 1.021s
2022-02-07 21:45:36 |

2022-02-07 21:45:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:36 | ------------------------------------

2022-02-07 21:45:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-736c8208-46f5-455d-a1fa-0c8f9b25558c</node></data>

2022-02-07 21:45:36 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-07 21:45:37 | [Mutex] waiting for: [received:nodes:3ad76842-51fd-44c7-81b0-88929996ccaf:localhost]

2022-02-07 21:45:37 | [Mutex] received everything.

2022-02-07 21:45:37 | [Mutex] isItemNotified: received:node:3ad76842-51fd-44c7-81b0-88929996ccaf:localhost:node-736c8208-46f5-455d-a1fa-0c8f9b25558c:Node 736c8208-46f5-455d-a1fa-0c8f9b25558c :: false

deleteSubnodes 1.151s
2022-02-07 21:45:35 |

2022-02-07 21:45:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:35 | ------------------------------------

2022-02-07 21:45:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6299b3b7-5eaa-4e1c-81e6-61f468131cec</node></data>

2022-02-07 21:45:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-02-07 21:45:36 | [Mutex] waiting for: [received:nodes:8c98080c-192e-460c-a64f-8186d6761dc9:localhost]

2022-02-07 21:45:36 | [Mutex] received everything.

2022-02-07 21:45:36 | [Mutex] isItemNotified: received:node:8c98080c-192e-460c-a64f-8186d6761dc9:localhost:node-6299b3b7-5eaa-4e1c-81e6-61f468131cec:Node 6299b3b7-5eaa-4e1c-81e6-61f468131cec :: false

2022-02-07 21:45:36 | [Mutex] waiting for: [received:nodes:a9e802db-60b2-486b-be87-f08939855799:localhost]

2022-02-07 21:45:36 | [Mutex] received everything.

2022-02-07 21:45:36 | [Mutex] isItemNotified: received:node:a9e802db-60b2-486b-be87-f08939855799:localhost:node-6299b3b7-5eaa-4e1c-81e6-61f468131cec:Node 6299b3b7-5eaa-4e1c-81e6-61f468131cec :: false

publishItemsToNodes 0.244s
2022-02-07 21:45:32 |

2022-02-07 21:45:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:32 | ------------------------------------

2022-02-07 21:45:32 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6299b3b7-5eaa-4e1c-81e6-61f468131cec</node><item-id>item-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a</item-id><entry><test>item-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a</test></entry></data>

2022-02-07 21:45:33 | 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-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a</value></item-id></result>

2022-02-07 21:45:33 | [Mutex] waiting for: [published:item:notifieditem-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a:admin@test-domain.com]

2022-02-07 21:45:33 | [Mutex] received everything.

2022-02-07 21:45:33 | [Mutex] isItemNotified: published:item:notifieditem-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a:admin@test-domain.com :: true

retractItemsFromNodes 0.237s
2022-02-07 21:45:33 |

2022-02-07 21:45:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:33 | ------------------------------------

2022-02-07 21:45:33 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6299b3b7-5eaa-4e1c-81e6-61f468131cec</node><item-id>item-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a</item-id></data>

2022-02-07 21:45:33 | 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-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a</value></item-id></result>

2022-02-07 21:45:33 | [Mutex] received everything.

2022-02-07 21:45:33 | [Mutex] isItemNotified: retracted:item:notifieditem-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.377s
2022-02-07 21:45:33 |

2022-02-07 21:45:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:33 | ------------------------------------

2022-02-07 21:45:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6299b3b7-5eaa-4e1c-81e6-61f468131cec</node><item-id>item-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a</item-id></data>

2022-02-07 21:45:33 | 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-6299b3b7-5eaa-4e1c-81e6-61f468131cec</value></node><item-id label="Item ID" type="text-single"><value>item-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a</value></item-id><item label="Item" type="text-multi"><value><item id="item-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a"><test>item-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a</test></item></value></item></result>

2022-02-07 21:45:33 | [Mutex] notify: [retrieved:item:item-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a:payload-matches:true:localhost]

2022-02-07 21:45:33 | [Mutex] received everything.

2022-02-07 21:45:33 | [Mutex] isItemNotified: retrieved:item:item-c51ea3d3-47b9-44d2-910f-299bd8e8bb1a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-02-07 21:45:33 |

2022-02-07 21:45:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:33 | ------------------------------------

2022-02-07 21:45:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-02-07 21:45:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-736c8208-46f5-455d-a1fa-0c8f9b25558c</value><value>test</value><value>node-6299b3b7-5eaa-4e1c-81e6-61f468131cec</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-02-07 21:45:33 |

2022-02-07 21:45:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:33 | ------------------------------------

2022-02-07 21:45:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6299b3b7-5eaa-4e1c-81e6-61f468131cec)</node-pattern></data>

2022-02-07 21:45:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.143s
2022-02-07 21:45:31 |

2022-02-07 21:45:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:31 | ------------------------------------

2022-02-07 21:45:31 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6299b3b7-5eaa-4e1c-81e6-61f468131cec</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-07 21:45:31 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.233s
2022-02-07 21:45:33 |

2022-02-07 21:45:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-02-07 21:45:33 | ------------------------------------

2022-02-07 21:45:33 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6299b3b7-5eaa-4e1c-81e6-61f468131cec</node><jids><value>admin@test-domain.com</value></jids></data>

2022-02-07 21:45:34 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>