Test duration : 44.884s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.586s |
2022-11-14 22:04:05 |
2022-11-14 22:04:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-14 22:04:05 | ------------------------------------ 2022-11-14 22:04:05 | [Mutex] isItemNotified: node_pfdgtu0204:exists :: false 2022-11-14 22:04:05 | [Mutex] waiting for: [node_pfdgtu0204:create_node] 2022-11-14 22:04:05 | [Mutex] received everything. 2022-11-14 22:04:05 | [Mutex] isItemNotified: node_pfdgtu0204:create_node:success :: true 2022-11-14 22:04:05 | [Mutex] waiting for: [node_pfdgtu0204:subscribe_node] 2022-11-14 22:04:05 | [Mutex] waiting for: [node_pfdgtu0204:subscribe_node] 2022-11-14 22:04:05 | [Mutex] received everything. 2022-11-14 22:04:05 | [Mutex] isItemNotified: node_pfdgtu0204:subscribe_node:success :: true 2022-11-14 22:04:05 | ===== publishing normal message (to online) 2022-11-14 22:04:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 22:04:05 | command: <data><node>node_pfdgtu0204</node><entry><content>content_v0993t0205</content></entry></data> 2022-11-14 22:04:05 | target: http://localhost:8088 2022-11-14 22:04:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-14 22:04:05 | entity: <data><node>node_pfdgtu0204</node><entry><content>content_v0993t0205</content></entry></data> 2022-11-14 22:04:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 06:04:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 22:04:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fa17b0d2-fc67-44ff-adc3-26249d9c1151</value></item-id></result> 2022-11-14 22:04:05 | contains: true 2022-11-14 22:04:05 | [Mutex] waiting for: [user_regularjqdwdi0203@test-domain.com:message:received:content_v0993t0205] 2022-11-14 22:04:05 | [Mutex] received everything. 2022-11-14 22:04:05 | [Mutex] isItemNotified: user_regularjqdwdi0203@test-domain.com:message:received:content_v0993t0205 :: true 2022-11-14 22:04:05 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-14 22:04:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 22:04:05 | command: <data><node>node_pfdgtu0204</node><expire-at>2022-11-15T06:04:00Z</expire-at><entry><content>content_viuwh70206</content></entry></data> 2022-11-14 22:04:05 | target: http://localhost:8088 2022-11-14 22:04:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-14 22:04:05 | entity: <data><node>node_pfdgtu0204</node><expire-at>2022-11-15T06:04:00Z</expire-at><entry><content>content_viuwh70206</content></entry></data> 2022-11-14 22:04:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 06:04:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 22:04:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ec81b63b-70bd-435c-b2b7-a9892e961421</value></item-id></result> 2022-11-14 22:04:05 | contains: true 2022-11-14 22:04:05 | [Mutex] waiting for: [user_regularjqdwdi0203@test-domain.com:message:received:content_viuwh70206] 2022-11-14 22:04:20 | [Mutex] timeout. Not received [user_regularjqdwdi0203@test-domain.com:message:received:content_viuwh70206] 2022-11-14 22:04:20 | [Mutex] isItemNotified: user_regularjqdwdi0203@test-domain.com:message:received:content_viuwh70206 :: false 2022-11-14 22:04:20 | ===== publishing normal message (to offline) 2022-11-14 22:04:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 22:04:20 | command: <data><node>node_pfdgtu0204</node><entry><content>content_snxj0f0207</content></entry></data> 2022-11-14 22:04:20 | target: http://localhost:8088 2022-11-14 22:04:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-14 22:04:20 | entity: <data><node>node_pfdgtu0204</node><entry><content>content_snxj0f0207</content></entry></data> 2022-11-14 22:04:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 06:04:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 22:04:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>683f42e3-0d7b-4c81-a8a3-77332b30e46b</value></item-id></result> 2022-11-14 22:04:20 | contains: true 2022-11-14 22:04:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-14 22:04:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-14 22:04:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-14 22:04:26 | [Mutex] waiting for: [user_regularjqdwdi0203@test-domain.com:message:received:content_snxj0f0207] 2022-11-14 22:04:26 | [Mutex] waiting for: [user_regularjqdwdi0203@test-domain.com:message:received:content_snxj0f0207] 2022-11-14 22:04:26 | [Mutex] received everything. 2022-11-14 22:04:26 | [Mutex] isItemNotified: user_regularjqdwdi0203@test-domain.com:message:received:content_snxj0f0207 :: true 2022-11-14 22:04:26 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-14 22:04:26 | [Mutex] received everything. 2022-11-14 22:04:26 | [Mutex] isItemNotified: node_pfdgtu0204:subscribe_node:success :: true 2022-11-14 22:04:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 22:04:26 | command: <data><node>node_pfdgtu0204</node><expire-at>2022-11-15T06:04:31Z</expire-at><entry><content>content_mqhjyw0208</content></entry></data> 2022-11-14 22:04:26 | target: http://localhost:8088 2022-11-14 22:04:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-14 22:04:26 | entity: <data><node>node_pfdgtu0204</node><expire-at>2022-11-15T06:04:31Z</expire-at><entry><content>content_mqhjyw0208</content></entry></data> 2022-11-14 22:04:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 06:04:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 22:04:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ab820feb-e592-44d6-8331-f5c754b0f527</value></item-id></result> 2022-11-14 22:04:26 | contains: true 2022-11-14 22:04:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-14 22:04:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-14 22:04:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-14 22:04:34 | [Mutex] waiting for: [user_regularjqdwdi0203@test-domain.com:message:received:content_mqhjyw0208] 2022-11-14 22:04:49 | [Mutex] timeout. Not received [user_regularjqdwdi0203@test-domain.com:message:received:content_mqhjyw0208] 2022-11-14 22:04:49 | [Mutex] received everything. 2022-11-14 22:04:49 | [Mutex] isItemNotified: user_regularjqdwdi0203@test-domain.com:message:received:content_mqhjyw0208 :: false 2022-11-14 22:04:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mqhjyw0208 :: true |