Generated by TestNG with ReportNG at 10:15 PDT on Thursday 27 May 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 : 44.932s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.713s
2021-05-27 10:28:45 |

2021-05-27 10:28:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-27 10:28:45 | ------------------------------------

2021-05-27 10:28:45 | [Mutex] isItemNotified: node_2by4b00182:exists :: false

2021-05-27 10:28:45 | [Mutex] waiting for: [node_2by4b00182:create_node]

2021-05-27 10:28:45 | [Mutex] received everything.

2021-05-27 10:28:45 | [Mutex] isItemNotified: node_2by4b00182:create_node:success :: true

2021-05-27 10:28:45 | [Mutex] waiting for: [node_2by4b00182:subscribe_node]

2021-05-27 10:28:45 | [Mutex] waiting for: [node_2by4b00182:subscribe_node]

2021-05-27 10:28:45 | [Mutex] received everything.

2021-05-27 10:28:45 | [Mutex] isItemNotified: node_2by4b00182:subscribe_node:success :: true

2021-05-27 10:28:45 |


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


2021-05-27 10:28:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 10:28:45 | command: <data><node>node_2by4b00182</node><entry><content>content_w8ux3q0183</content></entry></data>

2021-05-27 10:28:45 | target: http://localhost:8088

2021-05-27 10:28:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-27 10:28:45 | entity: <data><node>node_2by4b00182</node><entry><content>content_w8ux3q0183</content></entry></data>

2021-05-27 10:28:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:28:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 10:28:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c1e0e5b-edd3-420a-a4c8-cc7aca2d7bf7</value></item-id></result>

2021-05-27 10:28:45 | contains: true

2021-05-27 10:28:45 | [Mutex] waiting for: [user_regular21vate0181@test-domain.com:message:received:content_w8ux3q0183]

2021-05-27 10:28:45 | [Mutex] received everything.

2021-05-27 10:28:45 | [Mutex] isItemNotified: user_regular21vate0181@test-domain.com:message:received:content_w8ux3q0183 :: true

2021-05-27 10:28:45 |


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


2021-05-27 10:28:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 10:28:45 | command: <data><node>node_2by4b00182</node><expire-at>2021-05-27T17:28:40Z</expire-at><entry><content>content_xtbh8e0184</content></entry></data>

2021-05-27 10:28:45 | target: http://localhost:8088

2021-05-27 10:28:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-27 10:28:45 | entity: <data><node>node_2by4b00182</node><expire-at>2021-05-27T17:28:40Z</expire-at><entry><content>content_xtbh8e0184</content></entry></data>

2021-05-27 10:28:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:28:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 10:28:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cb701cd2-5bcc-4bca-b3d7-546c99363a7d</value></item-id></result>

2021-05-27 10:28:45 | contains: true

2021-05-27 10:28:45 | [Mutex] waiting for: [user_regular21vate0181@test-domain.com:message:received:content_xtbh8e0184]

2021-05-27 10:29:00 | [Mutex] timeout. Not received [user_regular21vate0181@test-domain.com:message:received:content_xtbh8e0184]

2021-05-27 10:29:00 | [Mutex] isItemNotified: user_regular21vate0181@test-domain.com:message:received:content_xtbh8e0184 :: false

2021-05-27 10:29:00 |


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


2021-05-27 10:29:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 10:29:00 | command: <data><node>node_2by4b00182</node><entry><content>content_6cepuz0185</content></entry></data>

2021-05-27 10:29:00 | target: http://localhost:8088

2021-05-27 10:29:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-27 10:29:00 | entity: <data><node>node_2by4b00182</node><entry><content>content_6cepuz0185</content></entry></data>

2021-05-27 10:29:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:29:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 10:29:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3e50b29b-7943-4b69-b9e8-010693d0405f</value></item-id></result>

2021-05-27 10:29:00 | contains: true

2021-05-27 10:29:05 | [Mutex] waiting for: [user_regular21vate0181@test-domain.com:message:received:content_6cepuz0185]

2021-05-27 10:29:05 | [Mutex] waiting for: [user_regular21vate0181@test-domain.com:message:received:content_6cepuz0185]

2021-05-27 10:29:05 | [Mutex] received everything.

2021-05-27 10:29:05 | [Mutex] isItemNotified: user_regular21vate0181@test-domain.com:message:received:content_6cepuz0185 :: true

2021-05-27 10:29:05 |


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


2021-05-27 10:29:05 | [Mutex] received everything.

2021-05-27 10:29:05 | [Mutex] isItemNotified: node_2by4b00182:subscribe_node:success :: true

2021-05-27 10:29:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-27 10:29:05 | command: <data><node>node_2by4b00182</node><expire-at>2021-05-27T17:29:10Z</expire-at><entry><content>content_dhex9x0186</content></entry></data>

2021-05-27 10:29:05 | target: http://localhost:8088

2021-05-27 10:29:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-27 10:29:05 | entity: <data><node>node_2by4b00182</node><expire-at>2021-05-27T17:29:10Z</expire-at><entry><content>content_dhex9x0186</content></entry></data>

2021-05-27 10:29:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:29:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-27 10:29:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c42fa32-2418-48f8-b314-a1926af205f0</value></item-id></result>

2021-05-27 10:29:05 | contains: true

2021-05-27 10:29:14 | [Mutex] waiting for: [user_regular21vate0181@test-domain.com:message:received:content_dhex9x0186]

2021-05-27 10:29:14 | [Mutex] waiting for: [user_regular21vate0181@test-domain.com:message:received:content_dhex9x0186]

2021-05-27 10:29:14 | [Mutex] waiting for: [user_regular21vate0181@test-domain.com:message:received:content_dhex9x0186]

2021-05-27 10:29:29 | [Mutex] timeout. Not received [user_regular21vate0181@test-domain.com:message:received:content_dhex9x0186]

2021-05-27 10:29:29 | [Mutex] received everything.

2021-05-27 10:29:29 | [Mutex] isItemNotified: user_regular21vate0181@test-domain.com:message:received:content_dhex9x0186 :: false

2021-05-27 10:29:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dhex9x0186 :: true