Generated by TestNG with ReportNG at 21:43 PST on Monday 27 February 2023
root@7c41cec37518 / 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.496s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.114s
2023-02-27 21:58:07 |

2023-02-27 21:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:07 | ------------------------------------

2023-02-27 21:58:07 | [Mutex] waiting for: [configured:node:node-39ed76a4-f572-4165-a0c3-97d108d17c22:node-a68dae5e-d438-4e9b-817b-f6331670072a]

2023-02-27 21:58:07 | [Mutex] received everything.

2023-02-27 21:58:07 | [Mutex] isItemNotified: configured:node:node-39ed76a4-f572-4165-a0c3-97d108d17c22:node-a68dae5e-d438-4e9b-817b-f6331670072a :: true

2023-02-27 21:58:08 | [Mutex] waiting for: [received:nodes:4863a520-5e83-49f7-a276-f5cbf94ff442:localhost]

2023-02-27 21:58:08 | [Mutex] received everything.

2023-02-27 21:58:08 | [Mutex] isItemNotified: received:node:4863a520-5e83-49f7-a276-f5cbf94ff442:localhost:node-39ed76a4-f572-4165-a0c3-97d108d17c22:Node 39ed76a4-f572-4165-a0c3-97d108d17c22 :: true

2023-02-27 21:58:08 | [Mutex] waiting for: [received:nodes:9766200d-8d5f-4691-9710-35d119d33afa:localhost]

2023-02-27 21:58:08 | [Mutex] waiting for: [received:nodes:9766200d-8d5f-4691-9710-35d119d33afa:localhost]

2023-02-27 21:58:08 | [Mutex] waiting for: [received:nodes:9766200d-8d5f-4691-9710-35d119d33afa:localhost]

2023-02-27 21:58:08 | [Mutex] waiting for: [received:nodes:9766200d-8d5f-4691-9710-35d119d33afa:localhost]

2023-02-27 21:58:08 | [Mutex] received everything.

2023-02-27 21:58:08 | [Mutex] isItemNotified: received:node:9766200d-8d5f-4691-9710-35d119d33afa:localhost:node-39ed76a4-f572-4165-a0c3-97d108d17c22:Node 39ed76a4-f572-4165-a0c3-97d108d17c22 :: false

createNodes 1.423s
2023-02-27 21:58:05 |

2023-02-27 21:58:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:05 | ------------------------------------

2023-02-27 21:58:05 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-39ed76a4-f572-4165-a0c3-97d108d17c22</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 39ed76a4-f572-4165-a0c3-97d108d17c22</title></pubsub></data>

2023-02-27 21:58:05 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 21:58:06 | [Mutex] waiting for: [received:nodes:6ef14d05-4935-4eb7-9ee1-1c067733d0be:localhost]

2023-02-27 21:58:06 | [Mutex] waiting for: [received:nodes:6ef14d05-4935-4eb7-9ee1-1c067733d0be:localhost]

2023-02-27 21:58:06 | [Mutex] waiting for: [received:nodes:6ef14d05-4935-4eb7-9ee1-1c067733d0be:localhost]

2023-02-27 21:58:06 | [Mutex] waiting for: [received:nodes:6ef14d05-4935-4eb7-9ee1-1c067733d0be:localhost]

2023-02-27 21:58:06 | [Mutex] received everything.

2023-02-27 21:58:06 | [Mutex] isItemNotified: received:node:6ef14d05-4935-4eb7-9ee1-1c067733d0be:localhost:node-39ed76a4-f572-4165-a0c3-97d108d17c22:Node 39ed76a4-f572-4165-a0c3-97d108d17c22 :: true

createSubnodes 1.022s
2023-02-27 21:58:06 |

2023-02-27 21:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:06 | ------------------------------------

2023-02-27 21:58:06 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a68dae5e-d438-4e9b-817b-f6331670072a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a68dae5e-d438-4e9b-817b-f6331670072a</title></pubsub></data>

