#include<iostream> using namespace std; class INT { private: int m_i; public: INT(int i):m_i(i){} // 区分前置和后置自增重载函数的区别是是否有参数,以及参数的个数 // 如果是前置自增,比如++a,因为++符号前面
首先摘抄一段官方文档的话: The following BeanShell variables are set up for use by the script: log - (Logger) - can be used to write to the log filectx - (JMeterContext) - gives access to the contextvars