Generated by TestNG with ReportNG at 22:51 PDT on Tuesday 30 August 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.627s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.080s
2022-08-30 23:06:26 |

2022-08-30 23:06:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:26 | ------------------------------------

2022-08-30 23:06:26 | [Mutex] waiting for: [configured:node:node-2d3b116d-8aa3-4d8d-b813-633f5a35814a:node-c5a2010d-cda7-49e6-b2b0-62b7eb005109]

2022-08-30 23:06:27 | [Mutex] received everything.

2022-08-30 23:06:27 | [Mutex] isItemNotified: configured:node:node-2d3b116d-8aa3-4d8d-b813-633f5a35814a:node-c5a2010d-cda7-49e6-b2b0-62b7eb005109 :: true

2022-08-30 23:06:28 | [Mutex] waiting for: [received:nodes:e1ea93c6-9333-46bc-af67-300b7b9b0592:localhost]

2022-08-30 23:06:28 | [Mutex] received everything.

2022-08-30 23:06:28 | [Mutex] isItemNotified: received:node:e1ea93c6-9333-46bc-af67-300b7b9b0592:localhost:node-2d3b116d-8aa3-4d8d-b813-633f5a35814a:Node 2d3b116d-8aa3-4d8d-b813-633f5a35814a :: true

2022-08-30 23:06:28 | [Mutex] waiting for: [received:nodes:da5f4425-83a5-4999-bf9b-9daf4dacd67c:localhost]

2022-08-30 23:06:28 | [Mutex] waiting for: [received:nodes:da5f4425-83a5-4999-bf9b-9daf4dacd67c:localhost]

2022-08-30 23:06:28 | [Mutex] received everything.

2022-08-30 23:06:28 | [Mutex] isItemNotified: received:node:da5f4425-83a5-4999-bf9b-9daf4dacd67c:localhost:node-2d3b116d-8aa3-4d8d-b813-633f5a35814a:Node 2d3b116d-8aa3-4d8d-b813-633f5a35814a :: false

createNodes 1.392s
2022-08-30 23:06:24 |

2022-08-30 23:06:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:24 | ------------------------------------

2022-08-30 23:06:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2d3b116d-8aa3-4d8d-b813-633f5a35814a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2d3b116d-8aa3-4d8d-b813-633f5a35814a</title></pubsub></data>

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

2022-08-30 23:06:25 | [Mutex] waiting for: [received:nodes:cd303887-85bf-4aa9-a9b1-4c9cfc922c1b:localhost]

2022-08-30 23:06:25 | [Mutex] received everything.

2022-08-30 23:06:25 | [Mutex] isItemNotified: received:node:cd303887-85bf-4aa9-a9b1-4c9cfc922c1b:localhost:node-2d3b116d-8aa3-4d8d-b813-633f5a35814a:Node 2d3b116d-8aa3-4d8d-b813-633f5a35814a :: true

createSubnodes 1.026s
2022-08-30 23:06:25 |

2022-08-30 23:06:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:25 | ------------------------------------

2022-08-30 23:06:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c5a2010d-cda7-49e6-b2b0-62b7eb005109</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c5a2010d-cda7-49e6-b2b0-62b7eb005109</title></pubsub></data>

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

2022-08-30 23:06:26 | [Mutex] waiting for: [received:nodes:a9725ae9-9b0b-4726-b71e-ef4c01704c81:localhost]

2022-08-30 23:06:26 | [Mutex] waiting for: [received:nodes:a9725ae9-9b0b-4726-b71e-ef4c01704c81:localhost]

2022-08-30 23:06:26 | [Mutex] received everything.

2022-08-30 23:06:26 | [Mutex] isItemNotified: received:node:a9725ae9-9b0b-4726-b71e-ef4c01704c81:localhost:node-c5a2010d-cda7-49e6-b2b0-62b7eb005109:Node c5a2010d-cda7-49e6-b2b0-62b7eb005109 :: true

deleteNodes 1.017s
2022-08-30 23:06:32 |

2022-08-30 23:06:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:32 | ------------------------------------

2022-08-30 23:06:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c5a2010d-cda7-49e6-b2b0-62b7eb005109</node></data>

2022-08-30 23:06:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-30 23:06:33 | [Mutex] waiting for: [received:nodes:d4c11dc4-5231-48c2-940f-698333e72143:localhost]

2022-08-30 23:06:33 | [Mutex] received everything.

2022-08-30 23:06:33 | [Mutex] isItemNotified: received:node:d4c11dc4-5231-48c2-940f-698333e72143:localhost:node-c5a2010d-cda7-49e6-b2b0-62b7eb005109:Node c5a2010d-cda7-49e6-b2b0-62b7eb005109 :: false

