Generated by TestNG with ReportNG at 22:13 PDT on Thursday 29 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.765s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.749s
2020-10-29 22:30:22 |

2020-10-29 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-10-29 22:30:22 | ------------------------------------

2020-10-29 22:30:22 | [Mutex] isItemNotified: node_w8oeit0203:exists :: false

2020-10-29 22:30:22 | [Mutex] waiting for: [node_w8oeit0203:create_node]

2020-10-29 22:30:22 | [Mutex] received everything.

2020-10-29 22:30:22 | [Mutex] isItemNotified: node_w8oeit0203:create_node:success :: true

2020-10-29 22:30:22 | [Mutex] waiting for: [node_w8oeit0203:subscribe_node]

2020-10-29 22:30:22 | [Mutex] received everything.

2020-10-29 22:30:22 | [Mutex] isItemNotified: node_w8oeit0203:subscribe_node:success :: true

2020-10-29 22:30:22 |


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


2020-10-29 22:30:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-29 22:30:22 | command: <data><node>node_w8oeit0203</node><entry><content>content_v2fcsw0204</content></entry></data>

2020-10-29 22:30:22 | target: http://localhost:8088

2020-10-29 22:30:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-29 22:30:22 | entity: <data><node>node_w8oeit0203</node><entry><content>content_v2fcsw0204</content></entry></data>

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

2020-10-29 22:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>69a78ce1-d8aa-4c2c-977b-dfd8e0f97a25</value></item-id></result>

2020-10-29 22:30:22 | contains: true

2020-10-29 22:30:22 | [Mutex] received everything.

2020-10-29 22:30:22 | [Mutex] isItemNotified: user_regular7a9oec0202@test-domain.com:message:received:content_v2fcsw0204 :: true

2020-10-29 22:30:22 |


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


2020-10-29 22:30:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-29 22:30:22 | command: <data><node>node_w8oeit0203</node><expire-at>2020-10-30T05:30:17Z</expire-at><entry><content>content_gbo75s0205</content></entry></data>

2020-10-29 22:30:22 | target: http://localhost:8088

2020-10-29 22:30:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-29 22:30:22 | entity: <data><node>node_w8oeit0203</node><expire-at>2020-10-30T05:30:17Z</expire-at><entry><content>content_gbo75s0205</content></entry></data>

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

2020-10-29 22:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1c2db30-43d8-4a79-8a42-ff7e4d22d119</value></item-id></result>

2020-10-29 22:30:22 | contains: true

2020-10-29 22:30:22 | [Mutex] waiting for: [user_regular7a9oec0202@test-domain.com:message:received:content_gbo75s0205]

2020-10-29 22:30:37 | [Mutex] timeout. Not received [user_regular7a9oec0202@test-domain.com:message:received:content_gbo75s0205]

2020-10-29 22:30:37 | [Mutex] isItemNotified: user_regular7a9oec0202@test-domain.com:message:received:content_gbo75s0205 :: false

2020-10-29 22:30:37 |


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


2020-10-29 22:30:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-29 22:30:37 | command: <data><node>node_w8oeit0203</node><entry><content>content_7fapwu0206</content></entry></data>

2020-10-29 22:30:37 | target: http://localhost:8088

2020-10-29 22:30:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-10-29 22:30:37 | entity: <data><node>node_w8oeit0203</node><entry><content>content_7fapwu0206</content></entry></data>

2020-10-29 22:30:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 05:30:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-29 22:30:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>33da1491-5c66-42da-99bb-feff4dcfe134</value></item-id></result>

2020-10-29 22:30:37 | contains: true

2020-10-29 22:30:43 | [Mutex] waiting for: [user_regular7a9oec0202@test-domain.com:message:received:content_7fapwu0206]

2020-10-29 22:30:43 | [Mutex] received everything.

2020-10-29 22:30:43 | [Mutex] isItemNotified: user_regular7a9oec0202@test-domain.com:message:received:content_7fapwu0206 :: true

2020-10-29 22:30:43 |


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


2020-10-29 22:30:43 | [Mutex] received everything.

2020-10-29 22:30:43 | [Mutex] isItemNotified: node_w8oeit0203:subscribe_node:success :: true

2020-10-29 22:30:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-10-29 22:30:43 | command: <data><node>node_w8oeit0203</node><expire-at>2020-10-30T05:30:48Z</expire-at><entry><content>content_fga63x0207</content></entry></data>

2020-10-29 22:30:43 | target: http://localhost:8088

2020-10-29 22:30:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-10-29 22:30:43 | entity: <data><node>node_w8oeit0203</node><expire-at>2020-10-30T05:30:48Z</expire-at><entry><content>content_fga63x0207</content></entry></data>

2020-10-29 22:30:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 05:30:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-10-29 22:30:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>77a4a6bd-45ae-44c8-a99f-c85d314e4c1f</value></item-id></result>

2020-10-29 22:30:43 | contains: true

2020-10-29 22:30:51 | [Mutex] waiting for: [user_regular7a9oec0202@test-domain.com:message:received:content_fga63x0207]

2020-10-29 22:30:51 | [Mutex] waiting for: [user_regular7a9oec0202@test-domain.com:message:received:content_fga63x0207]

2020-10-29 22:31:06 | [Mutex] timeout. Not received [user_regular7a9oec0202@test-domain.com:message:received:content_fga63x0207]

2020-10-29 22:31:06 | [Mutex] received everything.

2020-10-29 22:31:06 | [Mutex] isItemNotified: user_regular7a9oec0202@test-domain.com:message:received:content_fga63x0207 :: false

2020-10-29 22:31:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fga63x0207 :: true