Test duration : 44.642s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.540s |
2023-03-23 23:01:00 |
2023-03-23 23:01:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-23 23:01:00 | ------------------------------------ 2023-03-23 23:01:00 | [Mutex] isItemNotified: node_soluka0208:exists :: false 2023-03-23 23:01:00 | [Mutex] waiting for: [node_soluka0208:create_node] 2023-03-23 23:01:00 | [Mutex] waiting for: [node_soluka0208:create_node] 2023-03-23 23:01:00 | [Mutex] received everything. 2023-03-23 23:01:00 | [Mutex] isItemNotified: node_soluka0208:create_node:success :: true 2023-03-23 23:01:00 | [Mutex] waiting for: [node_soluka0208:subscribe_node] 2023-03-23 23:01:00 | [Mutex] waiting for: [node_soluka0208:subscribe_node] 2023-03-23 23:01:00 | [Mutex] received everything. 2023-03-23 23:01:00 | [Mutex] isItemNotified: node_soluka0208:subscribe_node:success :: true 2023-03-23 23:01:00 | ===== publishing normal message (to online) 2023-03-23 23:01:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-23 23:01:00 | command: <data><node>node_soluka0208</node><entry><content>content_at0yjh0209</content></entry></data> 2023-03-23 23:01:00 | target: http://localhost:8088 2023-03-23 23:01:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-23 23:01:00 | entity: <data><node>node_soluka0208</node><entry><content>content_at0yjh0209</content></entry></data> 2023-03-23 23:01:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 06:01:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-23 23:01:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>55814461-a45c-4261-8be2-a72fdc9ed024</value></item-id></result> 2023-03-23 23:01:00 | contains: true 2023-03-23 23:01:00 | [Mutex] received everything. 2023-03-23 23:01:00 | [Mutex] isItemNotified: user_regular3afn0s0207@test-domain.com:message:received:content_at0yjh0209 :: true 2023-03-23 23:01:00 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-23 23:01:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-23 23:01:00 | command: <data><node>node_soluka0208</node><expire-at>2023-03-24T06:00:55Z</expire-at><entry><content>content_g4su950210</content></entry></data> 2023-03-23 23:01:00 | target: http://localhost:8088 2023-03-23 23:01:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-23 23:01:00 | entity: <data><node>node_soluka0208</node><expire-at>2023-03-24T06:00:55Z</expire-at><entry><content>content_g4su950210</content></entry></data> 2023-03-23 23:01:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 06:01:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-23 23:01:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ec2acadd-90f8-427a-b144-8cd2eb522e57</value></item-id></result> 2023-03-23 23:01:00 | contains: true 2023-03-23 23:01:00 | [Mutex] waiting for: [user_regular3afn0s0207@test-domain.com:message:received:content_g4su950210] 2023-03-23 23:01:15 | [Mutex] timeout. Not received [user_regular3afn0s0207@test-domain.com:message:received:content_g4su950210] 2023-03-23 23:01:15 | [Mutex] isItemNotified: user_regular3afn0s0207@test-domain.com:message:received:content_g4su950210 :: false 2023-03-23 23:01:15 | ===== publishing normal message (to offline) 2023-03-23 23:01:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-23 23:01:16 | command: <data><node>node_soluka0208</node><entry><content>content_rxrg9i0211</content></entry></data> 2023-03-23 23:01:16 | target: http://localhost:8088 2023-03-23 23:01:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-23 23:01:16 | entity: <data><node>node_soluka0208</node><entry><content>content_rxrg9i0211</content></entry></data> 2023-03-23 23:01:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 06:01:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-23 23:01:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b355888b-ae28-4915-9c90-87b486892310</value></item-id></result> 2023-03-23 23:01:16 | contains: true 2023-03-23 23:01:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-23 23:01:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-23 23:01:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-23 23:01:21 | [Mutex] waiting for: [user_regular3afn0s0207@test-domain.com:message:received:content_rxrg9i0211] 2023-03-23 23:01:21 | [Mutex] waiting for: [user_regular3afn0s0207@test-domain.com:message:received:content_rxrg9i0211] 2023-03-23 23:01:21 | [Mutex] received everything. 2023-03-23 23:01:21 | [Mutex] isItemNotified: user_regular3afn0s0207@test-domain.com:message:received:content_rxrg9i0211 :: true 2023-03-23 23:01:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-23 23:01:21 | [Mutex] received everything. 2023-03-23 23:01:21 | [Mutex] isItemNotified: node_soluka0208:subscribe_node:success :: true 2023-03-23 23:01:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-23 23:01:21 | command: <data><node>node_soluka0208</node><expire-at>2023-03-24T06:01:26Z</expire-at><entry><content>content_isewv10212</content></entry></data> 2023-03-23 23:01:21 | target: http://localhost:8088 2023-03-23 23:01:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-23 23:01:21 | entity: <data><node>node_soluka0208</node><expire-at>2023-03-24T06:01:26Z</expire-at><entry><content>content_isewv10212</content></entry></data> 2023-03-23 23:01:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 06:01:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-23 23:01:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8a9ab454-714a-4f6c-86b5-de3bc36c8aba</value></item-id></result> 2023-03-23 23:01:21 | contains: true 2023-03-23 23:01:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-23 23:01:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-23 23:01:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-23 23:01:29 | [Mutex] waiting for: [user_regular3afn0s0207@test-domain.com:message:received:content_isewv10212] 2023-03-23 23:01:29 | [Mutex] waiting for: [user_regular3afn0s0207@test-domain.com:message:received:content_isewv10212] 2023-03-23 23:01:44 | [Mutex] timeout. Not received [user_regular3afn0s0207@test-domain.com:message:received:content_isewv10212] 2023-03-23 23:01:44 | [Mutex] received everything. 2023-03-23 23:01:44 | [Mutex] isItemNotified: user_regular3afn0s0207@test-domain.com:message:received:content_isewv10212 :: false 2023-03-23 23:01:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_isewv10212 :: true |