Generated by TestNG with ReportNG at 09:45 PDT on Friday 23 April 2021
root@785cf647a4ab / 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.747s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.710s
2021-04-23 10:01:48 |

2021-04-23 10:01:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-23 10:01:48 | ------------------------------------

2021-04-23 10:01:48 | [Mutex] isItemNotified: node_sju93y0203:exists :: false

2021-04-23 10:01:48 | [Mutex] waiting for: [node_sju93y0203:create_node]

2021-04-23 10:01:48 | [Mutex] received everything.

2021-04-23 10:01:48 | [Mutex] isItemNotified: node_sju93y0203:create_node:success :: true

2021-04-23 10:01:48 | [Mutex] waiting for: [node_sju93y0203:subscribe_node]

2021-04-23 10:01:48 | [Mutex] waiting for: [node_sju93y0203:subscribe_node]

2021-04-23 10:01:48 | [Mutex] received everything.

2021-04-23 10:01:48 | [Mutex] isItemNotified: node_sju93y0203:subscribe_node:success :: true

2021-04-23 10:01:48 |


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


2021-04-23 10:01:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-23 10:01:48 | command: <data><node>node_sju93y0203</node><entry><content>content_awxgcc0204</content></entry></data>

2021-04-23 10:01:48 | target: http://localhost:8088

2021-04-23 10:01:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-23 10:01:48 | entity: <data><node>node_sju93y0203</node><entry><content>content_awxgcc0204</content></entry></data>

2021-04-23 10:01:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:01:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-23 10:01:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb668941-b4c3-4c5e-ae1e-46318fcdb91f</value></item-id></result>

2021-04-23 10:01:48 | contains: true

2021-04-23 10:01:48 | [Mutex] received everything.

2021-04-23 10:01:48 | [Mutex] isItemNotified: user_regular9rhqd60202@test-domain.com:message:received:content_awxgcc0204 :: true

2021-04-23 10:01:48 |


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


2021-04-23 10:01:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-23 10:01:48 | command: <data><node>node_sju93y0203</node><expire-at>2021-04-23T17:01:43Z</expire-at><entry><content>content_o48tbl0205</content></entry></data>

2021-04-23 10:01:48 | target: http://localhost:8088

2021-04-23 10:01:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-23 10:01:48 | entity: <data><node>node_sju93y0203</node><expire-at>2021-04-23T17:01:43Z</expire-at><entry><content>content_o48tbl0205</content></entry></data>

2021-04-23 10:01:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:01:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-23 10:01:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>63b21927-4816-459a-9fd5-c5a49fdccaf2</value></item-id></result>

2021-04-23 10:01:48 | contains: true

2021-04-23 10:01:48 | [Mutex] waiting for: [user_regular9rhqd60202@test-domain.com:message:received:content_o48tbl0205]

2021-04-23 10:02:03 | [Mutex] timeout. Not received [user_regular9rhqd60202@test-domain.com:message:received:content_o48tbl0205]

2021-04-23 10:02:03 | [Mutex] isItemNotified: user_regular9rhqd60202@test-domain.com:message:received:content_o48tbl0205 :: false

2021-04-23 10:02:03 |


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


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

2021-04-23 10:02:03 | command: <data><node>node_sju93y0203</node><entry><content>content_rrwkai0206</content></entry></data>

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

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

2021-04-23 10:02:03 | entity: <data><node>node_sju93y0203</node><entry><content>content_rrwkai0206</content></entry></data>

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

2021-04-23 10:02:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e31a6737-826b-40c6-b991-63637ebd3f7c</value></item-id></result>

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

2021-04-23 10:02:08 | [Mutex] waiting for: [user_regular9rhqd60202@test-domain.com:message:received:content_rrwkai0206]

2021-04-23 10:02:08 | [Mutex] received everything.

2021-04-23 10:02:08 | [Mutex] isItemNotified: user_regular9rhqd60202@test-domain.com:message:received:content_rrwkai0206 :: true

2021-04-23 10:02:08 |


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


2021-04-23 10:02:08 | [Mutex] received everything.

2021-04-23 10:02:08 | [Mutex] isItemNotified: node_sju93y0203:subscribe_node:success :: true

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

2021-04-23 10:02:08 | command: <data><node>node_sju93y0203</node><expire-at>2021-04-23T17:02:13Z</expire-at><entry><content>content_mfljai0207</content></entry></data>

2021-04-23 10:02:08 | target: http://localhost:8088

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

2021-04-23 10:02:08 | entity: <data><node>node_sju93y0203</node><expire-at>2021-04-23T17:02:13Z</expire-at><entry><content>content_mfljai0207</content></entry></data>

2021-04-23 10:02:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:02:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-23 10:02:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>22ff9422-540f-43b8-942a-1546747d8859</value></item-id></result>

2021-04-23 10:02:08 | contains: true

2021-04-23 10:02:16 | [Mutex] waiting for: [user_regular9rhqd60202@test-domain.com:message:received:content_mfljai0207]

2021-04-23 10:02:16 | [Mutex] waiting for: [user_regular9rhqd60202@test-domain.com:message:received:content_mfljai0207]

2021-04-23 10:02:31 | [Mutex] timeout. Not received [user_regular9rhqd60202@test-domain.com:message:received:content_mfljai0207]

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

2021-04-23 10:02:31 | [Mutex] isItemNotified: user_regular9rhqd60202@test-domain.com:message:received:content_mfljai0207 :: false

2021-04-23 10:02:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mfljai0207 :: true