Test duration : 45.067s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.615s |
2021-05-06 22:36:45 |
2021-05-06 22:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-06 22:36:45 | ------------------------------------ 2021-05-06 22:36:45 | [Mutex] isItemNotified: node_qbwox00203:exists :: false 2021-05-06 22:36:45 | [Mutex] waiting for: [node_qbwox00203:create_node] 2021-05-06 22:36:45 | [Mutex] received everything. 2021-05-06 22:36:45 | [Mutex] isItemNotified: node_qbwox00203:create_node:success :: true 2021-05-06 22:36:45 | [Mutex] waiting for: [node_qbwox00203:subscribe_node] 2021-05-06 22:36:45 | [Mutex] waiting for: [node_qbwox00203:subscribe_node] 2021-05-06 22:36:45 | [Mutex] received everything. 2021-05-06 22:36:45 | [Mutex] isItemNotified: node_qbwox00203:subscribe_node:success :: true 2021-05-06 22:36:45 | ===== publishing normal message (to online) 2021-05-06 22:36:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-06 22:36:45 | command: <data><node>node_qbwox00203</node><entry><content>content_b0mwol0204</content></entry></data> 2021-05-06 22:36:45 | target: http://localhost:8088 2021-05-06 22:36:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-06 22:36:45 | entity: <data><node>node_qbwox00203</node><entry><content>content_b0mwol0204</content></entry></data> 2021-05-06 22:36:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 05:36:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-06 22:36:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a664dda9-7c27-41f5-9d65-de1ae30901f1</value></item-id></result> 2021-05-06 22:36:45 | contains: true 2021-05-06 22:36:45 | [Mutex] received everything. 2021-05-06 22:36:45 | [Mutex] isItemNotified: user_regularjappuc0202@test-domain.com:message:received:content_b0mwol0204 :: true 2021-05-06 22:36:45 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-06 22:36:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-06 22:36:45 | command: <data><node>node_qbwox00203</node><expire-at>2021-05-07T05:36:40Z</expire-at><entry><content>content_r69ni60205</content></entry></data> 2021-05-06 22:36:45 | target: http://localhost:8088 2021-05-06 22:36:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-06 22:36:45 | entity: <data><node>node_qbwox00203</node><expire-at>2021-05-07T05:36:40Z</expire-at><entry><content>content_r69ni60205</content></entry></data> 2021-05-06 22:36:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 05:36:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-06 22:36:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e174225e-aae6-4d84-a8fd-680ef125e524</value></item-id></result> 2021-05-06 22:36:45 | contains: true 2021-05-06 22:36:45 | [Mutex] waiting for: [user_regularjappuc0202@test-domain.com:message:received:content_r69ni60205] 2021-05-06 22:37:00 | [Mutex] timeout. Not received [user_regularjappuc0202@test-domain.com:message:received:content_r69ni60205] 2021-05-06 22:37:00 | [Mutex] isItemNotified: user_regularjappuc0202@test-domain.com:message:received:content_r69ni60205 :: false 2021-05-06 22:37:00 | ===== publishing normal message (to offline) 2021-05-06 22:37:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-06 22:37:00 | command: <data><node>node_qbwox00203</node><entry><content>content_bn1ygk0206</content></entry></data> 2021-05-06 22:37:00 | target: http://localhost:8088 2021-05-06 22:37:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-06 22:37:00 | entity: <data><node>node_qbwox00203</node><entry><content>content_bn1ygk0206</content></entry></data> 2021-05-06 22:37:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 05:37:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-06 22:37:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>22200e45-051a-4850-9036-8f292311cf53</value></item-id></result> 2021-05-06 22:37:00 | contains: true 2021-05-06 22:37:05 | [Mutex] waiting for: [user_regularjappuc0202@test-domain.com:message:received:content_bn1ygk0206] 2021-05-06 22:37:05 | [Mutex] received everything. 2021-05-06 22:37:05 | [Mutex] isItemNotified: user_regularjappuc0202@test-domain.com:message:received:content_bn1ygk0206 :: true 2021-05-06 22:37:05 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-06 22:37:05 | [Mutex] received everything. 2021-05-06 22:37:05 | [Mutex] isItemNotified: node_qbwox00203:subscribe_node:success :: true 2021-05-06 22:37:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-06 22:37:05 | command: <data><node>node_qbwox00203</node><expire-at>2021-05-07T05:37:10Z</expire-at><entry><content>content_qbpgoi0207</content></entry></data> 2021-05-06 22:37:05 | target: http://localhost:8088 2021-05-06 22:37:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-06 22:37:05 | entity: <data><node>node_qbwox00203</node><expire-at>2021-05-07T05:37:10Z</expire-at><entry><content>content_qbpgoi0207</content></entry></data> 2021-05-06 22:37:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 05:37:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-06 22:37:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3bf38a8c-c0f7-4925-977a-9d5f5084d86c</value></item-id></result> 2021-05-06 22:37:05 | contains: true 2021-05-06 22:37:13 | [Mutex] waiting for: [user_regularjappuc0202@test-domain.com:message:received:content_qbpgoi0207] 2021-05-06 22:37:13 | [Mutex] waiting for: [user_regularjappuc0202@test-domain.com:message:received:content_qbpgoi0207] 2021-05-06 22:37:13 | [Mutex] waiting for: [user_regularjappuc0202@test-domain.com:message:received:content_qbpgoi0207] 2021-05-06 22:37:28 | [Mutex] timeout. Not received [user_regularjappuc0202@test-domain.com:message:received:content_qbpgoi0207] 2021-05-06 22:37:28 | [Mutex] received everything. 2021-05-06 22:37:28 | [Mutex] isItemNotified: user_regularjappuc0202@test-domain.com:message:received:content_qbpgoi0207 :: false 2021-05-06 22:37:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qbpgoi0207 :: true |