Test duration : 44.678s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.600s |
2023-01-10 22:08:58 |
2023-01-10 22:08:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-01-10 22:08:58 | ------------------------------------ 2023-01-10 22:08:58 | [Mutex] isItemNotified: node_pntvc0204:exists :: false 2023-01-10 22:08:58 | [Mutex] waiting for: [node_pntvc0204:create_node] 2023-01-10 22:08:58 | [Mutex] received everything. 2023-01-10 22:08:58 | [Mutex] isItemNotified: node_pntvc0204:create_node:success :: true 2023-01-10 22:08:58 | [Mutex] waiting for: [node_pntvc0204:subscribe_node] 2023-01-10 22:08:58 | [Mutex] waiting for: [node_pntvc0204:subscribe_node] 2023-01-10 22:08:58 | [Mutex] received everything. 2023-01-10 22:08:58 | [Mutex] isItemNotified: node_pntvc0204:subscribe_node:success :: true 2023-01-10 22:08:58 | ===== publishing normal message (to online) 2023-01-10 22:08:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 22:08:58 | command: <data><node>node_pntvc0204</node><entry><content>content_7a12x80205</content></entry></data> 2023-01-10 22:08:58 | target: http://localhost:8088 2023-01-10 22:08:58 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-01-10 22:08:58 | entity: <data><node>node_pntvc0204</node><entry><content>content_7a12x80205</content></entry></data> 2023-01-10 22:08:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 06:08:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 22:08:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e2f167a1-c9ec-40b6-a496-9fd7735f6ef8</value></item-id></result> 2023-01-10 22:08:58 | contains: true 2023-01-10 22:08:58 | [Mutex] waiting for: [user_regularx8qdo70203@test-domain.com:message:received:content_7a12x80205] 2023-01-10 22:08:58 | [Mutex] received everything. 2023-01-10 22:08:58 | [Mutex] isItemNotified: user_regularx8qdo70203@test-domain.com:message:received:content_7a12x80205 :: true 2023-01-10 22:08:58 | ===== publishing already old message - expecting message being filtered out (to online) 2023-01-10 22:08:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 22:08:58 | command: <data><node>node_pntvc0204</node><expire-at>2023-01-11T06:08:53Z</expire-at><entry><content>content_aqzajl0206</content></entry></data> 2023-01-10 22:08:58 | target: http://localhost:8088 2023-01-10 22:08:58 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-01-10 22:08:58 | entity: <data><node>node_pntvc0204</node><expire-at>2023-01-11T06:08:53Z</expire-at><entry><content>content_aqzajl0206</content></entry></data> 2023-01-10 22:08:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 06:08:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 22:08:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>575e808a-319a-45ee-b3df-4c68c2269ef5</value></item-id></result> 2023-01-10 22:08:58 | contains: true 2023-01-10 22:08:58 | [Mutex] waiting for: [user_regularx8qdo70203@test-domain.com:message:received:content_aqzajl0206] 2023-01-10 22:09:13 | [Mutex] timeout. Not received [user_regularx8qdo70203@test-domain.com:message:received:content_aqzajl0206] 2023-01-10 22:09:13 | [Mutex] isItemNotified: user_regularx8qdo70203@test-domain.com:message:received:content_aqzajl0206 :: false 2023-01-10 22:09:13 | ===== publishing normal message (to offline) 2023-01-10 22:09:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 22:09:13 | command: <data><node>node_pntvc0204</node><entry><content>content_x4kjz50207</content></entry></data> 2023-01-10 22:09:13 | target: http://localhost:8088 2023-01-10 22:09:13 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-01-10 22:09:13 | entity: <data><node>node_pntvc0204</node><entry><content>content_x4kjz50207</content></entry></data> 2023-01-10 22:09:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 06:09:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 22:09:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6c610f74-b45d-48be-9261-4b5de45c6c8d</value></item-id></result> 2023-01-10 22:09:13 | contains: true 2023-01-10 22:09:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-01-10 22:09:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-01-10 22:09:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-01-10 22:09:18 | [Mutex] waiting for: [user_regularx8qdo70203@test-domain.com:message:received:content_x4kjz50207] 2023-01-10 22:09:18 | [Mutex] waiting for: [user_regularx8qdo70203@test-domain.com:message:received:content_x4kjz50207] 2023-01-10 22:09:18 | [Mutex] received everything. 2023-01-10 22:09:18 | [Mutex] isItemNotified: user_regularx8qdo70203@test-domain.com:message:received:content_x4kjz50207 :: true 2023-01-10 22:09:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-01-10 22:09:18 | [Mutex] received everything. 2023-01-10 22:09:18 | [Mutex] isItemNotified: node_pntvc0204:subscribe_node:success :: true 2023-01-10 22:09:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 22:09:18 | command: <data><node>node_pntvc0204</node><expire-at>2023-01-11T06:09:23Z</expire-at><entry><content>content_5afle90208</content></entry></data> 2023-01-10 22:09:18 | target: http://localhost:8088 2023-01-10 22:09:18 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-01-10 22:09:18 | entity: <data><node>node_pntvc0204</node><expire-at>2023-01-11T06:09:23Z</expire-at><entry><content>content_5afle90208</content></entry></data> 2023-01-10 22:09:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 06:09:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 22:09:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>339a8e6e-8e99-4ba7-a012-eeba2180b60f</value></item-id></result> 2023-01-10 22:09:18 | contains: true 2023-01-10 22:09:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-01-10 22:09:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-01-10 22:09:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-01-10 22:09:27 | [Mutex] waiting for: [user_regularx8qdo70203@test-domain.com:message:received:content_5afle90208] 2023-01-10 22:09:27 | [Mutex] waiting for: [user_regularx8qdo70203@test-domain.com:message:received:content_5afle90208] 2023-01-10 22:09:42 | [Mutex] timeout. Not received [user_regularx8qdo70203@test-domain.com:message:received:content_5afle90208] 2023-01-10 22:09:42 | [Mutex] received everything. 2023-01-10 22:09:42 | [Mutex] isItemNotified: user_regularx8qdo70203@test-domain.com:message:received:content_5afle90208 :: false 2023-01-10 22:09:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5afle90208 :: true |