Generated by TestNG with ReportNG at 22:46 PDT on Monday 20 June 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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.453s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2022-06-20 23:00:20 |

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

2022-06-20 23:00:20 | ------------------------------------

2022-06-20 23:00:20 | [Mutex] waiting for: [configured:node:node-05256376-33c0-4836-a6fa-5df561e87e0a:node-919ea736-8949-4267-8145-db09efb67e18]

2022-06-20 23:00:20 | [Mutex] received everything.

2022-06-20 23:00:20 | [Mutex] isItemNotified: configured:node:node-05256376-33c0-4836-a6fa-5df561e87e0a:node-919ea736-8949-4267-8145-db09efb67e18 :: true

2022-06-20 23:00:21 | [Mutex] waiting for: [received:nodes:e28eaa69-59d5-4f88-a5db-d34393157004:localhost]

2022-06-20 23:00:21 | [Mutex] received everything.

2022-06-20 23:00:21 | [Mutex] isItemNotified: received:node:e28eaa69-59d5-4f88-a5db-d34393157004:localhost:node-05256376-33c0-4836-a6fa-5df561e87e0a:Node 05256376-33c0-4836-a6fa-5df561e87e0a :: true

2022-06-20 23:00:21 | [Mutex] waiting for: [received:nodes:e54303cf-7bfb-4bac-88a7-a121d176e3af:localhost]

2022-06-20 23:00:21 | [Mutex] waiting for: [received:nodes:e54303cf-7bfb-4bac-88a7-a121d176e3af:localhost]

2022-06-20 23:00:21 | [Mutex] received everything.

2022-06-20 23:00:21 | [Mutex] isItemNotified: received:node:e54303cf-7bfb-4bac-88a7-a121d176e3af:localhost:node-05256376-33c0-4836-a6fa-5df561e87e0a:Node 05256376-33c0-4836-a6fa-5df561e87e0a :: false

createNodes 1.480s
2022-06-20 23:00:17 |

2022-06-20 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 23:00:17 | ------------------------------------

2022-06-20 23:00:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05256376-33c0-4836-a6fa-5df561e87e0a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 05256376-33c0-4836-a6fa-5df561e87e0a</title></pubsub></data>

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

2022-06-20 23:00:19 | [Mutex] waiting for: [received:nodes:fe25c2e4-cb24-4954-a363-777852ca4978:localhost]

2022-06-20 23:00:19 | [Mutex] waiting for: [received:nodes:fe25c2e4-cb24-4954-a363-777852ca4978:localhost]

2022-06-20 23:00:19 | [Mutex] received everything.

2022-06-20 23:00:19 | [Mutex] isItemNotified: received:node:fe25c2e4-cb24-4954-a363-777852ca4978:localhost:node-05256376-33c0-4836-a6fa-5df561e87e0a:Node 05256376-33c0-4836-a6fa-5df561e87e0a :: true

createSubnodes 1.021s
2022-06-20 23:00:19 |

2022-06-20 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 23:00:19 | ------------------------------------

2022-06-20 23:00:19 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-919ea736-8949-4267-8145-db09efb67e18</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 919ea736-8949-4267-8145-db09efb67e18</title></pubsub></data>

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

2022-06-20 23:00:20 | [Mutex] waiting for: [received:nodes:366b9604-350b-431c-a1c4-e2996854bed6:localhost]

2022-06-20 23:00:20 | [Mutex] waiting for: [received:nodes:366b9604-350b-431c-a1c4-e2996854bed6:localhost]

2022-06-20 23:00:20 | [Mutex] received everything.

2022-06-20 23:00:20 | [Mutex] isItemNotified: received:node:366b9604-350b-431c-a1c4-e2996854bed6:localhost:node-919ea736-8949-4267-8145-db09efb67e18:Node 919ea736-8949-4267-8145-db09efb67e18 :: true

deleteNodes 1.016s
2022-06-20 23:00:25 |

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

2022-06-20 23:00:25 | ------------------------------------

2022-06-20 23:00:25 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-919ea736-8949-4267-8145-db09efb67e18</node></data>

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

2022-06-20 23:00:26 | [Mutex] waiting for: [received:nodes:b8d05a55-4b3b-4bf6-91fb-abd52d14fa5e:localhost]

2022-06-20 23:00:26 | [Mutex] received everything.

2022-06-20 23:00:26 | [Mutex] isItemNotified: received:node:b8d05a55-4b3b-4bf6-91fb-abd52d14fa5e:localhost:node-919ea736-8949-4267-8145-db09efb67e18:Node 919ea736-8949-4267-8145-db09efb67e18 :: false

