Test duration : 44.834s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.641s |
2022-08-31 22:34:55 |
2022-08-31 22:34:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-31 22:34:55 | ------------------------------------ 2022-08-31 22:34:55 | [Mutex] isItemNotified: node_i377vu0204:exists :: false 2022-08-31 22:34:55 | [Mutex] waiting for: [node_i377vu0204:create_node] 2022-08-31 22:34:55 | [Mutex] received everything. 2022-08-31 22:34:55 | [Mutex] isItemNotified: node_i377vu0204:create_node:success :: true 2022-08-31 22:34:55 | [Mutex] waiting for: [node_i377vu0204:subscribe_node] 2022-08-31 22:34:55 | [Mutex] received everything. 2022-08-31 22:34:55 | [Mutex] isItemNotified: node_i377vu0204:subscribe_node:success :: true 2022-08-31 22:34:55 | ===== publishing normal message (to online) 2022-08-31 22:34:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 22:34:55 | command: <data><node>node_i377vu0204</node><entry><content>content_oa981h0205</content></entry></data> 2022-08-31 22:34:55 | target: http://localhost:8088 2022-08-31 22:34:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-31 22:34:55 | entity: <data><node>node_i377vu0204</node><entry><content>content_oa981h0205</content></entry></data> 2022-08-31 22:34:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 05:34:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 22:34:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5f309e08-bb51-4bc5-b4d5-da1bc2197ac6</value></item-id></result> 2022-08-31 22:34:55 | contains: true 2022-08-31 22:34:55 | [Mutex] received everything. 2022-08-31 22:34:55 | [Mutex] isItemNotified: user_regularq6iye60203@test-domain.com:message:received:content_oa981h0205 :: true 2022-08-31 22:34:55 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-31 22:34:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 22:34:55 | command: <data><node>node_i377vu0204</node><expire-at>2022-09-01T05:34:50Z</expire-at><entry><content>content_m24a7f0206</content></entry></data> 2022-08-31 22:34:55 | target: http://localhost:8088 2022-08-31 22:34:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-31 22:34:55 | entity: <data><node>node_i377vu0204</node><expire-at>2022-09-01T05:34:50Z</expire-at><entry><content>content_m24a7f0206</content></entry></data> 2022-08-31 22:34:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 05:34:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 22:34:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>48c78279-eddb-49c8-a8c7-c80831ab8a7b</value></item-id></result> 2022-08-31 22:34:55 | contains: true 2022-08-31 22:34:55 | [Mutex] waiting for: [user_regularq6iye60203@test-domain.com:message:received:content_m24a7f0206] 2022-08-31 22:35:10 | [Mutex] timeout. Not received [user_regularq6iye60203@test-domain.com:message:received:content_m24a7f0206] 2022-08-31 22:35:10 | [Mutex] isItemNotified: user_regularq6iye60203@test-domain.com:message:received:content_m24a7f0206 :: false 2022-08-31 22:35:10 | ===== publishing normal message (to offline) 2022-08-31 22:35:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 22:35:10 | command: <data><node>node_i377vu0204</node><entry><content>content_8b2p0p0207</content></entry></data> 2022-08-31 22:35:10 | target: http://localhost:8088 2022-08-31 22:35:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-31 22:35:10 | entity: <data><node>node_i377vu0204</node><entry><content>content_8b2p0p0207</content></entry></data> 2022-08-31 22:35:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 05:35:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 22:35:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>531e9113-f0a3-48d4-984e-a42aca96e787</value></item-id></result> 2022-08-31 22:35:10 | contains: true 2022-08-31 22:35:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-31 22:35:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-31 22:35:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-31 22:35:15 | [Mutex] waiting for: [user_regularq6iye60203@test-domain.com:message:received:content_8b2p0p0207] 2022-08-31 22:35:15 | [Mutex] waiting for: [user_regularq6iye60203@test-domain.com:message:received:content_8b2p0p0207] 2022-08-31 22:35:15 | [Mutex] received everything. 2022-08-31 22:35:15 | [Mutex] isItemNotified: user_regularq6iye60203@test-domain.com:message:received:content_8b2p0p0207 :: true 2022-08-31 22:35:15 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-31 22:35:15 | [Mutex] received everything. 2022-08-31 22:35:15 | [Mutex] isItemNotified: node_i377vu0204:subscribe_node:success :: true 2022-08-31 22:35:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 22:35:15 | command: <data><node>node_i377vu0204</node><expire-at>2022-09-01T05:35:20Z</expire-at><entry><content>content_q4og7q0208</content></entry></data> 2022-08-31 22:35:15 | target: http://localhost:8088 2022-08-31 22:35:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-31 22:35:15 | entity: <data><node>node_i377vu0204</node><expire-at>2022-09-01T05:35:20Z</expire-at><entry><content>content_q4og7q0208</content></entry></data> 2022-08-31 22:35:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 05:35:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 22:35:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>79114328-32ab-446d-ad52-836d0e5df49b</value></item-id></result> 2022-08-31 22:35:15 | contains: true 2022-08-31 22:35:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-31 22:35:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-31 22:35:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-31 22:35:23 | [Mutex] waiting for: [user_regularq6iye60203@test-domain.com:message:received:content_q4og7q0208] 2022-08-31 22:35:38 | [Mutex] timeout. Not received [user_regularq6iye60203@test-domain.com:message:received:content_q4og7q0208] 2022-08-31 22:35:38 | [Mutex] received everything. 2022-08-31 22:35:38 | [Mutex] isItemNotified: user_regularq6iye60203@test-domain.com:message:received:content_q4og7q0208 :: false 2022-08-31 22:35:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_q4og7q0208 :: true |