Advertisement
jbtao0007

jmeter.properties

May 9th, 2014
1,898
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ################################################################################
  2. # Apache JMeter Property file
  3. ################################################################################
  4.  
  5. ##   Licensed to the Apache Software Foundation (ASF) under one or more
  6. ##   contributor license agreements.  See the NOTICE file distributed with
  7. ##   this work for additional information regarding copyright ownership.
  8. ##   The ASF licenses this file to You under the Apache License, Version 2.0
  9. ##   (the "License"); you may not use this file except in compliance with
  10. ##   the License.  You may obtain a copy of the License at
  11. ##
  12. ##       http://www.apache.org/licenses/LICENSE-2.0
  13. ##
  14. ##   Unless required by applicable law or agreed to in writing, software
  15. ##   distributed under the License is distributed on an "AS IS" BASIS,
  16. ##   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. ##   See the License for the specific language governing permissions and
  18. ##   limitations under the License.
  19.  
  20.  
  21. #Preferred GUI language. Comment out to use the JVM default locale's language.
  22. #language=en
  23.  
  24. # Additional locale(s) to add to the displayed list.
  25. # The current default list is: en, fr, de, no, es, tr, ja, zh_CN, zh_TW, pl, pt_BR
  26. # [see JMeterMenuBar#makeLanguageMenu()]
  27. # The entries are a comma-separated list of language names
  28. #locales.add=zu
  29.  
  30. # Netscape HTTP Cookie file
  31. cookies=cookies
  32.  
  33. #---------------------------------------------------------------------------
  34. # File format configuration for JMX and JTL files
  35. #---------------------------------------------------------------------------
  36.  
  37. # Properties:
  38. # file_format          - affects both JMX and JTL files
  39. # file_format.testplan - affects JMX files only
  40. # file_format.testlog  - affects JTL files only
  41. #
  42. # Possible values are:
  43. # 2.1 - initial format using XStream
  44. # 2.2 - updated format using XStream, with shorter names
  45.  
  46. # N.B. format 2.0 (Avalon) is no longer supported
  47.  
  48. #---------------------------------------------------------------------------
  49. # XML Parser
  50. #---------------------------------------------------------------------------
  51.  
  52. # XML Reader(Parser) - Must implement SAX 2 specs
  53. xml.parser=org.apache.xerces.parsers.SAXParser
  54.  
  55. # Path to a Properties file containing Namespace mapping in the form
  56. # prefix=Namespace
  57. # Example:
  58. # ns=http://biz.aol.com/schema/2006-12-18
  59. #xpath.namespace.config=
  60.  
  61. #---------------------------------------------------------------------------
  62. # SSL configuration
  63. #---------------------------------------------------------------------------
  64.  
  65. ## SSL System properties are now in system.properties
  66.  
  67. # JMeter no longer converts javax.xxx property entries in this file into System properties.
  68. # These must now be defined in the system.properties file or on the command-line.
  69. # The system.properties file gives more flexibility.
  70.  
  71. # By default, SSL session contexts are now created per-thread, rather than being shared.
  72. # The original behaviour can be enabled by setting the JMeter property:
  73. #https.sessioncontext.shared=true
  74.  
  75. # Default HTTPS protocol level:
  76. #https.default.protocol=TLS
  77. # This may need to be changed here (or in user.properties) to:
  78. #https.default.protocol=SSLv3
  79.  
  80. # List of protocols to enable. You may have to select only a subset if you find issues with target server.
  81. # This is needed when server does not support Socket version negotiation, this can lead to:
  82. # javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
  83. # java.net.SocketException: Connection reset
  84. # see https://issues.apache.org/bugzilla/show_bug.cgi?id=54759
  85. #https.socket.protocols=SSLv2Hello SSLv3 TLSv1
  86.  
  87. # Control if we allow reuse of cached SSL context between iterations
  88. # set the value to 'false' to reset the SSL context each iteration
  89. #https.use.cached.ssl.context=true
  90.  
  91. # Start and end index to be used with keystores with many entries
  92. # The default is to use entry 0, i.e. the first
  93. #https.keyStoreStartIndex=0
  94. #https.keyStoreEndIndex=0
  95.  
  96. #---------------------------------------------------------------------------
  97. # Look and Feel configuration
  98. #---------------------------------------------------------------------------
  99.  
  100. #Classname of the Swing default UI
  101. #
  102. # The LAF classnames that are available are now displayed as ToolTip text
  103. # when hovering over the Options/Look and Feel selection list.
  104. #
  105. # You can either use a full class name, as shown above,
  106. # or one of the strings "System" or "CrossPlatform" which means
  107. #  JMeter will use the corresponding string returned by UIManager.get<name>LookAndFeelClassName()
  108.  
  109. # LAF can be overridden by os.name (lowercased, spaces replaced by '_')
  110. # Sample os.name LAF:
  111. #jmeter.laf.windows_xp=javax.swing.plaf.metal.MetalLookAndFeel
  112.  
  113. # Failing that, the OS family = os.name, but only up to first space:
  114. # Sample OS family LAF:
  115. #jmeter.laf.windows=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
  116.  
  117. # Mac apparently looks better with the System LAF
  118. jmeter.laf.mac=System
  119.  
  120. # Failing that, the JMeter default laf can be defined:
  121. #jmeter.laf=System
  122.  
  123. # If none of the above jmeter.laf properties are defined, JMeter uses the CrossPlatform LAF.
  124. # This is because the CrossPlatform LAF generally looks better than the System LAF.
  125. # See https://issues.apache.org/bugzilla/show_bug.cgi?id=52026 for details
  126. # N.B. the laf can be defined in user.properties.
  127.  
  128. # LoggerPanel display
  129. # default to false
  130. #jmeter.loggerpanel.display=false
  131.  
  132. # Error/Fatal Log count display
  133. # defaults to true
  134. #jmeter.errorscounter.display=true
  135.  
  136. # Max characters kept in LoggerPanel, default to 80000 chars
  137. # O means no limit
  138. #jmeter.loggerpanel.maxlength=80000
  139.  
  140. # Toolbar display
  141. # default:
  142. #jmeter.toolbar.display=true
  143. # Toolbar icon definitions
  144. #jmeter.toolbar.icons=org/apache/jmeter/images/toolbar/icons-toolbar.properties
  145. # Toolbar list
  146. #jmeter.toolbar=new,open,close,save,save_as_testplan,|,cut,copy,paste,|,expand,collapse,toggle,|,test_start,test_stop,test_shutdown,|,test_start_remote_all,test_stop_remote_all,test_shutdown_remote_all,|,test_clear,test_clear_all,|,search,search_reset,|,function_helper,help
  147.  
  148. # Icon definitions
  149. # default:
  150. #jmeter.icons=org/apache/jmeter/images/icon.properties
  151. # alternate:
  152. #jmeter.icons=org/apache/jmeter/images/icon_1.properties
  153.  
  154. #Components to not display in JMeter GUI (GUI class name or static label)
  155. # These elements are deprecated: HTML Parameter Mask,HTTP User Parameter Modifier, Webservice (SOAP) Request
  156. not_in_menu=org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui, HTTP User Parameter Modifier, org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui
  157.  
  158. #---------------------------------------------------------------------------
  159. # Remote hosts and RMI configuration
  160. #---------------------------------------------------------------------------
  161.  
  162. # Remote Hosts - comma delimited
  163. remote_hosts=127.0.0.1
  164. #remote_hosts=localhost:1099,localhost:2010
  165.  
  166. # RMI port to be used by the server (must start rmiregistry with same port)
  167. #server_port=1099
  168.  
  169. # To change the port to (say) 1234:
  170. # On the server(s)
  171. # - set server_port=1234
  172. # - start rmiregistry with port 1234
  173. # On Windows this can be done by:
  174. # SET SERVER_PORT=1234
  175. # JMETER-SERVER
  176. #
  177. # On Unix:
  178. # SERVER_PORT=1234 jmeter-server
  179. #
  180. # On the client:
  181. # - set remote_hosts=server:1234
  182.  
  183. # Parameter that controls the RMI port used by the RemoteSampleListenerImpl (The Controler)
  184. # Default value is 0 which means port is randomly assigned
  185. # You may need to open Firewall port on the Controller machine
  186. #client.rmi.localport=0
  187.  
  188. # To change the default port (1099) used to access the server:
  189. #server.rmi.port=1234
  190.  
  191. # To use a specific port for the JMeter server engine, define
  192. # the following property before starting the server:
  193. #server.rmi.localport=4000
  194.  
  195. # From JMeter 2.3.1, the jmeter server creates the RMI registry as part of the server process.
  196. # To stop the server creating the RMI registry:
  197. #server.rmi.create=false
  198.  
  199. # From JMeter 2.3.1, define the following property to cause JMeter to exit after the first test
  200. #server.exitaftertest=true
  201.  
  202. # Prefix used by IncludeController when building file name
  203. #includecontroller.prefix=
  204.  
  205. #---------------------------------------------------------------------------
  206. #         Logging Configuration
  207. #---------------------------------------------------------------------------
  208.  
  209. # Note: JMeter uses Avalon (Excalibur) LogKit
  210.  
  211. # Logging Format
  212. # see http://excalibur.apache.org/apidocs/org/apache/log/format/PatternFormatter.html
  213.  
  214. #
  215. # Default format:
  216. #log_format=%{time:yyyy/MM/dd HH:mm:ss} %5.5{priority} - %{category}: %{message} %{throwable}
  217. # \n is automatically added to the end of the string
  218. #
  219. # Predefined formats in the JMeter LoggingManager:
  220. #log_format_type=default
  221. #log_format_type=thread_prefix
  222. #log_format_type=thread_suffix
  223. # default is as above
  224. # thread_prefix adds the thread name as a prefix to the category
  225. # thread_suffix adds the thread name as a suffix to the category
  226. # Note that thread name is not included by default, as it requires extra processing.
  227. #
  228. # To change the logging format, define either log_format_type or log_format
  229. # If both are defined, the type takes precedence
  230. # Note that these properties cannot be defined using the -J or -D JMeter
  231. # command-line flags, as the format will have already been determined by then
  232. # However, they can be defined as JVM properties
  233.  
  234. #Logging levels for the logging categories in JMeter.  Correct values are FATAL_ERROR, ERROR, WARN, INFO, and DEBUG
  235. # To set the log level for a package or individual class, use:
  236. # log_level.[package_name].[classname]=[PRIORITY_LEVEL]
  237. # But omit "org.apache" from the package name.  The classname is optional.  Further examples below.
  238.  
  239. log_level.jmeter=INFO
  240. log_level.jmeter.junit=DEBUG
  241. #log_level.jmeter.control=DEBUG
  242. #log_level.jmeter.testbeans=DEBUG
  243. #log_level.jmeter.engine=DEBUG
  244. #log_level.jmeter.threads=DEBUG
  245. #log_level.jmeter.gui=WARN
  246. #log_level.jmeter.testelement=DEBUG
  247. #log_level.jmeter.util=WARN
  248. #log_level.jmeter.util.classfinder=WARN
  249. #log_level.jmeter.test=DEBUG
  250. #log_level.jmeter.protocol.http=DEBUG
  251. # For CookieManager, AuthManager etc:
  252. #log_level.jmeter.protocol.http.control=DEBUG
  253. #log_level.jmeter.protocol.ftp=WARN
  254. #log_level.jmeter.protocol.jdbc=DEBUG
  255. #log_level.jmeter.protocol.java=WARN
  256. #log_level.jmeter.testelements.property=DEBUG
  257. log_level.jorphan=INFO
  258.    
  259.  
  260. #Log file for log messages.
  261. # You can specify a different log file for different categories via:
  262. # log_file.[category]=[filename]
  263. # category is equivalent to the package/class names described above
  264.  
  265. # Combined log file (for jmeter and jorphan)
  266. #log_file=jmeter.log
  267. # To redirect logging to standard output, try the following:
  268. # (it will probably report an error, but output will be to stdout)
  269. #log_file=
  270.  
  271. # Or define separate logs if required:
  272. #log_file.jorphan=jorphan.log
  273. #log_file.jmeter=jmeter.log
  274.  
  275. # If the filename contains  paired single-quotes, then the name is processed
  276. # as a SimpleDateFormat format applied to the current date, for example:
  277. #log_file='jmeter_'yyyyMMddHHmmss'.tmp'
  278.  
  279. # N.B. When JMeter starts, it sets the system property:
  280. #    org.apache.commons.logging.Log
  281. # to
  282. #    org.apache.commons.logging.impl.LogKitLogger
  283. # if not already set. This causes Apache and Commons HttpClient to use the same logging as JMeter
  284.  
  285. # Further logging configuration
  286. # Excalibur logging provides the facility to configure logging using
  287. # configuration files written in XML. This allows for such features as
  288. # log file rotation which are not supported directly by JMeter.
  289. #
  290. # If such a file specified, it will be applied to the current logging
  291. # hierarchy when that has been created.
  292. #
  293. #log_config=logkit.xml
  294.  
  295. #---------------------------------------------------------------------------
  296. # HTTP Java configuration
  297. #---------------------------------------------------------------------------
  298.  
  299. # Number of connection retries performed by HTTP Java sampler before giving up
  300. #http.java.sampler.retries=10
  301. # 0 now means don't retry connection (in 2.3 and before it meant no tries at all!)
  302.  
  303. #---------------------------------------------------------------------------
  304. # Commons HTTPClient configuration
  305. #---------------------------------------------------------------------------
  306.  
  307. # define a properties file for overriding Commons HttpClient parameters
  308. # See: http://hc.apache.org/httpclient-3.x/preference-api.html
  309. # Uncomment this line if you put anything in httpclient.parameters file
  310. #httpclient.parameters.file=httpclient.parameters
  311.  
  312.  
  313. # define a properties file for overriding Apache HttpClient parameters
  314. # See: TBA
  315. # Uncomment this line if you put anything in hc.parameters file
  316. #hc.parameters.file=hc.parameters
  317.  
  318. # Following properties apply to both Commons and Apache HttpClient
  319.  
  320. # set the socket timeout (or use the parameter http.socket.timeout)
  321. # Value is in milliseconds
  322. #httpclient.timeout=0
  323. # 0 == no timeout
  324.  
  325. # Set the http version (defaults to 1.1)
  326. #httpclient.version=1.0 (or use the parameter http.protocol.version)
  327.  
  328. # Define characters per second > 0 to emulate slow connections
  329. #httpclient.socket.http.cps=0
  330. #httpclient.socket.https.cps=0
  331.  
  332. #Enable loopback protocol
  333. #httpclient.loopback=true
  334.  
  335. # Define the local host address to be used for multi-homed hosts
  336. #httpclient.localaddress=1.2.3.4
  337.  
  338. # AuthManager Kerberos configuration
  339. # Name of application module used in jaas.conf
  340. #kerberos_jaas_application=JMeter
  341.  
  342. #         Sample logging levels for Commons HttpClient
  343. #
  344. # Commons HttpClient Logging information can be found at:
  345. # http://hc.apache.org/httpclient-3.x/logging.html
  346.  
  347. # Note that full category names are used, i.e. must include the org.apache.
  348. # Info level produces no output:
  349. #log_level.org.apache.commons.httpclient=debug
  350. # Might be useful:
  351. #log_level.org.apache.commons.httpclient.Authenticator=trace
  352.  
  353. # Show headers only
  354. #log_level.httpclient.wire.header=debug
  355.  
  356. # Full wire debug produces a lot of output; consider using separate file:
  357. #log_level.httpclient.wire=debug
  358. #log_file.httpclient=httpclient.log
  359.  
  360.  
  361. #         Apache Commons HttpClient logging examples
  362. #
  363. # Enable header wire + context logging - Best for Debugging
  364. #log_level.org.apache.http=DEBUG
  365. #log_level.org.apache.http.wire=ERROR
  366.  
  367. # Enable full wire + context logging
  368. #log_level.org.apache.http=DEBUG
  369.  
  370. # Enable context logging for connection management
  371. #log_level.org.apache.http.impl.conn=DEBUG
  372.  
  373. # Enable context logging for connection management / request execution
  374. #log_level.org.apache.http.impl.conn=DEBUG
  375. #log_level.org.apache.http.impl.client=DEBUG
  376. #log_level.org.apache.http.client=DEBUG
  377.  
  378. #---------------------------------------------------------------------------
  379. # Apache HttpComponents HTTPClient configuration (HTTPClient4)
  380. #---------------------------------------------------------------------------
  381.  
  382. # Number of retries to attempt (default 0)
  383. #httpclient4.retrycount=0
  384.  
  385. # Number of retries to attempt (default 0)
  386. #httpclient3.retrycount=0
  387.  
  388. #---------------------------------------------------------------------------
  389. # Results file configuration
  390. #---------------------------------------------------------------------------
  391.  
  392. # This section helps determine how result data will be saved.
  393. # The commented out values are the defaults.
  394.  
  395. # legitimate values: xml, csv, db.  Only xml and csv are currently supported.
  396. jmeter.save.saveservice.output_format=csv
  397.  
  398.  
  399. # true when field should be saved; false otherwise
  400.  
  401. # assertion_results_failure_message only affects CSV output
  402. #jmeter.save.saveservice.assertion_results_failure_message=false
  403. #
  404. # legitimate values: none, first, all
  405. #jmeter.save.saveservice.assertion_results=none
  406. #
  407. jmeter.save.saveservice.data_type=false
  408. jmeter.save.saveservice.label=true
  409. jmeter.save.saveservice.response_code=false
  410. # response_data is not currently supported for CSV output
  411. #jmeter.save.saveservice.response_data=false
  412. # Save ResponseData for failed samples
  413. #jmeter.save.saveservice.response_data.on_error=false
  414. jmeter.save.saveservice.response_message=true
  415. jmeter.save.saveservice.successful=true
  416. jmeter.save.saveservice.thread_name=false
  417. jmeter.save.saveservice.time=true
  418. #jmeter.save.saveservice.subresults=true
  419. #jmeter.save.saveservice.assertions=true
  420. jmeter.save.saveservice.latency=false
  421. #jmeter.save.saveservice.samplerData=false
  422. #jmeter.save.saveservice.responseHeaders=false
  423. #jmeter.save.saveservice.requestHeaders=false
  424. #jmeter.save.saveservice.encoding=false
  425. jmeter.save.saveservice.bytes=false
  426. #jmeter.save.saveservice.url=false
  427. #jmeter.save.saveservice.filename=false
  428. #jmeter.save.saveservice.hostname=false
  429. #jmeter.save.saveservice.thread_counts=false
  430. #jmeter.save.saveservice.sample_count=false
  431. #jmeter.save.saveservice.idle_time=false
  432.  
  433. # Timestamp format - this only affects CSV output files
  434. # legitimate values: none, ms, or a format suitable for SimpleDateFormat
  435. jmeter.save.saveservice.timestamp_format=ms
  436. #jmeter.save.saveservice.timestamp_format=yyyy/MM/dd HH:mm:ss.SSS
  437.  
  438. # For use with Comma-separated value (CSV) files or other formats
  439. # where the fields' values are separated by specified delimiters.
  440. # Default:
  441. #jmeter.save.saveservice.default_delimiter=,
  442. # For TAB, since JMeter 2.3 one can use:
  443. #jmeter.save.saveservice.default_delimiter=\t
  444.  
  445. # Only applies to CSV format files:
  446. jmeter.save.saveservice.print_field_names=true
  447.  
  448. # Optional list of JMeter variable names whose values are to be saved in the result data files.
  449. # Use commas to separate the names. For example:
  450. #sample_variables=SESSION_ID,REFERENCE
  451. # N.B. The current implementation saves the values in XML as attributes,
  452. # so the names must be valid XML names.
  453. # Versions of JMeter after 2.3.2 send the variable to all servers
  454. # to ensure that the correct data is available at the client.
  455.  
  456. # Optional xml processing instruction for line 2 of the file:
  457. #jmeter.save.saveservice.xml_pi=<?xml-stylesheet type="text/xsl" href="../extras/jmeter-results-detail-report_21.xsl"?>
  458.  
  459. # Prefix used to identify filenames that are relative to the current base
  460. #jmeter.save.saveservice.base_prefix=~/
  461.  
  462. # AutoFlush on each line written in XML or CSV output
  463. # Setting this to true will result in less test results data loss in case of Crash
  464. # but with impact on performances, particularly for intensive tests (low or no pauses)
  465. # Since JMeter 2.10, this is false by default
  466. #jmeter.save.saveservice.autoflush=false
  467.  
  468. #---------------------------------------------------------------------------
  469. # Settings that affect SampleResults
  470. #---------------------------------------------------------------------------
  471.  
  472. # Save the start time stamp instead of the end
  473. # This also affects the timestamp stored in result files
  474. sampleresult.timestamp.start=true
  475.  
  476. # Whether to use System.nanoTime() - otherwise only use System.currentTimeMillis()
  477. #sampleresult.useNanoTime=true
  478.  
  479. # Use a background thread to calculate the nanoTime offset
  480. # Set this to <= 0 to disable the background thread
  481. #sampleresult.nanoThreadSleep=5000
  482.  
  483. #---------------------------------------------------------------------------
  484. # Upgrade property
  485. #---------------------------------------------------------------------------
  486.  
  487. # File that holds a record of name changes for backward compatibility issues
  488. upgrade_properties=/bin/upgrade.properties
  489.  
  490. #---------------------------------------------------------------------------
  491. # JMeter Test Script recorder configuration
  492. #
  493. # N.B. The element was originally called the Proxy recorder, which is why the
  494. # properties have the prefix "proxy".
  495. #---------------------------------------------------------------------------
  496.  
  497. # If the recorder detects a gap of at least 1s (default) between HTTP requests,
  498. # it assumes that the user has clicked a new URL
  499. #proxy.pause=1000
  500.  
  501. # Add numeric prefix to Sampler names (default false)
  502. #proxy.number.requests=true
  503.  
  504. # List of URL patterns that will be added to URL Patterns to exclude
  505. # Separate multiple lines with ;
  506. #proxy.excludes.suggested=.*\\.(bmp|css|js|gif|ico|jpe?g|png|swf|woff)
  507.  
  508. # Change the default HTTP Sampler (currently HttpClient4)
  509. # Java:
  510. #jmeter.httpsampler=HTTPSampler
  511. #or
  512. #jmeter.httpsampler=Java
  513. #
  514. # Apache HTTPClient:
  515. #jmeter.httpsampler=HTTPSampler2
  516. #or
  517. #jmeter.httpsampler=HttpClient3.1
  518. #
  519. # HttpClient4.x
  520. #jmeter.httpsampler=HttpClient4
  521.  
  522. # By default JMeter tries to be more lenient with RFC2616 redirects and allows
  523. # relative paths.
  524. # If you want to test strict conformance, set this value to true
  525. # When the property is true, JMeter follows http://tools.ietf.org/html/rfc3986#section-5.2
  526. #jmeter.httpclient.strict_rfc2616=false
  527.  
  528. # Default content-type include filter to use
  529. #proxy.content_type_include=text/html|text/plain|text/xml
  530. # Default content-type exclude filter to use
  531. #proxy.content_type_exclude=image/.*|text/css|application/.*
  532.  
  533. # Default headers to remove from Header Manager elements
  534. # (Cookie and Authorization are always removed)
  535. #proxy.headers.remove=If-Modified-Since,If-None-Match,Host
  536.  
  537. # Binary content-type handling
  538. # These content-types will be handled by saving the request in a file:
  539. #proxy.binary.types=application/x-amf,application/x-java-serialized-object
  540. # The files will be saved in this directory:
  541. #proxy.binary.directory=user.dir
  542. # The files will be created with this file filesuffix:
  543. #proxy.binary.filesuffix=.binary
  544.  
  545. #---------------------------------------------------------------------------
  546. # Test Script Recorder certificate configuration
  547. #---------------------------------------------------------------------------
  548.  
  549. #proxy.cert.directory=<JMeter bin directory>
  550. #proxy.cert.file=proxyserver.jks
  551. #proxy.cert.type=JKS
  552. #proxy.cert.keystorepass=password
  553. #proxy.cert.keypassword=password
  554. #proxy.cert.factory=SunX509
  555. # define this property if you wish to use your own keystore
  556. #proxy.cert.alias=<none>
  557. # The default validity for certificates created by JMeter
  558. #proxy.cert.validity=7
  559. # Use dynamic key generation (if supported by JMeter/JVM)
  560. # If false, will revert to using a single key with no certificate
  561. #proxy.cert.dynamic_keys=true
  562.  
  563. #---------------------------------------------------------------------------
  564. # Test Script Recorder miscellaneous configuration
  565. #---------------------------------------------------------------------------
  566.  
  567. # Whether to attempt disabling of samples that resulted from redirects
  568. # where the generated samples use auto-redirection
  569. #proxy.redirect.disabling=true
  570.  
  571. # SSL configuration
  572. #proxy.ssl.protocol=SSLv3
  573.  
  574. #---------------------------------------------------------------------------
  575. # JMeter Proxy configuration
  576. #---------------------------------------------------------------------------
  577. # use command-line flags for user-name and password
  578. #http.proxyDomain=NTLM domain, if required by HTTPClient sampler
  579.  
  580. #---------------------------------------------------------------------------
  581. # HTTPSampleResponse Parser configuration
  582. #---------------------------------------------------------------------------
  583.  
  584. # Space-separated list of parser groups
  585. HTTPResponse.parsers=htmlParser wmlParser
  586. # for each parser, there should be a parser.types and a parser.className property
  587.  
  588. #---------------------------------------------------------------------------
  589. # HTML Parser configuration
  590. #---------------------------------------------------------------------------
  591.  
  592. # Define the HTML parser to be used.
  593. # Default parser:
  594. # This new parser (since 2.10) should perform better than all others
  595. # see https://issues.apache.org/bugzilla/show_bug.cgi?id=55632
  596. #htmlParser.className=org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
  597.  
  598. # Other parsers:
  599. # Default parser before 2.10
  600. #htmlParser.className=org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser
  601. #htmlParser.className=org.apache.jmeter.protocol.http.parser.JTidyHTMLParser
  602. # Note that Regexp extractor may detect references that have been commented out.
  603. # In many cases it will work OK, but you should be aware that it may generate
  604. # additional references.
  605. #htmlParser.className=org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
  606. # This parser is based on JSoup, it should be the most accurate but less performant
  607. # than LagartoBasedHtmlParser
  608. #htmlParser.className=org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
  609.  
  610. htmlParser.types=text/html application/xhtml+xml application/xml text/xml
  611.  
  612. #---------------------------------------------------------------------------
  613. # WML Parser configuration
  614. #---------------------------------------------------------------------------
  615.  
  616. wmlParser.className=org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
  617.  
  618. wmlParser.types=text/vnd.wap.wml
  619.  
  620. #---------------------------------------------------------------------------
  621. # Remote batching configuration
  622. #---------------------------------------------------------------------------
  623. # How is Sample sender implementations configured:
  624. # - true (default) means client configuration will be used
  625. # - false means server configuration will be used
  626. #sample_sender_client_configured=true
  627.  
  628. # Remote batching support
  629. # Since JMeter 2.9, default is MODE_STRIPPED_BATCH, which returns samples in
  630. # batch mode (every 100 samples or every minute by default)
  631. # Note also that MODE_STRIPPED_BATCH strips response data from SampleResult, so if you need it change to
  632. # another mode
  633. # Hold retains samples until end of test (may need lots of memory)
  634. # Batch returns samples in batches
  635. # Statistical returns sample summary statistics
  636. # hold_samples was originally defined as a separate property,
  637. # but can now also be defined using mode=Hold
  638. # mode can also be the class name of an implementation of org.apache.jmeter.samplers.SampleSender
  639. #mode=Standard
  640. #mode=Batch
  641. #mode=Hold
  642. #mode=Statistical
  643. #Set to true to key statistical samples on threadName rather than threadGroup
  644. #key_on_threadname=false
  645. #mode=Stripped
  646. #mode=StrippedBatch
  647. #mode=org.example.load.MySampleSender
  648. #
  649. #num_sample_threshold=100
  650. # Value is in milliseconds
  651. #time_threshold=60000
  652. #
  653. # Asynchronous sender; uses a queue and background worker process to return the samples
  654. #mode=Asynch
  655. # default queue size
  656. #asynch.batch.queue.size=100
  657. # Same as Asynch but strips response data from SampleResult
  658. #mode=StrippedAsynch
  659. #
  660. # DiskStore: as for Hold mode, but serialises the samples to disk, rather than saving in memory
  661. #mode=DiskStore
  662. # Same as DiskStore but strips response data from SampleResult
  663. #mode=StrippedDiskStore
  664. # Note: the mode is currently resolved on the client;
  665. # other properties (e.g. time_threshold) are resolved on the server.
  666.  
  667. # To set the Monitor Health Visualiser buffer size, enter the desired value
  668. # monitor.buffer.size=800
  669.  
  670. #---------------------------------------------------------------------------
  671. # JDBC Request configuration
  672. #---------------------------------------------------------------------------
  673.  
  674. # Max number of PreparedStatements per Connection for PreparedStatement cache
  675. #jdbcsampler.maxopenpreparedstatements=100
  676.  
  677. # String used to indicate a null value
  678. #jdbcsampler.nullmarker=]NULL[
  679.  
  680. #---------------------------------------------------------------------------
  681. # OS Process Sampler configuration
  682. #---------------------------------------------------------------------------
  683. # Polling to see if process has finished its work, used when a timeout is configured on sampler
  684. #os_sampler.poll_for_timeout=100
  685.  
  686. #---------------------------------------------------------------------------
  687. # TCP Sampler configuration
  688. #---------------------------------------------------------------------------
  689.  
  690. # The default handler class
  691. #tcp.handler=TCPClientImpl
  692. #
  693. # eolByte = byte value for end of line
  694. # set this to a value outside the range -128 to +127 to skip eol checking
  695. #tcp.eolByte=1000
  696. #
  697. # TCP Charset, used by org.apache.jmeter.protocol.tcp.sampler.TCPClientImpl
  698. # default to Platform defaults charset as returned by Charset.defaultCharset().name()
  699. #tcp.charset=
  700. #
  701. # status.prefix and suffix = strings that enclose the status response code
  702. #tcp.status.prefix=Status=
  703. #tcp.status.suffix=.
  704. #
  705. # status.properties = property file to convert codes to messages
  706. #tcp.status.properties=mytestfiles/tcpstatus.properties
  707.  
  708. # The length prefix used by LengthPrefixedBinaryTCPClientImpl implementation
  709. # defaults to 2 bytes.
  710. #tcp.binarylength.prefix.length=2
  711.  
  712. #---------------------------------------------------------------------------
  713. # Summariser - Generate Summary Results - configuration (mainly applies to non-GUI mode)
  714. #---------------------------------------------------------------------------
  715. #
  716. # Define the following property to automatically start a summariser with that name
  717. # (applies to non-GUI mode only)
  718. #summariser.name=summary
  719. #
  720. # interval between summaries (in seconds) default 30 seconds
  721. #summariser.interval=30
  722. #
  723. # Write messages to log file
  724. #summariser.log=true
  725. #
  726. # Write messages to System.out
  727. #summariser.out=true
  728.  
  729. #---------------------------------------------------------------------------
  730. # BeanShell configuration
  731. #---------------------------------------------------------------------------
  732.  
  733. # BeanShell Server properties
  734. #
  735. # Define the port number as non-zero to start the http server on that port
  736. #beanshell.server.port=9000
  737. # The telnet server will be started on the next port
  738.  
  739. #
  740. # Define the server initialisation file
  741. beanshell.server.file=../extras/startup.bsh
  742.  
  743. #
  744. # Define a file to be processed at startup
  745. # This is processed using its own interpreter.
  746. #beanshell.init.file=
  747.  
  748. #
  749. # Define the intialisation files for BeanShell Sampler, Function and other BeanShell elements
  750. # N.B. Beanshell test elements do not share interpreters.
  751. #      Each element in each thread has its own interpreter.
  752. #      This is retained between samples.
  753. #beanshell.sampler.init=BeanShellSampler.bshrc
  754. #beanshell.function.init=BeanShellFunction.bshrc
  755. #beanshell.assertion.init=BeanShellAssertion.bshrc
  756. #beanshell.listener.init=etc
  757. #beanshell.postprocessor.init=etc
  758. #beanshell.preprocessor.init=etc
  759. #beanshell.timer.init=etc
  760.  
  761. # The file BeanShellListeners.bshrc contains sample definitions
  762. # of Test and Thread Listeners.
  763.  
  764. #---------------------------------------------------------------------------
  765. # MailerModel configuration
  766. #---------------------------------------------------------------------------
  767.  
  768. # Number of successful samples before a message is sent
  769. #mailer.successlimit=2
  770. #
  771. # Number of failed samples before a message is sent
  772. #mailer.failurelimit=2
  773.  
  774. #---------------------------------------------------------------------------
  775. # CSVRead configuration
  776. #---------------------------------------------------------------------------
  777.  
  778. # CSVRead delimiter setting (default ",")
  779. # Make sure that there are no trailing spaces or tabs after the delimiter
  780. # characters, or these will be included in the list of valid delimiters
  781. #csvread.delimiter=,
  782. #csvread.delimiter=;
  783. #csvread.delimiter=!
  784. #csvread.delimiter=~
  785. # The following line has a tab after the =
  786. #csvread.delimiter=
  787.  
  788. #---------------------------------------------------------------------------
  789. # __time() function configuration
  790. #
  791. # The properties below can be used to redefine the default formats
  792. #---------------------------------------------------------------------------
  793. #time.YMD=yyyyMMdd
  794. #time.HMS=HHmmss
  795. #time.YMDHMS=yyyyMMdd-HHmmss
  796. #time.USER1=
  797. #time.USER2=
  798.  
  799. #---------------------------------------------------------------------------
  800. # CSV DataSet configuration
  801. #---------------------------------------------------------------------------
  802.  
  803. # String to return at EOF (if recycle not used)
  804. #csvdataset.eofstring=<EOF>
  805.  
  806. #---------------------------------------------------------------------------
  807. # LDAP Sampler configuration
  808. #---------------------------------------------------------------------------
  809. # Maximum number of search results returned by a search that will be sorted
  810. # to guarantee a stable ordering (if more results then this limit are retruned
  811. # then no sorting is done). Set to 0 to turn off all sorting, in which case
  812. # "Equals" response assertions will be very likely to fail against search results.
  813. #
  814. #ldapsampler.max_sorted_results=1000
  815.  
  816. # Number of characters to log for each of three sections (starting matching section, diff section,
  817. #   ending matching section where not all sections will appear for all diffs) diff display when an Equals
  818. #   assertion fails. So a value of 100 means a maximum of 300 characters of diff text will be displayed
  819. #   (+ a number of extra characters like "..." and "[[["/"]]]" which are used to decorate it).
  820. #assertion.equals_section_diff_len=100
  821. # test written out to log to signify start/end of diff delta
  822. #assertion.equals_diff_delta_start=[[[
  823. #assertion.equals_diff_delta_end=]]]
  824.  
  825. #---------------------------------------------------------------------------
  826. # Miscellaneous configuration
  827. #---------------------------------------------------------------------------
  828.  
  829. # If defined, then start the mirror server on the port
  830. #mirror.server.port=8081
  831.  
  832. # ORO PatternCacheLRU size
  833. #oro.patterncache.size=1000
  834.  
  835. #TestBeanGui
  836. #
  837. #propertyEditorSearchPath=null
  838.  
  839. # Turn expert mode on/off: expert mode will show expert-mode beans and properties
  840. #jmeter.expertMode=true
  841.  
  842. # Maximum redirects to follow in a single sequence (default 5)
  843. #httpsampler.max_redirects=5
  844. # Maximum frame/iframe nesting depth (default 5)
  845. #httpsampler.max_frame_depth=5
  846. # Maximum await termination timeout (secs) when concurrent download embedded resources (default 60)
  847. #httpsampler.await_termination_timeout=60
  848. # Revert to BUG 51939 behaviour (no separate container for embedded resources) by setting the following false:
  849. #httpsampler.separate.container=true
  850.  
  851. # If embedded resources download fails due to missing resources or other reasons, if this property is true
  852. # Parent sample will not be marked as failed
  853. #httpsampler.ignore_failed_embedded_resources=false
  854.  
  855. # The encoding to be used if none is provided (default ISO-8859-1)
  856. #sampleresult.default.encoding=ISO-8859-1
  857.  
  858. # Network response size calculation method
  859. # Use real size: number of bytes for response body return by webserver
  860. # (i.e. the network bytes received for response)
  861. # if set to false, the (uncompressed) response data size will used (default before 2.5)
  862. # Include headers: add the headers size in real size
  863. #sampleresult.getbytes.body_real_size=true
  864. #sampleresult.getbytes.headers_size=true
  865.  
  866. # CookieManager behaviour - should cookies with null/empty values be deleted?
  867. # Default is true. Use false to revert to original behaviour
  868. #CookieManager.delete_null_cookies=true
  869.  
  870. # CookieManager behaviour - should variable cookies be allowed?
  871. # Default is true. Use false to revert to original behaviour
  872. #CookieManager.allow_variable_cookies=true
  873.  
  874. # CookieManager behaviour - should Cookies be stored as variables?
  875. # Default is false
  876. #CookieManager.save.cookies=false
  877.  
  878. # CookieManager behaviour - prefix to add to cookie name before storing it as a variable
  879. # Default is COOKIE_; to remove the prefix, define it as one or more spaces
  880. #CookieManager.name.prefix=
  881.  
  882. # CookieManager behaviour - check received cookies are valid before storing them?
  883. # Default is true. Use false to revert to previous behaviour
  884. #CookieManager.check.cookies=true
  885.  
  886. # (2.0.3) JMeterThread behaviour has been changed to set the started flag before
  887. # the controllers are initialised. This is so controllers can access variables earlier.
  888. # In case this causes problems, the previous behaviour can be restored by uncommenting
  889. # the following line.
  890. #jmeterthread.startearlier=false
  891.  
  892. # (2.2.1) JMeterThread behaviour has changed so that PostProcessors are run in forward order
  893. # (as they appear in the test plan) rather than reverse order as previously.
  894. # Uncomment the following line to revert to the original behaviour
  895. #jmeterthread.reversePostProcessors=true
  896.  
  897. # (2.2) StandardJMeterEngine behaviour has been changed to notify the listeners after
  898. # the running version is enabled. This is so they can access variables.
  899. # In case this causes problems, the previous behaviour can be restored by uncommenting
  900. # the following line.
  901. #jmeterengine.startlistenerslater=false
  902.  
  903. # Number of milliseconds to wait for a thread to stop
  904. #jmeterengine.threadstop.wait=5000
  905.  
  906. #Whether to invoke System.exit(0) in server exit code after stopping RMI
  907. #jmeterengine.remote.system.exit=false
  908.  
  909. # Whether to call System.exit(1) on failure to stop threads in non-GUI mode.
  910. # This only takes effect if the test was explictly requested to stop.
  911. # If this is disabled, it may be necessary to kill the JVM externally
  912. #jmeterengine.stopfail.system.exit=true
  913.  
  914. # Whether to force call System.exit(0) at end of test in non-GUI mode, even if
  915. # there were no failures and the test was not explicitly asked to stop.
  916. # Without this, the JVM may never exit if there are other threads spawned by
  917. # the test which never exit.
  918. #jmeterengine.force.system.exit=false
  919.  
  920. # How long to pause (in ms) in the daemon thread before reporting that the JVM has failed to exit.
  921. # If the value is <= 0, the JMeter does not start the daemon thread
  922. #jmeter.exit.check.pause=2000
  923.  
  924. # If running non-GUI, then JMeter listens on the following port for a shutdown message.
  925. # To disable, set the port to 1000 or less.
  926. #jmeterengine.nongui.port=4445
  927. #
  928. # If the initial port is busy, keep trying until this port is reached
  929. # (to disable searching, set the value less than or equal to the .port property)
  930. #jmeterengine.nongui.maxport=4455
  931.  
  932. # How often to check for shutdown during ramp-up (milliseconds)
  933. #jmeterthread.rampup.granularity=1000
  934.  
  935. #Should JMeter expand the tree when loading a test plan?
  936. # default value is false since JMeter 2.7
  937. #onload.expandtree=false
  938.  
  939. #JSyntaxTextArea configuration
  940. #jsyntaxtextarea.wrapstyleword=true
  941. #jsyntaxtextarea.linewrap=true
  942. #jsyntaxtextarea.codefolding=true
  943. # Set 0 to disable undo feature in JSyntaxTextArea
  944. #jsyntaxtextarea.maxundos=50
  945.  
  946. # Maximum size of HTML page that can be displayed; default=200 * 1024
  947. # Set to 0 to disable the size check
  948. #view.results.tree.max_size=0
  949.  
  950. # Maximum size of Document that can be parsed by Tika engine; defaut=10 * 1024 * 1024 (10MB)
  951. # Set to 0 to disable the size check
  952. #document.max_size=0
  953.  
  954. #JMS options
  955. # Enable the following property to stop JMS Point-to-Point Sampler from using
  956. # the properties java.naming.security.[principal|credentials] when creating the queue connection
  957. #JMSSampler.useSecurity.properties=false
  958.  
  959. # Set the following value to true in order to skip the delete confirmation dialogue
  960. #confirm.delete.skip=false
  961.  
  962. # Used by Webservice Sampler (SOAP)
  963. # Size of Document Cache
  964. #soap.document_cache=50
  965.  
  966. # Used by JSR223 elements
  967. # Size of compiled scripts cache
  968. #jsr223.compiled_scripts_cache_size=100
  969.  
  970. #---------------------------------------------------------------------------
  971. # Classpath configuration
  972. #---------------------------------------------------------------------------
  973.  
  974. # List of paths (separated by ;) to search for additional JMeter plugin classes,
  975. # for example new GUI elements and samplers.
  976. # A path item can either be a jar file or a directory.
  977. # Any jar file in such a directory will be automatically included,
  978. # jar files in sub directories are ignored.
  979. # The given value is in addition to any jars found in the lib/ext directory.
  980. # Do not use this for utility ir plugin dependecy jars.
  981. #search_paths=/app1/lib;/app2/lib
  982.  
  983. # List of paths that JMeter will search for utility and plugin dependency classes.
  984. # Use your platform path separator to separate multiple paths.
  985. # A path item can either be a jar file or a directory.
  986. # Any jar file in such a directory will be automatically included,
  987. # jar files in sub directories are ignored.
  988. # The given value is in addition to any jars found in the lib directory.
  989. # All entries will be added to the class path of the system class loader
  990. # and also to the path of the JMeter internal loader.
  991. # Paths with spaces may cause problems for the JVM
  992. #user.classpath=../classes;../lib;../app1/jar1.jar;../app2/jar2.jar
  993.  
  994. # List of paths (separated by ;) that JMeter will search for utility
  995. # and plugin dependency classes.
  996. # A path item can either be a jar file or a directory.
  997. # Any jar file in such a directory will be automatically included,
  998. # jar files in sub directories are ignored.
  999. # The given value is in addition to any jars found in the lib directory
  1000. # or given by the user.classpath property.
  1001. # All entries will be added to the path of the JMeter internal loader only.
  1002. # For plugin dependencies using plugin_dependency_paths should be preferred over
  1003. # user.classpath.
  1004. #plugin_dependency_paths=../dependencies/lib;../app1/jar1.jar;../app2/jar2.jar
  1005.  
  1006. # Classpath finder
  1007. # ================
  1008. # The classpath finder currently needs to load every single JMeter class to find
  1009. # the classes it needs.
  1010. # For non-GUI mode, it's only necessary to scan for Function classes, but all classes
  1011. # are still loaded.
  1012. # All current Function classes include ".function." in their name,
  1013. # and none include ".gui." in the name, so the number of unwanted classes loaded can be
  1014. # reduced by checking for these. However, if a valid function class name does not match
  1015. # these restrictions, it will not be loaded. If problems are encountered, then comment
  1016. # or change the following properties:
  1017. classfinder.functions.contain=.functions.
  1018. classfinder.functions.notContain=.gui.
  1019.  
  1020. #---------------------------------------------------------------------------
  1021. # Additional property files to load
  1022. #---------------------------------------------------------------------------
  1023.  
  1024. # Should JMeter automatically load additional JMeter properties?
  1025. # File name to look for (comment to disable)
  1026. user.properties=user.properties
  1027.  
  1028. # Should JMeter automatically load additional system properties?
  1029. # File name to look for (comment to disable)
  1030. system.properties=system.properties
  1031.  
  1032. # Comma separated list of files that contain reference to templates and their description
  1033. # Path must be relative to jmeter root folder
  1034. #template.files=/bin/templates/templates.xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement