Generated by TestNG with ReportNG at 21:17 PST on Sunday 17 January 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 : 46.040s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.862s
2021-01-17 21:32:25 |

2021-01-17 21:32:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-17 21:32:25 | ------------------------------------

2021-01-17 21:32:25 | [Mutex] isItemNotified: node_1p5sc60203:exists :: false

2021-01-17 21:32:25 | [Mutex] waiting for: [node_1p5sc60203:create_node]

2021-01-17 21:32:25 | [Mutex] received everything.

2021-01-17 21:32:25 | [Mutex] isItemNotified: node_1p5sc60203:create_node:success :: true

2021-01-17 21:32:25 | [Mutex] waiting for: [node_1p5sc60203:subscribe_node]

2021-01-17 21:32:25 | [Mutex] received everything.

2021-01-17 21:32:25 | [Mutex] isItemNotified: node_1p5sc60203:subscribe_node:success :: true

2021-01-17 21:32:25 |


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


2021-01-17 21:32:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:32:25 | command: <data><node>node_1p5sc60203</node><entry><content>content_ndkphs0204</content></entry></data>

2021-01-17 21:32:25 | target: http://localhost:8088

2021-01-17 21:32:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-17 21:32:25 | entity: <data><node>node_1p5sc60203</node><entry><content>content_ndkphs0204</content></entry></data>

2021-01-17 21:32:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:32:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:32:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2baf5e08-468b-4d8a-91dc-133eeb95dd59</value></item-id></result>

2021-01-17 21:32:25 | contains: true

2021-01-17 21:32:25 | [Mutex] received everything.

2021-01-17 21:32:25 | [Mutex] isItemNotified: user_regular5gprl00202@test-domain.com:message:received:content_ndkphs0204 :: true

2021-01-17 21:32:25 |


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


2021-01-17 21:32:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:32:25 | command: <data><node>node_1p5sc60203</node><expire-at>2021-01-18T05:32:20Z</expire-at><entry><content>content_e03crs0205</content></entry></data>

2021-01-17 21:32:25 | target: http://localhost:8088

2021-01-17 21:32:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-17 21:32:25 | entity: <data><node>node_1p5sc60203</node><expire-at>2021-01-18T05:32:20Z</expire-at><entry><content>content_e03crs0205</content></entry></data>

2021-01-17 21:32:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:32:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:32:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dfb33610-dc39-4081-8209-93d60356fc04</value></item-id></result>

2021-01-17 21:32:25 | contains: true

2021-01-17 21:32:25 | [Mutex] waiting for: [user_regular5gprl00202@test-domain.com:message:received:content_e03crs0205]

2021-01-17 21:32:40 | [Mutex] timeout. Not received [user_regular5gprl00202@test-domain.com:message:received:content_e03crs0205]

2021-01-17 21:32:40 | [Mutex] isItemNotified: user_regular5gprl00202@test-domain.com:message:received:content_e03crs0205 :: false

2021-01-17 21:32:40 |


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


2021-01-17 21:32:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:32:40 | command: <data><node>node_1p5sc60203</node><entry><content>content_c6z8oa0206</content></entry></data>

2021-01-17 21:32:40 | target: http://localhost:8088

2021-01-17 21:32:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-17 21:32:40 | entity: <data><node>node_1p5sc60203</node><entry><content>content_c6z8oa0206</content></entry></data>

2021-01-17 21:32:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:32:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:32:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0cec9db4-7915-4d6a-9f1c-0087119e69bd</value></item-id></result>

2021-01-17 21:32:40 | contains: true

2021-01-17 21:32:45 | [Mutex] waiting for: [user_regular5gprl00202@test-domain.com:message:received:content_c6z8oa0206]

2021-01-17 21:32:45 | [Mutex] received everything.

2021-01-17 21:32:45 | [Mutex] isItemNotified: user_regular5gprl00202@test-domain.com:message:received:content_c6z8oa0206 :: true

2021-01-17 21:32:45 |


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


2021-01-17 21:32:45 | [Mutex] received everything.

2021-01-17 21:32:45 | [Mutex] isItemNotified: node_1p5sc60203:subscribe_node:success :: true

2021-01-17 21:32:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-17 21:32:45 | command: <data><node>node_1p5sc60203</node><expire-at>2021-01-18T05:32:50Z</expire-at><entry><content>content_ciarl50207</content></entry></data>

2021-01-17 21:32:45 | target: http://localhost:8088

2021-01-17 21:32:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-17 21:32:45 | entity: <data><node>node_1p5sc60203</node><expire-at>2021-01-18T05:32:50Z</expire-at><entry><content>content_ciarl50207</content></entry></data>

2021-01-17 21:32:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jan 2021 05:32:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-17 21:32:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b9115e4c-a519-40d3-b16c-4d7b130faaf8</value></item-id></result>

2021-01-17 21:32:45 | contains: true

2021-01-17 21:32:54 | [Mutex] waiting for: [user_regular5gprl00202@test-domain.com:message:received:content_ciarl50207]

2021-01-17 21:33:09 | [Mutex] timeout. Not received [user_regular5gprl00202@test-domain.com:message:received:content_ciarl50207]

2021-01-17 21:33:09 | [Mutex] received everything.

2021-01-17 21:33:09 | [Mutex] isItemNotified: user_regular5gprl00202@test-domain.com:message:received:content_ciarl50207 :: false

2021-01-17 21:33:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ciarl50207 :: true