deleteSubnodes 1.132s
2022-06-20 23:00:24 |

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

2022-06-20 23:00:24 | ------------------------------------

2022-06-20 23:00:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05256376-33c0-4836-a6fa-5df561e87e0a</node></data>

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

2022-06-20 23:00:25 | [Mutex] waiting for: [received:nodes:e8544fc3-bce5-404a-a74e-edd3e2b108b5:localhost]

2022-06-20 23:00:25 | [Mutex] waiting for: [received:nodes:e8544fc3-bce5-404a-a74e-edd3e2b108b5:localhost]

2022-06-20 23:00:25 | [Mutex] received everything.

2022-06-20 23:00:25 | [Mutex] isItemNotified: received:node:e8544fc3-bce5-404a-a74e-edd3e2b108b5:localhost:node-05256376-33c0-4836-a6fa-5df561e87e0a:Node 05256376-33c0-4836-a6fa-5df561e87e0a :: false

2022-06-20 23:00:25 | [Mutex] waiting for: [received:nodes:55f688d5-2a82-4eed-80dd-c2b9fab37ba1:localhost]

2022-06-20 23:00:25 | [Mutex] received everything.

2022-06-20 23:00:25 | [Mutex] isItemNotified: received:node:55f688d5-2a82-4eed-80dd-c2b9fab37ba1:localhost:node-05256376-33c0-4836-a6fa-5df561e87e0a:Node 05256376-33c0-4836-a6fa-5df561e87e0a :: false

publishItemsToNodes 0.184s
2022-06-20 23:00:22 |

2022-06-20 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 23:00:22 | ------------------------------------

2022-06-20 23:00:22 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-05256376-33c0-4836-a6fa-5df561e87e0a</node><item-id>item-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be</item-id><entry><test>item-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be</test></entry></data>

2022-06-20 23:00:22 | 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-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be</value></item-id></result>

2022-06-20 23:00:22 | [Mutex] received everything.

2022-06-20 23:00:22 | [Mutex] isItemNotified: published:item:notifieditem-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2022-06-20 23:00:22 |

2022-06-20 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 23:00:22 | ------------------------------------

2022-06-20 23:00:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-05256376-33c0-4836-a6fa-5df561e87e0a</node><item-id>item-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be</item-id></data>

2022-06-20 23:00:22 | 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-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be</value></item-id></result>

2022-06-20 23:00:22 | [Mutex] received everything.

2022-06-20 23:00:22 | [Mutex] isItemNotified: retracted:item:notifieditem-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be:admin@test-domain.com :: true

retrieveItemsFromNodes 0.221s
2022-06-20 23:00:22 |

2022-06-20 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 23:00:22 | ------------------------------------

2022-06-20 23:00:22 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-05256376-33c0-4836-a6fa-5df561e87e0a</node><item-id>item-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be</item-id></data>

2022-06-20 23:00:22 | 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-05256376-33c0-4836-a6fa-5df561e87e0a</value></node><item-id label="Item ID" type="text-single"><value>item-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be</value></item-id><item label="Item" type="text-multi"><value><item id="item-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be"><test>item-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be</test></item></value></item></result>

2022-06-20 23:00:22 | [Mutex] notify: [retrieved:item:item-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be:payload-matches:true:localhost]

2022-06-20 23:00:22 | [Mutex] received everything.

2022-06-20 23:00:22 | [Mutex] isItemNotified: retrieved:item:item-51ce2d4d-c665-4fb9-abe2-382b0ca6f5be:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2022-06-20 23:00:22 |

2022-06-20 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 23:00:22 | ------------------------------------

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

2022-06-20 23:00:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-919ea736-8949-4267-8145-db09efb67e18</value><value>node-05256376-33c0-4836-a6fa-5df561e87e0a</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-06-20 23:00:22 |

2022-06-20 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 23:00:22 | ------------------------------------

2022-06-20 23:00:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-05256376-33c0-4836-a6fa-5df561e87e0a)</node-pattern></data>

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

subscribeNodes 1.100s
2022-06-20 23:00:21 |

2022-06-20 23:00:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 23:00:21 | ------------------------------------

2022-06-20 23:00:21 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-05256376-33c0-4836-a6fa-5df561e87e0a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.215s
2022-06-20 23:00:22 |

2022-06-20 23:00:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-06-20 23:00:22 | ------------------------------------

2022-06-20 23:00:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-05256376-33c0-4836-a6fa-5df561e87e0a</node><jids><value>admin@test-domain.com</value></jids></data>

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