Generated by TestNG with ReportNG at 21:45 PST on Tuesday 26 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 : 45.411s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.821s
2021-01-26 22:01:39 |

2021-01-26 22:01:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-26 22:01:39 | ------------------------------------

2021-01-26 22:01:39 | [Mutex] isItemNotified: node_kuzw9x0203:exists :: false

2021-01-26 22:01:39 | [Mutex] waiting for: [node_kuzw9x0203:create_node]

2021-01-26 22:01:39 | [Mutex] received everything.

2021-01-26 22:01:39 | [Mutex] isItemNotified: node_kuzw9x0203:create_node:success :: true

2021-01-26 22:01:39 | [Mutex] waiting for: [node_kuzw9x0203:subscribe_node]

2021-01-26 22:01:39 | [Mutex] received everything.

2021-01-26 22:01:39 | [Mutex] isItemNotified: node_kuzw9x0203:subscribe_node:success :: true

2021-01-26 22:01:39 |


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


2021-01-26 22:01:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-26 22:01:39 | command: <data><node>node_kuzw9x0203</node><entry><content>content_ago3br0204</content></entry></data>

2021-01-26 22:01:39 | target: http://localhost:8088

2021-01-26 22:01:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-26 22:01:39 | entity: <data><node>node_kuzw9x0203</node><entry><content>content_ago3br0204</content></entry></data>

2021-01-26 22:01:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 06:01:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 22:01:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d42739a7-4ca3-4645-88a9-c5184af964b1</value></item-id></result>

2021-01-26 22:01:39 | contains: true

2021-01-26 22:01:39 | [Mutex] waiting for: [user_regular81ccwu0202@test-domain.com:message:received:content_ago3br0204]

2021-01-26 22:01:39 | [Mutex] received everything.

2021-01-26 22:01:39 | [Mutex] isItemNotified: user_regular81ccwu0202@test-domain.com:message:received:content_ago3br0204 :: true

2021-01-26 22:01:39 |


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


2021-01-26 22:01:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-26 22:01:39 | command: <data><node>node_kuzw9x0203</node><expire-at>2021-01-27T06:01:34Z</expire-at><entry><content>content_yzdxr40205</content></entry></data>

2021-01-26 22:01:39 | target: http://localhost:8088

2021-01-26 22:01:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-26 22:01:39 | entity: <data><node>node_kuzw9x0203</node><expire-at>2021-01-27T06:01:34Z</expire-at><entry><content>content_yzdxr40205</content></entry></data>

2021-01-26 22:01:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 06:01:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 22:01:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>23d36e27-e1ca-4593-bbca-9571e9be59a4</value></item-id></result>

2021-01-26 22:01:39 | contains: true

2021-01-26 22:01:39 | [Mutex] waiting for: [user_regular81ccwu0202@test-domain.com:message:received:content_yzdxr40205]

2021-01-26 22:01:54 | [Mutex] timeout. Not received [user_regular81ccwu0202@test-domain.com:message:received:content_yzdxr40205]

2021-01-26 22:01:54 | [Mutex] isItemNotified: user_regular81ccwu0202@test-domain.com:message:received:content_yzdxr40205 :: false

2021-01-26 22:01:54 |


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


2021-01-26 22:01:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-26 22:01:54 | command: <data><node>node_kuzw9x0203</node><entry><content>content_p5ksqq0206</content></entry></data>

2021-01-26 22:01:54 | target: http://localhost:8088

2021-01-26 22:01:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-26 22:01:54 | entity: <data><node>node_kuzw9x0203</node><entry><content>content_p5ksqq0206</content></entry></data>

2021-01-26 22:01:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 06:01:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 22:01:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cda8afa8-037c-4314-a91a-8c003bafbb75</value></item-id></result>

2021-01-26 22:01:54 | contains: true

2021-01-26 22:01:59 | [Mutex] waiting for: [user_regular81ccwu0202@test-domain.com:message:received:content_p5ksqq0206]

2021-01-26 22:01:59 | [Mutex] received everything.

2021-01-26 22:01:59 | [Mutex] isItemNotified: user_regular81ccwu0202@test-domain.com:message:received:content_p5ksqq0206 :: true

2021-01-26 22:01:59 |


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


2021-01-26 22:01:59 | [Mutex] received everything.

2021-01-26 22:01:59 | [Mutex] isItemNotified: node_kuzw9x0203:subscribe_node:success :: true

2021-01-26 22:01:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-26 22:01:59 | command: <data><node>node_kuzw9x0203</node><expire-at>2021-01-27T06:02:04Z</expire-at><entry><content>content_uu4l3o0207</content></entry></data>

2021-01-26 22:01:59 | target: http://localhost:8088

2021-01-26 22:01:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-26 22:01:59 | entity: <data><node>node_kuzw9x0203</node><expire-at>2021-01-27T06:02:04Z</expire-at><entry><content>content_uu4l3o0207</content></entry></data>

2021-01-26 22:01:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 06:01:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-26 22:01:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5504babc-7d5f-400b-84a7-199f74e195dd</value></item-id></result>

2021-01-26 22:01:59 | contains: true

2021-01-26 22:02:08 | [Mutex] waiting for: [user_regular81ccwu0202@test-domain.com:message:received:content_uu4l3o0207]

2021-01-26 22:02:23 | [Mutex] timeout. Not received [user_regular81ccwu0202@test-domain.com:message:received:content_uu4l3o0207]

2021-01-26 22:02:23 | [Mutex] received everything.

2021-01-26 22:02:23 | [Mutex] isItemNotified: user_regular81ccwu0202@test-domain.com:message:received:content_uu4l3o0207 :: false

2021-01-26 22:02:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uu4l3o0207 :: true