2023-02-27 21:58:06 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 21:58:07 | [Mutex] waiting for: [received:nodes:605b4f96-eedd-458f-b7a7-04d523ed81c0:localhost]

2023-02-27 21:58:07 | [Mutex] waiting for: [received:nodes:605b4f96-eedd-458f-b7a7-04d523ed81c0:localhost]

2023-02-27 21:58:07 | [Mutex] waiting for: [received:nodes:605b4f96-eedd-458f-b7a7-04d523ed81c0:localhost]

2023-02-27 21:58:07 | [Mutex] waiting for: [received:nodes:605b4f96-eedd-458f-b7a7-04d523ed81c0:localhost]

2023-02-27 21:58:07 | [Mutex] waiting for: [received:nodes:605b4f96-eedd-458f-b7a7-04d523ed81c0:localhost]

2023-02-27 21:58:07 | [Mutex] received everything.

2023-02-27 21:58:07 | [Mutex] isItemNotified: received:node:605b4f96-eedd-458f-b7a7-04d523ed81c0:localhost:node-a68dae5e-d438-4e9b-817b-f6331670072a:Node a68dae5e-d438-4e9b-817b-f6331670072a :: true

deleteNodes 1.017s
2023-02-27 21:58:12 |

2023-02-27 21:58:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:12 | ------------------------------------

2023-02-27 21:58:12 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a68dae5e-d438-4e9b-817b-f6331670072a</node></data>

2023-02-27 21:58:12 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 21:58:13 | [Mutex] waiting for: [received:nodes:17bd7558-c2ae-4f1b-ab4a-c12db00d0863:localhost]

2023-02-27 21:58:13 | [Mutex] waiting for: [received:nodes:17bd7558-c2ae-4f1b-ab4a-c12db00d0863:localhost]

2023-02-27 21:58:13 | [Mutex] received everything.

2023-02-27 21:58:13 | [Mutex] isItemNotified: received:node:17bd7558-c2ae-4f1b-ab4a-c12db00d0863:localhost:node-a68dae5e-d438-4e9b-817b-f6331670072a:Node a68dae5e-d438-4e9b-817b-f6331670072a :: false

deleteSubnodes 1.127s
2023-02-27 21:58:11 |

2023-02-27 21:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:11 | ------------------------------------

2023-02-27 21:58:11 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-39ed76a4-f572-4165-a0c3-97d108d17c22</node></data>

2023-02-27 21:58:11 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-27 21:58:12 | [Mutex] waiting for: [received:nodes:f0e7054d-79cb-44c7-bde5-765773452201:localhost]

2023-02-27 21:58:12 | [Mutex] waiting for: [received:nodes:f0e7054d-79cb-44c7-bde5-765773452201:localhost]

2023-02-27 21:58:12 | [Mutex] waiting for: [received:nodes:f0e7054d-79cb-44c7-bde5-765773452201:localhost]

2023-02-27 21:58:12 | [Mutex] waiting for: [received:nodes:f0e7054d-79cb-44c7-bde5-765773452201:localhost]

2023-02-27 21:58:12 | [Mutex] received everything.

2023-02-27 21:58:12 | [Mutex] isItemNotified: received:node:f0e7054d-79cb-44c7-bde5-765773452201:localhost:node-39ed76a4-f572-4165-a0c3-97d108d17c22:Node 39ed76a4-f572-4165-a0c3-97d108d17c22 :: false

2023-02-27 21:58:12 | [Mutex] waiting for: [received:nodes:824876fa-30ad-4a2b-8bb1-484c05ced754:localhost]

2023-02-27 21:58:12 | [Mutex] received everything.

2023-02-27 21:58:12 | [Mutex] isItemNotified: received:node:824876fa-30ad-4a2b-8bb1-484c05ced754:localhost:node-39ed76a4-f572-4165-a0c3-97d108d17c22:Node 39ed76a4-f572-4165-a0c3-97d108d17c22 :: false

