Test duration : 45.055s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.729s |
2022-08-17 22:33:34 |
2022-08-17 22:33:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-17 22:33:34 | ------------------------------------ 2022-08-17 22:33:34 | [Mutex] isItemNotified: node_3zmyu90204:exists :: false 2022-08-17 22:33:34 | [Mutex] waiting for: [node_3zmyu90204:create_node] 2022-08-17 22:33:34 | [Mutex] received everything. 2022-08-17 22:33:34 | [Mutex] isItemNotified: node_3zmyu90204:create_node:success :: true 2022-08-17 22:33:34 | [Mutex] waiting for: [node_3zmyu90204:subscribe_node] 2022-08-17 22:33:34 | [Mutex] received everything. 2022-08-17 22:33:34 | [Mutex] isItemNotified: node_3zmyu90204:subscribe_node:success :: true 2022-08-17 22:33:34 | ===== publishing normal message (to online) 2022-08-17 22:33:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 22:33:34 | command: <data><node>node_3zmyu90204</node><entry><content>content_yef4e10205</content></entry></data> 2022-08-17 22:33:34 | target: http://localhost:8088 2022-08-17 22:33:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-17 22:33:34 | entity: <data><node>node_3zmyu90204</node><entry><content>content_yef4e10205</content></entry></data> 2022-08-17 22:33:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 05:33:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 22:33:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b15495b8-3811-4781-8bc5-21500ff91066</value></item-id></result> 2022-08-17 22:33:34 | contains: true 2022-08-17 22:33:34 | [Mutex] received everything. 2022-08-17 22:33:34 | [Mutex] isItemNotified: user_regularjtc52r0203@test-domain.com:message:received:content_yef4e10205 :: true 2022-08-17 22:33:34 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-17 22:33:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 22:33:34 | command: <data><node>node_3zmyu90204</node><expire-at>2022-08-18T05:33:29Z</expire-at><entry><content>content_s9dn2e0206</content></entry></data> 2022-08-17 22:33:34 | target: http://localhost:8088 2022-08-17 22:33:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-17 22:33:34 | entity: <data><node>node_3zmyu90204</node><expire-at>2022-08-18T05:33:29Z</expire-at><entry><content>content_s9dn2e0206</content></entry></data> 2022-08-17 22:33:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 05:33:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 22:33:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>059e9332-412e-41b0-bc38-ae5bc1b88dd3</value></item-id></result> 2022-08-17 22:33:34 | contains: true 2022-08-17 22:33:34 | [Mutex] waiting for: [user_regularjtc52r0203@test-domain.com:message:received:content_s9dn2e0206] 2022-08-17 22:33:49 | [Mutex] timeout. Not received [user_regularjtc52r0203@test-domain.com:message:received:content_s9dn2e0206] 2022-08-17 22:33:49 | [Mutex] isItemNotified: user_regularjtc52r0203@test-domain.com:message:received:content_s9dn2e0206 :: false 2022-08-17 22:33:49 | ===== publishing normal message (to offline) 2022-08-17 22:33:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 22:33:49 | command: <data><node>node_3zmyu90204</node><entry><content>content_hyw7wa0207</content></entry></data> 2022-08-17 22:33:49 | target: http://localhost:8088 2022-08-17 22:33:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-17 22:33:49 | entity: <data><node>node_3zmyu90204</node><entry><content>content_hyw7wa0207</content></entry></data> 2022-08-17 22:33:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 05:33:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 22:33:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f7b25be2-b673-493d-bc97-859ec833f4c4</value></item-id></result> 2022-08-17 22:33:49 | contains: true 2022-08-17 22:33:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-17 22:33:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-17 22:33:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-17 22:33:55 | [Mutex] waiting for: [user_regularjtc52r0203@test-domain.com:message:received:content_hyw7wa0207] 2022-08-17 22:33:55 | [Mutex] received everything. 2022-08-17 22:33:55 | [Mutex] isItemNotified: user_regularjtc52r0203@test-domain.com:message:received:content_hyw7wa0207 :: true 2022-08-17 22:33:55 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-17 22:33:55 | [Mutex] received everything. 2022-08-17 22:33:55 | [Mutex] isItemNotified: node_3zmyu90204:subscribe_node:success :: true 2022-08-17 22:33:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-17 22:33:55 | command: <data><node>node_3zmyu90204</node><expire-at>2022-08-18T05:34:00Z</expire-at><entry><content>content_36ypge0208</content></entry></data> 2022-08-17 22:33:55 | target: http://localhost:8088 2022-08-17 22:33:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-17 22:33:55 | entity: <data><node>node_3zmyu90204</node><expire-at>2022-08-18T05:34:00Z</expire-at><entry><content>content_36ypge0208</content></entry></data> 2022-08-17 22:33:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Aug 2022 05:33:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-17 22:33:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d648f01d-1b58-4601-b71c-1f8d60086037</value></item-id></result> 2022-08-17 22:33:55 | contains: true 2022-08-17 22:34:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-17 22:34:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-17 22:34:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-17 22:34:03 | [Mutex] waiting for: [user_regularjtc52r0203@test-domain.com:message:received:content_36ypge0208] 2022-08-17 22:34:03 | [Mutex] waiting for: [user_regularjtc52r0203@test-domain.com:message:received:content_36ypge0208] 2022-08-17 22:34:03 | [Mutex] waiting for: [user_regularjtc52r0203@test-domain.com:message:received:content_36ypge0208] 2022-08-17 22:34:18 | [Mutex] timeout. Not received [user_regularjtc52r0203@test-domain.com:message:received:content_36ypge0208] 2022-08-17 22:34:18 | [Mutex] received everything. 2022-08-17 22:34:18 | [Mutex] isItemNotified: user_regularjtc52r0203@test-domain.com:message:received:content_36ypge0208 :: false 2022-08-17 22:34:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_36ypge0208 :: true |