Test duration: 44.840s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.640s |
2020-06-18 23:55:03 |
2020-06-18 23:55:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-18 23:55:03 | ------------------------------------ 2020-06-18 23:55:03 | [Mutex] isItemNotified: node_tz1z2x0206:exists :: false 2020-06-18 23:55:03 | [Mutex] waiting for: [node_tz1z2x0206:create_node] 2020-06-18 23:55:03 | [Mutex] received everything. 2020-06-18 23:55:03 | [Mutex] isItemNotified: node_tz1z2x0206:create_node:success :: true 2020-06-18 23:55:03 | [Mutex] waiting for: [node_tz1z2x0206:subscribe_node] 2020-06-18 23:55:03 | [Mutex] received everything. 2020-06-18 23:55:03 | [Mutex] isItemNotified: node_tz1z2x0206:subscribe_node:success :: true 2020-06-18 23:55:03 | ===== publishing normal message (to online) 2020-06-18 23:55:03 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-18 23:55:03 | command: <data><node>node_tz1z2x0206</node><entry><content>content_c0huaa0207</content></entry></data> 2020-06-18 23:55:03 | target: http://localhost:8088 2020-06-18 23:55:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-18 23:55:03 | entity: <data><node>node_tz1z2x0206</node><entry><content>content_c0huaa0207</content></entry></data> 2020-06-18 23:55:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 06:55:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-18 23:55:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>981744aa-53e5-4a6f-b8bc-20e0c0716c05</value></item-id></result> 2020-06-18 23:55:03 | contains: true 2020-06-18 23:55:03 | [Mutex] received everything. 2020-06-18 23:55:03 | [Mutex] isItemNotified: user_regularvhsxol0205@localhost:message:received:content_c0huaa0207 :: true 2020-06-18 23:55:03 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-18 23:55:03 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-18 23:55:03 | command: <data><node>node_tz1z2x0206</node><expire-at>2020-06-19T06:54:58Z</expire-at><entry><content>content_8gr5q90208</content></entry></data> 2020-06-18 23:55:03 | target: http://localhost:8088 2020-06-18 23:55:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-18 23:55:03 | entity: <data><node>node_tz1z2x0206</node><expire-at>2020-06-19T06:54:58Z</expire-at><entry><content>content_8gr5q90208</content></entry></data> 2020-06-18 23:55:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 06:55:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-18 23:55:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f9cc4442-38c4-4806-a8ff-d33b173002b6</value></item-id></result> 2020-06-18 23:55:03 | contains: true 2020-06-18 23:55:03 | [Mutex] waiting for: [user_regularvhsxol0205@localhost:message:received:content_8gr5q90208] 2020-06-18 23:55:18 | [Mutex] timeout. Not received [user_regularvhsxol0205@localhost:message:received:content_8gr5q90208] 2020-06-18 23:55:18 | [Mutex] isItemNotified: user_regularvhsxol0205@localhost:message:received:content_8gr5q90208 :: false 2020-06-18 23:55:18 | ===== publishing normal message (to offline) 2020-06-18 23:55:18 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-18 23:55:18 | command: <data><node>node_tz1z2x0206</node><entry><content>content_9n0yx40209</content></entry></data> 2020-06-18 23:55:18 | target: http://localhost:8088 2020-06-18 23:55:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-18 23:55:18 | entity: <data><node>node_tz1z2x0206</node><entry><content>content_9n0yx40209</content></entry></data> 2020-06-18 23:55:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 06:55:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-18 23:55:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>da592200-2da4-4a8d-acc7-6b9180947af0</value></item-id></result> 2020-06-18 23:55:18 | contains: true 2020-06-18 23:55:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-18 23:55:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] DNS entry stored in session object: localhost:5222 2020-06-18 23:55:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-18 23:55:23 | [Mutex] waiting for: [user_regularvhsxol0205@localhost:message:received:content_9n0yx40209] 2020-06-18 23:55:23 | [Mutex] received everything. 2020-06-18 23:55:23 | [Mutex] isItemNotified: user_regularvhsxol0205@localhost:message:received:content_9n0yx40209 :: true 2020-06-18 23:55:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-18 23:55:23 | [Mutex] received everything. 2020-06-18 23:55:23 | [Mutex] isItemNotified: node_tz1z2x0206:subscribe_node:success :: true 2020-06-18 23:55:23 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-18 23:55:23 | command: <data><node>node_tz1z2x0206</node><expire-at>2020-06-19T06:55:28Z</expire-at><entry><content>content_jugj8x0210</content></entry></data> 2020-06-18 23:55:23 | target: http://localhost:8088 2020-06-18 23:55:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-18 23:55:23 | entity: <data><node>node_tz1z2x0206</node><expire-at>2020-06-19T06:55:28Z</expire-at><entry><content>content_jugj8x0210</content></entry></data> 2020-06-18 23:55:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 06:55:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-18 23:55:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b30419c4-1a57-4de1-b4f6-5c337ca59bbc</value></item-id></result> 2020-06-18 23:55:23 | contains: true 2020-06-18 23:55:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-18 23:55:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=492 thread=1] DNS entry stored in session object: localhost:5222 2020-06-18 23:55:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=492 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-18 23:55:31 | [Mutex] waiting for: [user_regularvhsxol0205@localhost:message:received:content_jugj8x0210] 2020-06-18 23:55:31 | [Mutex] waiting for: [user_regularvhsxol0205@localhost:message:received:content_jugj8x0210] 2020-06-18 23:55:31 | [Mutex] waiting for: [user_regularvhsxol0205@localhost:message:received:content_jugj8x0210] 2020-06-18 23:55:46 | [Mutex] timeout. Not received [user_regularvhsxol0205@localhost:message:received:content_jugj8x0210] 2020-06-18 23:55:46 | [Mutex] received everything. 2020-06-18 23:55:46 | [Mutex] isItemNotified: user_regularvhsxol0205@localhost:message:received:content_jugj8x0210 :: false 2020-06-18 23:55:46 | [Mutex] isItemNotified: admin@localhost:message:received:content_jugj8x0210 :: true |