Generated by TestNG with ReportNG at 22:43 PDT on Wednesday 31 March 2021
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.551s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.672s
2021-03-31 23:01:50 |

2021-03-31 23:01:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-31 23:01:50 | ------------------------------------

2021-03-31 23:01:50 | [Mutex] isItemNotified: node_j90mjv0203:exists :: false

2021-03-31 23:01:50 | [Mutex] waiting for: [node_j90mjv0203:create_node]

2021-03-31 23:01:50 | [Mutex] received everything.

2021-03-31 23:01:50 | [Mutex] isItemNotified: node_j90mjv0203:create_node:success :: true

2021-03-31 23:01:50 | [Mutex] waiting for: [node_j90mjv0203:subscribe_node]

2021-03-31 23:01:50 | [Mutex] waiting for: [node_j90mjv0203:subscribe_node]

2021-03-31 23:01:50 | [Mutex] received everything.

2021-03-31 23:01:50 | [Mutex] isItemNotified: node_j90mjv0203:subscribe_node:success :: true

2021-03-31 23:01:50 |


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


2021-03-31 23:01:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 23:01:50 | command: <data><node>node_j90mjv0203</node><entry><content>content_cakqxw0204</content></entry></data>

2021-03-31 23:01:50 | target: http://localhost:8088

2021-03-31 23:01:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-31 23:01:50 | entity: <data><node>node_j90mjv0203</node><entry><content>content_cakqxw0204</content></entry></data>

2021-03-31 23:01:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 06:01:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 23:01:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>56aea3d1-2062-46ec-ad47-983fdac86494</value></item-id></result>

2021-03-31 23:01:50 | contains: true

2021-03-31 23:01:50 | [Mutex] received everything.

2021-03-31 23:01:50 | [Mutex] isItemNotified: user_regulariyjwzt0202@test-domain.com:message:received:content_cakqxw0204 :: true

2021-03-31 23:01:50 |


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


2021-03-31 23:01:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 23:01:50 | command: <data><node>node_j90mjv0203</node><expire-at>2021-04-01T06:01:45Z</expire-at><entry><content>content_kvql720205</content></entry></data>

2021-03-31 23:01:50 | target: http://localhost:8088

2021-03-31 23:01:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-31 23:01:50 | entity: <data><node>node_j90mjv0203</node><expire-at>2021-04-01T06:01:45Z</expire-at><entry><content>content_kvql720205</content></entry></data>

2021-03-31 23:01:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 06:01:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 23:01:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>96188c0e-adda-43cd-b6a0-8b939d46c3b5</value></item-id></result>

2021-03-31 23:01:50 | contains: true

2021-03-31 23:01:50 | [Mutex] waiting for: [user_regulariyjwzt0202@test-domain.com:message:received:content_kvql720205]

2021-03-31 23:02:05 | [Mutex] timeout. Not received [user_regulariyjwzt0202@test-domain.com:message:received:content_kvql720205]

2021-03-31 23:02:05 | [Mutex] isItemNotified: user_regulariyjwzt0202@test-domain.com:message:received:content_kvql720205 :: false

2021-03-31 23:02:05 |


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


2021-03-31 23:02:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 23:02:05 | command: <data><node>node_j90mjv0203</node><entry><content>content_tv32iy0206</content></entry></data>

2021-03-31 23:02:05 | target: http://localhost:8088

2021-03-31 23:02:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-31 23:02:05 | entity: <data><node>node_j90mjv0203</node><entry><content>content_tv32iy0206</content></entry></data>

2021-03-31 23:02:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 06:02:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 23:02:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>937ee297-6581-45b5-980a-53bed5a7fe6c</value></item-id></result>

2021-03-31 23:02:05 | contains: true

2021-03-31 23:02:10 | [Mutex] waiting for: [user_regulariyjwzt0202@test-domain.com:message:received:content_tv32iy0206]

2021-03-31 23:02:10 | [Mutex] waiting for: [user_regulariyjwzt0202@test-domain.com:message:received:content_tv32iy0206]

2021-03-31 23:02:10 | [Mutex] received everything.

2021-03-31 23:02:10 | [Mutex] isItemNotified: user_regulariyjwzt0202@test-domain.com:message:received:content_tv32iy0206 :: true

2021-03-31 23:02:10 |


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


2021-03-31 23:02:10 | [Mutex] received everything.

2021-03-31 23:02:10 | [Mutex] isItemNotified: node_j90mjv0203:subscribe_node:success :: true

2021-03-31 23:02:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-31 23:02:10 | command: <data><node>node_j90mjv0203</node><expire-at>2021-04-01T06:02:15Z</expire-at><entry><content>content_2hys410207</content></entry></data>

2021-03-31 23:02:10 | target: http://localhost:8088

2021-03-31 23:02:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-31 23:02:10 | entity: <data><node>node_j90mjv0203</node><expire-at>2021-04-01T06:02:15Z</expire-at><entry><content>content_2hys410207</content></entry></data>

2021-03-31 23:02:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 06:02:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-31 23:02:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1bba3abe-e7d3-44af-b1d4-afe70bb7d634</value></item-id></result>

2021-03-31 23:02:10 | contains: true

2021-03-31 23:02:18 | [Mutex] waiting for: [user_regulariyjwzt0202@test-domain.com:message:received:content_2hys410207]

2021-03-31 23:02:18 | [Mutex] waiting for: [user_regulariyjwzt0202@test-domain.com:message:received:content_2hys410207]

2021-03-31 23:02:33 | [Mutex] timeout. Not received [user_regulariyjwzt0202@test-domain.com:message:received:content_2hys410207]

2021-03-31 23:02:33 | [Mutex] received everything.

2021-03-31 23:02:33 | [Mutex] isItemNotified: user_regulariyjwzt0202@test-domain.com:message:received:content_2hys410207 :: false

2021-03-31 23:02:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2hys410207 :: true