Test duration: 45.130s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.696s |
2020-06-22 00:14:45 |
2020-06-22 00:14:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-22 00:14:45 | ------------------------------------ 2020-06-22 00:14:45 | [Mutex] isItemNotified: node_r6cqby0206:exists :: false 2020-06-22 00:14:45 | [Mutex] waiting for: [node_r6cqby0206:create_node] 2020-06-22 00:14:45 | [Mutex] received everything. 2020-06-22 00:14:45 | [Mutex] isItemNotified: node_r6cqby0206:create_node:success :: true 2020-06-22 00:14:45 | [Mutex] waiting for: [node_r6cqby0206:subscribe_node] 2020-06-22 00:14:45 | [Mutex] received everything. 2020-06-22 00:14:45 | [Mutex] isItemNotified: node_r6cqby0206:subscribe_node:success :: true 2020-06-22 00:14:45 | ===== publishing normal message (to online) 2020-06-22 00:14:45 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-22 00:14:45 | command: <data><node>node_r6cqby0206</node><entry><content>content_2kau1a0207</content></entry></data> 2020-06-22 00:14:45 | target: http://localhost:8088 2020-06-22 00:14:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-22 00:14:45 | entity: <data><node>node_r6cqby0206</node><entry><content>content_2kau1a0207</content></entry></data> 2020-06-22 00:14:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Jun 2020 07:14:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-22 00:14:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d9bad6ef-dad8-44cf-81de-346e110d1675</value></item-id></result> 2020-06-22 00:14:45 | contains: true 2020-06-22 00:14:45 | [Mutex] received everything. 2020-06-22 00:14:45 | [Mutex] isItemNotified: user_regularbo7kty0205@localhost:message:received:content_2kau1a0207 :: true 2020-06-22 00:14:45 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-22 00:14:45 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-22 00:14:45 | command: <data><node>node_r6cqby0206</node><expire-at>2020-06-22T07:14:40Z</expire-at><entry><content>content_nk2c3h0208</content></entry></data> 2020-06-22 00:14:45 | target: http://localhost:8088 2020-06-22 00:14:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-22 00:14:45 | entity: <data><node>node_r6cqby0206</node><expire-at>2020-06-22T07:14:40Z</expire-at><entry><content>content_nk2c3h0208</content></entry></data> 2020-06-22 00:14:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Jun 2020 07:14:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-22 00:14:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>920af68d-4b8d-4836-8225-c765088c9cc3</value></item-id></result> 2020-06-22 00:14:45 | contains: true 2020-06-22 00:14:45 | [Mutex] waiting for: [user_regularbo7kty0205@localhost:message:received:content_nk2c3h0208] 2020-06-22 00:15:00 | [Mutex] timeout. Not received [user_regularbo7kty0205@localhost:message:received:content_nk2c3h0208] 2020-06-22 00:15:00 | [Mutex] isItemNotified: user_regularbo7kty0205@localhost:message:received:content_nk2c3h0208 :: false 2020-06-22 00:15:00 | ===== publishing normal message (to offline) 2020-06-22 00:15:00 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-22 00:15:00 | command: <data><node>node_r6cqby0206</node><entry><content>content_3efgc70209</content></entry></data> 2020-06-22 00:15:00 | target: http://localhost:8088 2020-06-22 00:15:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-22 00:15:00 | entity: <data><node>node_r6cqby0206</node><entry><content>content_3efgc70209</content></entry></data> 2020-06-22 00:15:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Jun 2020 07:15:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-22 00:15:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5798076d-96fa-410d-9ec0-5b5875bf73ed</value></item-id></result> 2020-06-22 00:15:00 | contains: true 2020-06-22 00:15:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-22 00:15:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] DNS entry stored in session object: localhost:5222 2020-06-22 00:15:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-22 00:15:06 | [Mutex] waiting for: [user_regularbo7kty0205@localhost:message:received:content_3efgc70209] 2020-06-22 00:15:06 | [Mutex] waiting for: [user_regularbo7kty0205@localhost:message:received:content_3efgc70209] 2020-06-22 00:15:06 | [Mutex] received everything. 2020-06-22 00:15:06 | [Mutex] isItemNotified: user_regularbo7kty0205@localhost:message:received:content_3efgc70209 :: true 2020-06-22 00:15:06 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-22 00:15:06 | [Mutex] received everything. 2020-06-22 00:15:06 | [Mutex] isItemNotified: node_r6cqby0206:subscribe_node:success :: true 2020-06-22 00:15:06 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-22 00:15:06 | command: <data><node>node_r6cqby0206</node><expire-at>2020-06-22T07:15:11Z</expire-at><entry><content>content_e7paws0210</content></entry></data> 2020-06-22 00:15:06 | target: http://localhost:8088 2020-06-22 00:15:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-22 00:15:06 | entity: <data><node>node_r6cqby0206</node><expire-at>2020-06-22T07:15:11Z</expire-at><entry><content>content_e7paws0210</content></entry></data> 2020-06-22 00:15:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Jun 2020 07:15:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-22 00:15:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d29d7a07-7f92-43ef-b75c-06bcde82cc02</value></item-id></result> 2020-06-22 00:15:06 | contains: true 2020-06-22 00:15:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-22 00:15:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=492 thread=1] DNS entry stored in session object: localhost:5222 2020-06-22 00:15:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=492 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-22 00:15:14 | [Mutex] waiting for: [user_regularbo7kty0205@localhost:message:received:content_e7paws0210] 2020-06-22 00:15:14 | [Mutex] waiting for: [user_regularbo7kty0205@localhost:message:received:content_e7paws0210] 2020-06-22 00:15:29 | [Mutex] timeout. Not received [user_regularbo7kty0205@localhost:message:received:content_e7paws0210] 2020-06-22 00:15:29 | [Mutex] received everything. 2020-06-22 00:15:29 | [Mutex] isItemNotified: user_regularbo7kty0205@localhost:message:received:content_e7paws0210 :: false 2020-06-22 00:15:29 | [Mutex] isItemNotified: admin@localhost:message:received:content_e7paws0210 :: true |