Generated by TestNG with ReportNG at 22:42 PDT on Sunday 11 October 2020
root@eaa73862192b / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.836s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.781s
2020-10-11 22:59:18 |

2020-10-11 22:59:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-11 22:59:18 | ------------------------------------

2020-10-11 22:59:18 | [Mutex] isItemNotified: node_ge9s4c0203:exists :: false

2020-10-11 22:59:18 | [Mutex] waiting for: [node_ge9s4c0203:create_node]

2020-10-11 22:59:18 | [Mutex] received everything.

2020-10-11 22:59:18 | [Mutex] isItemNotified: node_ge9s4c0203:create_node:success :: true

2020-10-11 22:59:18 | [Mutex] waiting for: [node_ge9s4c0203:subscribe_node]

2020-10-11 22:59:18 | [Mutex] received everything.

2020-10-11 22:59:18 | [Mutex] isItemNotified: node_ge9s4c0203:subscribe_node:success :: true

2020-10-11 22:59:18 |


===== publishing normal message (to online)


2020-10-11 22:59:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:59:18 | command: <data><node>node_ge9s4c0203</node><entry><content>content_fnwnvs0204</content></entry></data>

2020-10-11 22:59:18 | target: http://localhost:8088

2020-10-11 22:59:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-11 22:59:18 | entity: <data><node>node_ge9s4c0203</node><entry><content>content_fnwnvs0204</content></entry></data>

2020-10-11 22:59:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:59:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:59:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>aa5733c7-0df9-4209-8515-e0a43004c069</value></item-id></result>

2020-10-11 22:59:18 | contains: true

2020-10-11 22:59:18 | [Mutex] waiting for: [user_regulari2unhp0202@test-domain.com:message:received:content_fnwnvs0204]

2020-10-11 22:59:18 | [Mutex] received everything.

2020-10-11 22:59:18 | [Mutex] isItemNotified: user_regulari2unhp0202@test-domain.com:message:received:content_fnwnvs0204 :: true

2020-10-11 22:59:18 |


===== publishing already old message - expecting message being filtered out (to online)


2020-10-11 22:59:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:59:18 | command: <data><node>node_ge9s4c0203</node><expire-at>2020-10-12T05:59:13Z</expire-at><entry><content>content_r1hpjm0205</content></entry></data>

2020-10-11 22:59:18 | target: http://localhost:8088

2020-10-11 22:59:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-11 22:59:18 | entity: <data><node>node_ge9s4c0203</node><expire-at>2020-10-12T05:59:13Z</expire-at><entry><content>content_r1hpjm0205</content></entry></data>

2020-10-11 22:59:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:59:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:59:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3c49546a-1931-4e2d-b84b-99a665e71cd5</value></item-id></result>

2020-10-11 22:59:18 | contains: true

2020-10-11 22:59:18 | [Mutex] waiting for: [user_regulari2unhp0202@test-domain.com:message:received:content_r1hpjm0205]

2020-10-11 22:59:33 | [Mutex] timeout. Not received [user_regulari2unhp0202@test-domain.com:message:received:content_r1hpjm0205]

2020-10-11 22:59:33 | [Mutex] isItemNotified: user_regulari2unhp0202@test-domain.com:message:received:content_r1hpjm0205 :: false

2020-10-11 22:59:33 |


===== publishing normal message (to offline)


2020-10-11 22:59:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:59:33 | command: <data><node>node_ge9s4c0203</node><entry><content>content_jsbxt00206</content></entry></data>

2020-10-11 22:59:33 | target: http://localhost:8088

2020-10-11 22:59:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-11 22:59:33 | entity: <data><node>node_ge9s4c0203</node><entry><content>content_jsbxt00206</content></entry></data>

2020-10-11 22:59:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:59:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:59:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>028463ee-8aa2-40d7-9aa8-22ab2ea08c55</value></item-id></result>

2020-10-11 22:59:33 | contains: true

2020-10-11 22:59:39 | [Mutex] waiting for: [user_regulari2unhp0202@test-domain.com:message:received:content_jsbxt00206]

2020-10-11 22:59:39 | [Mutex] waiting for: [user_regulari2unhp0202@test-domain.com:message:received:content_jsbxt00206]

2020-10-11 22:59:39 | [Mutex] received everything.

2020-10-11 22:59:39 | [Mutex] isItemNotified: user_regulari2unhp0202@test-domain.com:message:received:content_jsbxt00206 :: true

2020-10-11 22:59:39 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-10-11 22:59:39 | [Mutex] received everything.

2020-10-11 22:59:39 | [Mutex] isItemNotified: node_ge9s4c0203:subscribe_node:success :: true

2020-10-11 22:59:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-11 22:59:39 | command: <data><node>node_ge9s4c0203</node><expire-at>2020-10-12T05:59:44Z</expire-at><entry><content>content_u0hyav0207</content></entry></data>

2020-10-11 22:59:39 | target: http://localhost:8088

2020-10-11 22:59:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-11 22:59:39 | entity: <data><node>node_ge9s4c0203</node><expire-at>2020-10-12T05:59:44Z</expire-at><entry><content>content_u0hyav0207</content></entry></data>

2020-10-11 22:59:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 12 Oct 2020 05:59:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-11 22:59:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eade13ed-3621-473a-a17a-041ca63ed1d8</value></item-id></result>

2020-10-11 22:59:39 | contains: true

2020-10-11 22:59:47 | [Mutex] waiting for: [user_regulari2unhp0202@test-domain.com:message:received:content_u0hyav0207]

2020-10-11 22:59:47 | [Mutex] waiting for: [user_regulari2unhp0202@test-domain.com:message:received:content_u0hyav0207]

2020-10-11 23:00:02 | [Mutex] timeout. Not received [user_regulari2unhp0202@test-domain.com:message:received:content_u0hyav0207]

2020-10-11 23:00:02 | [Mutex] received everything.

2020-10-11 23:00:02 | [Mutex] isItemNotified: user_regulari2unhp0202@test-domain.com:message:received:content_u0hyav0207 :: false

2020-10-11 23:00:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u0hyav0207 :: true