Generated by TestNG with ReportNG at 22:17 PDT on Friday 09 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.117s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.721s
2020-10-09 22:33:41 |

2020-10-09 22:33:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-09 22:33:41 | ------------------------------------

2020-10-09 22:33:41 | [Mutex] isItemNotified: node_75wmr30203:exists :: false

2020-10-09 22:33:41 | [Mutex] waiting for: [node_75wmr30203:create_node]

2020-10-09 22:33:41 | [Mutex] received everything.

2020-10-09 22:33:41 | [Mutex] isItemNotified: node_75wmr30203:create_node:success :: true

2020-10-09 22:33:41 | [Mutex] waiting for: [node_75wmr30203:subscribe_node]

2020-10-09 22:33:41 | [Mutex] received everything.

2020-10-09 22:33:41 | [Mutex] isItemNotified: node_75wmr30203:subscribe_node:success :: true

2020-10-09 22:33:41 |


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


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

2020-10-09 22:33:41 | command: <data><node>node_75wmr30203</node><entry><content>content_snecjn0204</content></entry></data>

2020-10-09 22:33:41 | target: http://localhost:8088

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

2020-10-09 22:33:41 | entity: <data><node>node_75wmr30203</node><entry><content>content_snecjn0204</content></entry></data>

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

2020-10-09 22:33:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d5517543-a46d-407c-9d56-fe436bb4eacc</value></item-id></result>

2020-10-09 22:33:41 | contains: true

2020-10-09 22:33:41 | [Mutex] received everything.

2020-10-09 22:33:41 | [Mutex] isItemNotified: user_regularwe39w00202@test-domain.com:message:received:content_snecjn0204 :: true

2020-10-09 22:33:41 |


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


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

2020-10-09 22:33:41 | command: <data><node>node_75wmr30203</node><expire-at>2020-10-10T05:33:36Z</expire-at><entry><content>content_i7bq8w0205</content></entry></data>

2020-10-09 22:33:41 | target: http://localhost:8088

2020-10-09 22:33:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-09 22:33:41 | entity: <data><node>node_75wmr30203</node><expire-at>2020-10-10T05:33:36Z</expire-at><entry><content>content_i7bq8w0205</content></entry></data>

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

2020-10-09 22:33:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4c042cb1-7450-47ec-bfeb-d80aa9470cda</value></item-id></result>

2020-10-09 22:33:41 | contains: true

2020-10-09 22:33:41 | [Mutex] waiting for: [user_regularwe39w00202@test-domain.com:message:received:content_i7bq8w0205]

2020-10-09 22:33:56 | [Mutex] timeout. Not received [user_regularwe39w00202@test-domain.com:message:received:content_i7bq8w0205]

2020-10-09 22:33:56 | [Mutex] isItemNotified: user_regularwe39w00202@test-domain.com:message:received:content_i7bq8w0205 :: false

2020-10-09 22:33:56 |


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


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

2020-10-09 22:33:56 | command: <data><node>node_75wmr30203</node><entry><content>content_2l599w0206</content></entry></data>

2020-10-09 22:33:56 | target: http://localhost:8088

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

2020-10-09 22:33:56 | entity: <data><node>node_75wmr30203</node><entry><content>content_2l599w0206</content></entry></data>

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

2020-10-09 22:33:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>692daddd-f514-4e6b-ae88-8b10778b514f</value></item-id></result>

2020-10-09 22:33:56 | contains: true

2020-10-09 22:34:01 | [Mutex] waiting for: [user_regularwe39w00202@test-domain.com:message:received:content_2l599w0206]

2020-10-09 22:34:01 | [Mutex] waiting for: [user_regularwe39w00202@test-domain.com:message:received:content_2l599w0206]

2020-10-09 22:34:01 | [Mutex] received everything.

2020-10-09 22:34:01 | [Mutex] isItemNotified: user_regularwe39w00202@test-domain.com:message:received:content_2l599w0206 :: true

2020-10-09 22:34:01 |


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


2020-10-09 22:34:01 | [Mutex] received everything.

2020-10-09 22:34:01 | [Mutex] isItemNotified: node_75wmr30203:subscribe_node:success :: true

2020-10-09 22:34:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-09 22:34:01 | command: <data><node>node_75wmr30203</node><expire-at>2020-10-10T05:34:06Z</expire-at><entry><content>content_fh0k2e0207</content></entry></data>

2020-10-09 22:34:01 | target: http://localhost:8088

2020-10-09 22:34:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-09 22:34:01 | entity: <data><node>node_75wmr30203</node><expire-at>2020-10-10T05:34:06Z</expire-at><entry><content>content_fh0k2e0207</content></entry></data>

2020-10-09 22:34:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 05:34:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-09 22:34:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3a4409e3-9c15-4c88-a0c9-3c3271f8db78</value></item-id></result>

2020-10-09 22:34:01 | contains: true

2020-10-09 22:34:10 | [Mutex] waiting for: [user_regularwe39w00202@test-domain.com:message:received:content_fh0k2e0207]

2020-10-09 22:34:10 | [Mutex] waiting for: [user_regularwe39w00202@test-domain.com:message:received:content_fh0k2e0207]

2020-10-09 22:34:10 | [Mutex] waiting for: [user_regularwe39w00202@test-domain.com:message:received:content_fh0k2e0207]

2020-10-09 22:34:25 | [Mutex] timeout. Not received [user_regularwe39w00202@test-domain.com:message:received:content_fh0k2e0207]

2020-10-09 22:34:25 | [Mutex] received everything.

2020-10-09 22:34:25 | [Mutex] isItemNotified: user_regularwe39w00202@test-domain.com:message:received:content_fh0k2e0207 :: false

2020-10-09 22:34:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fh0k2e0207 :: true