deleteSubnodes 1.138s
2022-08-30 23:06:31 |

2022-08-30 23:06:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:31 | ------------------------------------

2022-08-30 23:06:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2d3b116d-8aa3-4d8d-b813-633f5a35814a</node></data>

2022-08-30 23:06:31 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-30 23:06:32 | [Mutex] waiting for: [received:nodes:3cdc8877-38ce-4c55-90f0-3af6d90db6ce:localhost]

2022-08-30 23:06:32 | [Mutex] waiting for: [received:nodes:3cdc8877-38ce-4c55-90f0-3af6d90db6ce:localhost]

2022-08-30 23:06:32 | [Mutex] received everything.

2022-08-30 23:06:32 | [Mutex] isItemNotified: received:node:3cdc8877-38ce-4c55-90f0-3af6d90db6ce:localhost:node-2d3b116d-8aa3-4d8d-b813-633f5a35814a:Node 2d3b116d-8aa3-4d8d-b813-633f5a35814a :: false

2022-08-30 23:06:32 | [Mutex] waiting for: [received:nodes:d44896e9-e0cd-40fa-80a8-02cbb256d46f:localhost]

2022-08-30 23:06:32 | [Mutex] received everything.

2022-08-30 23:06:32 | [Mutex] isItemNotified: received:node:d44896e9-e0cd-40fa-80a8-02cbb256d46f:localhost:node-2d3b116d-8aa3-4d8d-b813-633f5a35814a:Node 2d3b116d-8aa3-4d8d-b813-633f5a35814a :: false

publishItemsToNodes 0.221s
2022-08-30 23:06:29 |

2022-08-30 23:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:29 | ------------------------------------

2022-08-30 23:06:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-2d3b116d-8aa3-4d8d-b813-633f5a35814a</node><item-id>item-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3</item-id><entry><test>item-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3</test></entry></data>

2022-08-30 23:06:29 | 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-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3</value></item-id></result>

2022-08-30 23:06:29 | [Mutex] received everything.

2022-08-30 23:06:29 | [Mutex] isItemNotified: published:item:notifieditem-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2022-08-30 23:06:29 |

2022-08-30 23:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:29 | ------------------------------------

2022-08-30 23:06:29 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-2d3b116d-8aa3-4d8d-b813-633f5a35814a</node><item-id>item-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3</item-id></data>

2022-08-30 23:06:30 | 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-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3</value></item-id></result>

2022-08-30 23:06:30 | [Mutex] received everything.

2022-08-30 23:06:30 | [Mutex] isItemNotified: retracted:item:notifieditem-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3:admin@test-domain.com :: true

retrieveItemsFromNodes 0.217s
2022-08-30 23:06:29 |

2022-08-30 23:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:29 | ------------------------------------

2022-08-30 23:06:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-2d3b116d-8aa3-4d8d-b813-633f5a35814a</node><item-id>item-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3</item-id></data>

2022-08-30 23:06:29 | 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-2d3b116d-8aa3-4d8d-b813-633f5a35814a</value></node><item-id label="Item ID" type="text-single"><value>item-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3</value></item-id><item label="Item" type="text-multi"><value><item id="item-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3"><test>item-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3</test></item></value></item></result>

2022-08-30 23:06:29 | [Mutex] notify: [retrieved:item:item-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3:payload-matches:true:localhost]

2022-08-30 23:06:29 | [Mutex] received everything.

2022-08-30 23:06:29 | [Mutex] isItemNotified: retrieved:item:item-d0bdb1a1-f860-45f9-b680-d9fa289ab9d3:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-30 23:06:29 |

2022-08-30 23:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:29 | ------------------------------------

2022-08-30 23:06:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-30 23:06:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-2d3b116d-8aa3-4d8d-b813-633f5a35814a</value><value>test</value><value>node-c5a2010d-cda7-49e6-b2b0-62b7eb005109</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.119s
2022-08-30 23:06:29 |

2022-08-30 23:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:29 | ------------------------------------

2022-08-30 23:06:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2d3b116d-8aa3-4d8d-b813-633f5a35814a)</node-pattern></data>

2022-08-30 23:06:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.155s
2022-08-30 23:06:28 |

2022-08-30 23:06:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:28 | ------------------------------------

2022-08-30 23:06:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-2d3b116d-8aa3-4d8d-b813-633f5a35814a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.231s
2022-08-30 23:06:30 |

2022-08-30 23:06:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-30 23:06:30 | ------------------------------------

2022-08-30 23:06:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-2d3b116d-8aa3-4d8d-b813-633f5a35814a</node><jids><value>admin@test-domain.com</value></jids></data>

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