Test duration : 44.712s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.582s |
2022-12-30 07:46:32 |
2022-12-30 07:46:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-30 07:46:32 | ------------------------------------ 2022-12-30 07:46:32 | [Mutex] isItemNotified: node_wyv1520202:exists :: false 2022-12-30 07:46:32 | [Mutex] waiting for: [node_wyv1520202:create_node] 2022-12-30 07:46:32 | [Mutex] waiting for: [node_wyv1520202:create_node] 2022-12-30 07:46:32 | [Mutex] received everything. 2022-12-30 07:46:32 | [Mutex] isItemNotified: node_wyv1520202:create_node:success :: true 2022-12-30 07:46:32 | [Mutex] waiting for: [node_wyv1520202:subscribe_node] 2022-12-30 07:46:32 | [Mutex] waiting for: [node_wyv1520202:subscribe_node] 2022-12-30 07:46:32 | [Mutex] received everything. 2022-12-30 07:46:32 | [Mutex] isItemNotified: node_wyv1520202:subscribe_node:success :: true 2022-12-30 07:46:32 | ===== publishing normal message (to online) 2022-12-30 07:46:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 07:46:32 | command: <data><node>node_wyv1520202</node><entry><content>content_9inmej0203</content></entry></data> 2022-12-30 07:46:32 | target: http://localhost:8088 2022-12-30 07:46:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 07:46:32 | entity: <data><node>node_wyv1520202</node><entry><content>content_9inmej0203</content></entry></data> 2022-12-30 07:46:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 15:46:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 07:46:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1a2317af-b079-4c7f-9693-177f373060df</value></item-id></result> 2022-12-30 07:46:32 | contains: true 2022-12-30 07:46:32 | [Mutex] received everything. 2022-12-30 07:46:32 | [Mutex] isItemNotified: user_regular5bki8k0201@test-domain.com:message:received:content_9inmej0203 :: true 2022-12-30 07:46:32 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-30 07:46:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 07:46:32 | command: <data><node>node_wyv1520202</node><expire-at>2022-12-30T15:46:27Z</expire-at><entry><content>content_sxko650204</content></entry></data> 2022-12-30 07:46:32 | target: http://localhost:8088 2022-12-30 07:46:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 07:46:32 | entity: <data><node>node_wyv1520202</node><expire-at>2022-12-30T15:46:27Z</expire-at><entry><content>content_sxko650204</content></entry></data> 2022-12-30 07:46:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 15:46:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 07:46:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4f981262-f0cd-4b0f-8405-c74667ac2814</value></item-id></result> 2022-12-30 07:46:32 | contains: true 2022-12-30 07:46:32 | [Mutex] waiting for: [user_regular5bki8k0201@test-domain.com:message:received:content_sxko650204] 2022-12-30 07:46:47 | [Mutex] timeout. Not received [user_regular5bki8k0201@test-domain.com:message:received:content_sxko650204] 2022-12-30 07:46:47 | [Mutex] isItemNotified: user_regular5bki8k0201@test-domain.com:message:received:content_sxko650204 :: false 2022-12-30 07:46:47 | ===== publishing normal message (to offline) 2022-12-30 07:46:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 07:46:47 | command: <data><node>node_wyv1520202</node><entry><content>content_gf8lu20205</content></entry></data> 2022-12-30 07:46:47 | target: http://localhost:8088 2022-12-30 07:46:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 07:46:47 | entity: <data><node>node_wyv1520202</node><entry><content>content_gf8lu20205</content></entry></data> 2022-12-30 07:46:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 15:46:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 07:46:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d064123d-49de-434e-bd98-ea0cfaabb26d</value></item-id></result> 2022-12-30 07:46:47 | contains: true 2022-12-30 07:46:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 07:46:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=479 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 07:46:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=479 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 07:46:53 | [Mutex] waiting for: [user_regular5bki8k0201@test-domain.com:message:received:content_gf8lu20205] 2022-12-30 07:46:53 | [Mutex] waiting for: [user_regular5bki8k0201@test-domain.com:message:received:content_gf8lu20205] 2022-12-30 07:46:53 | [Mutex] received everything. 2022-12-30 07:46:53 | [Mutex] isItemNotified: user_regular5bki8k0201@test-domain.com:message:received:content_gf8lu20205 :: true 2022-12-30 07:46:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-30 07:46:53 | [Mutex] received everything. 2022-12-30 07:46:53 | [Mutex] isItemNotified: node_wyv1520202:subscribe_node:success :: true 2022-12-30 07:46:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 07:46:53 | command: <data><node>node_wyv1520202</node><expire-at>2022-12-30T15:46:58Z</expire-at><entry><content>content_xb5y5g0206</content></entry></data> 2022-12-30 07:46:53 | target: http://localhost:8088 2022-12-30 07:46:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 07:46:53 | entity: <data><node>node_wyv1520202</node><expire-at>2022-12-30T15:46:58Z</expire-at><entry><content>content_xb5y5g0206</content></entry></data> 2022-12-30 07:46:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 15:46:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 07:46:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f50dc636-d6d3-41c4-a13d-426a86a8f4a9</value></item-id></result> 2022-12-30 07:46:53 | contains: true 2022-12-30 07:47:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 07:47:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 07:47:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 07:47:01 | [Mutex] waiting for: [user_regular5bki8k0201@test-domain.com:message:received:content_xb5y5g0206] 2022-12-30 07:47:16 | [Mutex] timeout. Not received [user_regular5bki8k0201@test-domain.com:message:received:content_xb5y5g0206] 2022-12-30 07:47:16 | [Mutex] received everything. 2022-12-30 07:47:16 | [Mutex] isItemNotified: user_regular5bki8k0201@test-domain.com:message:received:content_xb5y5g0206 :: false 2022-12-30 07:47:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xb5y5g0206 :: true |