Test duration : 44.384s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.616s |
2023-07-07 23:00:15 |
2023-07-07 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-07 23:00:15 | ------------------------------------ 2023-07-07 23:00:15 | [Mutex] isItemNotified: node_bnm3t30208:exists :: false 2023-07-07 23:00:15 | [Mutex] waiting for: [node_bnm3t30208:create_node] 2023-07-07 23:00:15 | [Mutex] received everything. 2023-07-07 23:00:15 | [Mutex] isItemNotified: node_bnm3t30208:create_node:success :: true 2023-07-07 23:00:15 | [Mutex] waiting for: [node_bnm3t30208:subscribe_node] 2023-07-07 23:00:15 | [Mutex] waiting for: [node_bnm3t30208:subscribe_node] 2023-07-07 23:00:15 | [Mutex] received everything. 2023-07-07 23:00:15 | [Mutex] isItemNotified: node_bnm3t30208:subscribe_node:success :: true 2023-07-07 23:00:15 | ===== publishing normal message (to online) 2023-07-07 23:00:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 23:00:15 | command: <data><node>node_bnm3t30208</node><entry><content>content_brl2nl0209</content></entry></data> 2023-07-07 23:00:15 | target: http://localhost:8088 2023-07-07 23:00:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-07 23:00:15 | entity: <data><node>node_bnm3t30208</node><entry><content>content_brl2nl0209</content></entry></data> 2023-07-07 23:00:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 06:00:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 23:00:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>42c3e545-ec6d-4e0a-ae52-67577b00122d</value></item-id></result> 2023-07-07 23:00:15 | contains: true 2023-07-07 23:00:15 | [Mutex] waiting for: [user_regular3ccm80207@test-domain.com:message:received:content_brl2nl0209] 2023-07-07 23:00:15 | [Mutex] received everything. 2023-07-07 23:00:15 | [Mutex] isItemNotified: user_regular3ccm80207@test-domain.com:message:received:content_brl2nl0209 :: true 2023-07-07 23:00:15 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-07 23:00:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 23:00:15 | command: <data><node>node_bnm3t30208</node><expire-at>2023-07-08T06:00:10Z</expire-at><entry><content>content_ldjsz00210</content></entry></data> 2023-07-07 23:00:15 | target: http://localhost:8088 2023-07-07 23:00:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-07 23:00:15 | entity: <data><node>node_bnm3t30208</node><expire-at>2023-07-08T06:00:10Z</expire-at><entry><content>content_ldjsz00210</content></entry></data> 2023-07-07 23:00:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 06:00:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 23:00:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>399b18be-504c-47c1-8793-4579eb135245</value></item-id></result> 2023-07-07 23:00:15 | contains: true 2023-07-07 23:00:15 | [Mutex] waiting for: [user_regular3ccm80207@test-domain.com:message:received:content_ldjsz00210] 2023-07-07 23:00:30 | [Mutex] timeout. Not received [user_regular3ccm80207@test-domain.com:message:received:content_ldjsz00210] 2023-07-07 23:00:30 | [Mutex] isItemNotified: user_regular3ccm80207@test-domain.com:message:received:content_ldjsz00210 :: false 2023-07-07 23:00:30 | ===== publishing normal message (to offline) 2023-07-07 23:00:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 23:00:30 | command: <data><node>node_bnm3t30208</node><entry><content>content_coyoon0211</content></entry></data> 2023-07-07 23:00:30 | target: http://localhost:8088 2023-07-07 23:00:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-07 23:00:30 | entity: <data><node>node_bnm3t30208</node><entry><content>content_coyoon0211</content></entry></data> 2023-07-07 23:00:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 06:00:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 23:00:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>677615db-c394-4066-b8ea-df50f38fe8c0</value></item-id></result> 2023-07-07 23:00:30 | contains: true 2023-07-07 23:00:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-07 23:00:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-07 23:00:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-07 23:00:35 | [Mutex] waiting for: [user_regular3ccm80207@test-domain.com:message:received:content_coyoon0211] 2023-07-07 23:00:35 | [Mutex] waiting for: [user_regular3ccm80207@test-domain.com:message:received:content_coyoon0211] 2023-07-07 23:00:35 | [Mutex] received everything. 2023-07-07 23:00:35 | [Mutex] isItemNotified: user_regular3ccm80207@test-domain.com:message:received:content_coyoon0211 :: true 2023-07-07 23:00:35 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-07 23:00:35 | [Mutex] received everything. 2023-07-07 23:00:35 | [Mutex] isItemNotified: node_bnm3t30208:subscribe_node:success :: true 2023-07-07 23:00:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 23:00:35 | command: <data><node>node_bnm3t30208</node><expire-at>2023-07-08T06:00:40Z</expire-at><entry><content>content_p0i64m0212</content></entry></data> 2023-07-07 23:00:35 | target: http://localhost:8088 2023-07-07 23:00:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-07 23:00:35 | entity: <data><node>node_bnm3t30208</node><expire-at>2023-07-08T06:00:40Z</expire-at><entry><content>content_p0i64m0212</content></entry></data> 2023-07-07 23:00:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 06:00:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 23:00:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>41975298-7267-40e1-94be-b25adc991cde</value></item-id></result> 2023-07-07 23:00:35 | contains: true 2023-07-07 23:00:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-07 23:00:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-07 23:00:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-07 23:00:44 | [Mutex] waiting for: [user_regular3ccm80207@test-domain.com:message:received:content_p0i64m0212] 2023-07-07 23:00:59 | [Mutex] timeout. Not received [user_regular3ccm80207@test-domain.com:message:received:content_p0i64m0212] 2023-07-07 23:00:59 | [Mutex] received everything. 2023-07-07 23:00:59 | [Mutex] isItemNotified: user_regular3ccm80207@test-domain.com:message:received:content_p0i64m0212 :: false 2023-07-07 23:00:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_p0i64m0212 :: true |