Test duration : 46.247s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.932s |
2020-10-27 23:00:44 |
2020-10-27 23:00:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-27 23:00:44 | ------------------------------------ 2020-10-27 23:00:44 | [Mutex] isItemNotified: node_dfvchq0203:exists :: false 2020-10-27 23:00:44 | [Mutex] waiting for: [node_dfvchq0203:create_node] 2020-10-27 23:00:44 | [Mutex] received everything. 2020-10-27 23:00:44 | [Mutex] isItemNotified: node_dfvchq0203:create_node:success :: true 2020-10-27 23:00:44 | [Mutex] waiting for: [node_dfvchq0203:subscribe_node] 2020-10-27 23:00:44 | [Mutex] waiting for: [node_dfvchq0203:subscribe_node] 2020-10-27 23:00:44 | [Mutex] received everything. 2020-10-27 23:00:44 | [Mutex] isItemNotified: node_dfvchq0203:subscribe_node:success :: true 2020-10-27 23:00:44 | ===== publishing normal message (to online) 2020-10-27 23:00:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-27 23:00:44 | command: <data><node>node_dfvchq0203</node><entry><content>content_mw9r330204</content></entry></data> 2020-10-27 23:00:44 | target: http://localhost:8088 2020-10-27 23:00:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-27 23:00:44 | entity: <data><node>node_dfvchq0203</node><entry><content>content_mw9r330204</content></entry></data> 2020-10-27 23:00:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 06:00:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-27 23:00:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a19d1a4c-aa23-4c16-85e7-0a5572ff4f76</value></item-id></result> 2020-10-27 23:00:44 | contains: true 2020-10-27 23:00:44 | [Mutex] waiting for: [user_regularflejb10202@test-domain.com:message:received:content_mw9r330204] 2020-10-27 23:00:44 | [Mutex] received everything. 2020-10-27 23:00:44 | [Mutex] isItemNotified: user_regularflejb10202@test-domain.com:message:received:content_mw9r330204 :: true 2020-10-27 23:00:44 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-27 23:00:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-27 23:00:44 | command: <data><node>node_dfvchq0203</node><expire-at>2020-10-28T06:00:39Z</expire-at><entry><content>content_xyjelp0205</content></entry></data> 2020-10-27 23:00:44 | target: http://localhost:8088 2020-10-27 23:00:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-27 23:00:44 | entity: <data><node>node_dfvchq0203</node><expire-at>2020-10-28T06:00:39Z</expire-at><entry><content>content_xyjelp0205</content></entry></data> 2020-10-27 23:00:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 06:00:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-27 23:00:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8c1704fa-41a2-4e81-b3a0-1327f125e506</value></item-id></result> 2020-10-27 23:00:44 | contains: true 2020-10-27 23:00:44 | [Mutex] waiting for: [user_regularflejb10202@test-domain.com:message:received:content_xyjelp0205] 2020-10-27 23:00:59 | [Mutex] timeout. Not received [user_regularflejb10202@test-domain.com:message:received:content_xyjelp0205] 2020-10-27 23:00:59 | [Mutex] isItemNotified: user_regularflejb10202@test-domain.com:message:received:content_xyjelp0205 :: false 2020-10-27 23:00:59 | ===== publishing normal message (to offline) 2020-10-27 23:00:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-27 23:00:59 | command: <data><node>node_dfvchq0203</node><entry><content>content_58xeg90206</content></entry></data> 2020-10-27 23:00:59 | target: http://localhost:8088 2020-10-27 23:00:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-27 23:00:59 | entity: <data><node>node_dfvchq0203</node><entry><content>content_58xeg90206</content></entry></data> 2020-10-27 23:00:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 06:00:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-27 23:00:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6f0de692-8a0d-49cf-a316-a0ad12b1bf9b</value></item-id></result> 2020-10-27 23:00:59 | contains: true 2020-10-27 23:01:04 | [Mutex] waiting for: [user_regularflejb10202@test-domain.com:message:received:content_58xeg90206] 2020-10-27 23:01:04 | [Mutex] waiting for: [user_regularflejb10202@test-domain.com:message:received:content_58xeg90206] 2020-10-27 23:01:04 | [Mutex] received everything. 2020-10-27 23:01:04 | [Mutex] isItemNotified: user_regularflejb10202@test-domain.com:message:received:content_58xeg90206 :: true 2020-10-27 23:01:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-27 23:01:04 | [Mutex] received everything. 2020-10-27 23:01:04 | [Mutex] isItemNotified: node_dfvchq0203:subscribe_node:success :: true 2020-10-27 23:01:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-27 23:01:04 | command: <data><node>node_dfvchq0203</node><expire-at>2020-10-28T06:01:09Z</expire-at><entry><content>content_j80j640207</content></entry></data> 2020-10-27 23:01:04 | target: http://localhost:8088 2020-10-27 23:01:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-27 23:01:04 | entity: <data><node>node_dfvchq0203</node><expire-at>2020-10-28T06:01:09Z</expire-at><entry><content>content_j80j640207</content></entry></data> 2020-10-27 23:01:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 06:01:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-27 23:01:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5542e3e3-9c4a-4652-88c3-c4eb74eadec5</value></item-id></result> 2020-10-27 23:01:04 | contains: true 2020-10-27 23:01:13 | [Mutex] waiting for: [user_regularflejb10202@test-domain.com:message:received:content_j80j640207] 2020-10-27 23:01:13 | [Mutex] waiting for: [user_regularflejb10202@test-domain.com:message:received:content_j80j640207] 2020-10-27 23:01:28 | [Mutex] timeout. Not received [user_regularflejb10202@test-domain.com:message:received:content_j80j640207] 2020-10-27 23:01:28 | [Mutex] received everything. 2020-10-27 23:01:28 | [Mutex] isItemNotified: user_regularflejb10202@test-domain.com:message:received:content_j80j640207 :: false 2020-10-27 23:01:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j80j640207 :: true |