publishItemsToNodes 0.210s
2023-02-27 21:58:09 |

2023-02-27 21:58:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:09 | ------------------------------------

2023-02-27 21:58:09 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-39ed76a4-f572-4165-a0c3-97d108d17c22</node><item-id>item-06b9ac21-661a-446a-99db-faa856061ac7</item-id><entry><test>item-06b9ac21-661a-446a-99db-faa856061ac7</test></entry></data>

2023-02-27 21:58:09 | 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-06b9ac21-661a-446a-99db-faa856061ac7</value></item-id></result>

2023-02-27 21:58:09 | [Mutex] received everything.

2023-02-27 21:58:09 | [Mutex] isItemNotified: published:item:notifieditem-06b9ac21-661a-446a-99db-faa856061ac7:admin@test-domain.com :: true

retractItemsFromNodes 0.287s
2023-02-27 21:58:10 |

2023-02-27 21:58:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:10 | ------------------------------------

2023-02-27 21:58:10 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-39ed76a4-f572-4165-a0c3-97d108d17c22</node><item-id>item-06b9ac21-661a-446a-99db-faa856061ac7</item-id></data>

2023-02-27 21:58:10 | 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-06b9ac21-661a-446a-99db-faa856061ac7</value></item-id></result>

2023-02-27 21:58:10 | [Mutex] received everything.

2023-02-27 21:58:10 | [Mutex] isItemNotified: retracted:item:notifieditem-06b9ac21-661a-446a-99db-faa856061ac7:admin@test-domain.com :: true

retrieveItemsFromNodes 0.205s
2023-02-27 21:58:09 |

2023-02-27 21:58:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:09 | ------------------------------------

2023-02-27 21:58:09 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-39ed76a4-f572-4165-a0c3-97d108d17c22</node><item-id>item-06b9ac21-661a-446a-99db-faa856061ac7</item-id></data>

2023-02-27 21:58:10 | 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-39ed76a4-f572-4165-a0c3-97d108d17c22</value></node><item-id label="Item ID" type="text-single"><value>item-06b9ac21-661a-446a-99db-faa856061ac7</value></item-id><item label="Item" type="text-multi"><value><item id="item-06b9ac21-661a-446a-99db-faa856061ac7"><test>item-06b9ac21-661a-446a-99db-faa856061ac7</test></item></value></item></result>

2023-02-27 21:58:10 | [Mutex] notify: [retrieved:item:item-06b9ac21-661a-446a-99db-faa856061ac7:payload-matches:true:localhost]

2023-02-27 21:58:10 | [Mutex] received everything.

2023-02-27 21:58:10 | [Mutex] isItemNotified: retrieved:item:item-06b9ac21-661a-446a-99db-faa856061ac7:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-02-27 21:58:10 |

2023-02-27 21:58:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:10 | ------------------------------------

2023-02-27 21:58:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-27 21:58:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-a68dae5e-d438-4e9b-817b-f6331670072a</value><value>test</value><value>node-39ed76a4-f572-4165-a0c3-97d108d17c22</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-02-27 21:58:10 |

2023-02-27 21:58:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:10 | ------------------------------------

2023-02-27 21:58:10 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-39ed76a4-f572-4165-a0c3-97d108d17c22)</node-pattern></data>

2023-02-27 21:58:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.118s
2023-02-27 21:58:08 |

2023-02-27 21:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:08 | ------------------------------------

2023-02-27 21:58:08 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-39ed76a4-f572-4165-a0c3-97d108d17c22</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-27 21:58:08 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.195s
2023-02-27 21:58:10 |

2023-02-27 21:58:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-27 21:58:10 | ------------------------------------

2023-02-27 21:58:10 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-39ed76a4-f572-4165-a0c3-97d108d17c22</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-27 21:58:10 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>